Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001811, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007142/0.0007142, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009738/0.001688, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08697/1.087, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.0475/0.0475, allocations: 12.66 MB / 256.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007297/0.0548, allocations: 4.691 MB / 261.5 MB, free: 13.55 MB / 266.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.258e-06/1.035e-05, allocations: 2.312 kB / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.001756/0.001766, allocations: 1.804 MB / 264.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.003926, allocations: 1.947 MB / 266.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.004081, allocations: 11.94 kB / 266.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.004371, allocations: 134.9 kB / 266.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.004547, allocations: 139 kB / 266.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.005593, allocations: 0.8806 MB / 267.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.006651, allocations: 1.353 MB / 269.1 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.006798, allocations: 61.05 kB / 269.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007474/0.007546, allocations: 0.8038 MB / 269.9 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.007913, allocations: 279.1 kB / 270.2 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.008005, allocations: 75.94 kB / 270.3 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008272/0.008832, allocations: 0.6551 MB / 270.9 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.008965, allocations: 123.5 kB / 271.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.009174, allocations: 183.7 kB / 271.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009098/0.01008, allocations: 0.8764 MB / 272.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.01009, allocations: 0 / 272.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.01009, allocations: 0 / 272.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.01011, allocations: 0 / 272.1 MB, free: 2.906 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001313/0.01142, allocations: 1.298 MB / 273.4 MB, free: 1.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.01145, allocations: 8.031 kB / 273.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.01176, allocations: 209.9 kB / 273.6 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.0121, allocations: 252.9 kB / 273.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.134e-05/0.01218, allocations: 105 kB / 274 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.01227, allocations: 75.92 kB / 274 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1125/0.1248, allocations: 1.241 MB / 275.3 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1248, allocations: 0.5156 kB / 275.3 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.1248, allocations: 39.94 kB / 275.3 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.897e-05/0.1249, allocations: 51.81 kB / 275.4 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/0.1255, allocations: 0.7091 MB / 276.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.1271, allocations: 2.299 MB / 278.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.1276, allocations: 0.7359 MB / 279.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.1279, allocations: 0.5932 MB / 279.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.128, allocations: 11.23 kB / 279.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006949/0.1287, allocations: 1.004 MB / 280.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 1.673e-06/0.1287, allocations: 2.078 kB / 280.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.001313/0.13, allocations: 1.907 MB / 282.6 MB, free: 3.906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.1301, allocations: 494.8 kB / 283.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1303, allocations: 316 kB / 283.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.1303, allocations: 66.38 kB / 283.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.1304, allocations: 238.4 kB / 283.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1305, allocations: 206.3 kB / 283.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.1307, allocations: 219 kB / 284.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.1308, allocations: 372.9 kB / 284.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.131, allocations: 452.7 kB / 284.9 MB, free: 2.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.1313, allocations: 0.9274 MB / 285.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007932/0.1321, allocations: 1.527 MB / 287.4 MB, free: 240 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.1321, allocations: 2.688 kB / 287.4 MB, free: 240 kB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.0008986/0.133, allocations: 1.267 MB / 288.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.1332, allocations: 335.8 kB / 289 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.1332, allocations: 11.62 kB / 289 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.1332, allocations: 18.17 kB / 289 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.1335, allocations: 176.9 kB / 289.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.83e-05/0.1335, allocations: 25.03 kB / 289.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.1338, allocations: 119.2 kB / 289.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.1338, allocations: 43.52 kB / 289.4 MB, free: 15.12 MB / 282.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer T2.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,P1.inTransition[1].emptied,P1.enableIn.disTransition[1],P1.reStart,P1.inTransition[1].disPlace,T2.outPlaces[1].disTransition,T2.firingCon,$PRE.T2.firingTime,T2.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T2.enabledByInPlaces,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 113 * Array equations: 1 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004749/0.1343, allocations: 0.6572 MB / 290 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.1344, allocations: 108.5 kB / 290.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/0.1353, allocations: 1.06 MB / 291.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.1353, allocations: 5.188 kB / 291.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.1353, allocations: 0.5938 kB / 291.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1353, allocations: 5.812 kB / 291.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.1368, allocations: 1.589 MB / 292.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1368, allocations: 0 / 292.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.617e-05/0.1369, allocations: 30.39 kB / 292.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.137, allocations: 49.45 kB / 292.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.137, allocations: 3.766 kB / 292.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/0.137, allocations: 36.09 kB / 292.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.137, allocations: 8.703 kB / 292.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.137, allocations: 0 / 292.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/0.138, allocations: 1.624 MB / 294.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.1381, allocations: 71.28 kB / 294.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1382, allocations: 52.58 kB / 294.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.1384, allocations: 96.44 kB / 294.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.1384, allocations: 45.84 kB / 294.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.752e-05/0.1385, allocations: 84.34 kB / 294.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1385, allocations: 0 / 294.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005518/0.139, allocations: 329.8 kB / 295.2 MB, free: 12.3 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006544/0.1397, allocations: 432.6 kB / 295.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.1409, allocations: 1.974 MB / 297.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.1409, allocations: 4 kB / 297.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007826/0.1417, allocations: 1.311 MB / 298.9 MB, free: 9.223 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1421, allocations: 344 kB / 299.3 MB, free: 8.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.1439, allocations: 1.634 MB / 300.9 MB, free: 7.316 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.869e-05/0.144, allocations: 156.5 kB / 301.1 MB, free: 7.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.1441, allocations: 71.75 kB / 301.1 MB, free: 7.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.1445, allocations: 279.4 kB / 301.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1445, allocations: 0 / 301.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of Templates: time 0.01354/0.1581, allocations: 12.58 MB / 314 MB, free: 10.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TEnoInput.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & ./PNlib_PNlib.Examples.DisTest.TEnoInput -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9584924140945077]