Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.0007727/0.0007727, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.001944, 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.0007441/0.0007441, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001754, 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.049/1.049, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08889/1.138, 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.06576/0.06576, allocations: 12.66 MB / 256.8 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008966/0.07473, allocations: 4.695 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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.201e-05, allocations: 6.312 kB / 262.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.00242/0.002442, allocations: 1.797 MB / 264.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.005099, allocations: 1.913 MB / 266.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.00537, allocations: 7.938 kB / 266.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.005621, allocations: 115.1 kB / 266.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.005911, allocations: 142.9 kB / 266.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.007368, allocations: 0.869 MB / 267.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.008684, allocations: 1.338 MB / 269 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.008853, allocations: 64.98 kB / 269 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007924/0.009646, allocations: 0.7921 MB / 269.8 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.01011, allocations: 283.1 kB / 270.1 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.951e-05/0.01021, allocations: 72 kB / 270.2 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008722/0.01108, allocations: 0.6122 MB / 270.8 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.01123, allocations: 123.4 kB / 270.9 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.01142, allocations: 191.5 kB / 271.1 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.01247, allocations: 0.8336 MB / 271.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.394e-05/0.01248, allocations: 0 / 271.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01248, allocations: 0 / 271.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.0125, allocations: 4 kB / 271.9 MB, free: 3.062 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00151/0.01401, allocations: 1.246 MB / 273.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.01404, allocations: 15.98 kB / 273.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.01433, allocations: 209.9 kB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.01467, allocations: 252.9 kB / 273.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.01475, allocations: 104.9 kB / 273.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.01482, allocations: 75.94 kB / 273.8 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1416/0.1564, allocations: 1.18 MB / 275 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.1564, allocations: 1.219 kB / 275 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/0.1565, allocations: 32.53 kB / 275 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.832e-05/0.1566, allocations: 43.56 kB / 275.1 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009415/0.1575, allocations: 0.6886 MB / 275.8 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.16, allocations: 2.263 MB / 278 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.1606, allocations: 0.7309 MB / 278.8 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.161, allocations: 0.5672 MB / 279.3 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.226e-05/0.1611, allocations: 10.16 kB / 279.3 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008176/0.1619, allocations: 0.9299 MB / 280.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.705e-06/0.1619, allocations: 0.8438 kB / 280.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001594/0.1635, allocations: 1.822 MB / 282.1 MB, free: 4.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.1637, allocations: 384.9 kB / 282.5 MB, free: 4.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.1639, allocations: 309.5 kB / 282.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.164, allocations: 61.34 kB / 282.8 MB, free: 3.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1641, allocations: 230.3 kB / 283.1 MB, free: 3.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.1642, allocations: 196 kB / 283.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.1644, allocations: 201.9 kB / 283.5 MB, free: 3.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.1645, allocations: 372.9 kB / 283.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.1648, allocations: 416.1 kB / 284.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.1652, allocations: 0.8162 MB / 285 MB, free: 2.258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009988/0.1662, allocations: 1.438 MB / 286.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.1662, allocations: 3.562 kB / 286.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0009616/0.1672, allocations: 1.175 MB / 287.7 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.1673, allocations: 309.5 kB / 288 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.1673, allocations: 11.86 kB / 288 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.225e-05/0.1673, allocations: 17.88 kB / 288 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.1677, allocations: 169.6 kB / 288.2 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.1677, allocations: 22.55 kB / 288.2 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.168, allocations: 100.5 kB / 288.3 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.1681, allocations: 40.7 kB / 288.3 MB, free: 172 kB / 266.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 T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.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 T1.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: 46 * Number of states: 0 () * Number of discrete variables: 115 ($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,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,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,T1.outPlaces[1].disTransition,T1.firingCon,$PRE.T1.firingTime,T1.activation.disPlaceOut[1],T1.enabledByInPlaces,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 10 * 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.0005932/0.1687, allocations: 0.6402 MB / 289 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.1688, allocations: 103.4 kB / 289.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009373/0.1697, allocations: 0.9892 MB / 290 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1698, allocations: 5.484 kB / 290 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1698, allocations: 0 / 290 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1698, allocations: 2.469 kB / 290 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.1719, allocations: 1.528 MB / 291.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1719, allocations: 4.891 kB / 291.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.172, allocations: 38.84 kB / 291.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.1721, allocations: 42.16 kB / 291.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.1721, allocations: 2.781 kB / 291.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.1721, allocations: 34.47 kB / 291.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1721, allocations: 2.281 kB / 291.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.1722, allocations: 5.766 kB / 291.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.1733, allocations: 1.557 MB / 293.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.1734, allocations: 70.14 kB / 293.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.1736, allocations: 59.17 kB / 293.4 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.1738, allocations: 80.66 kB / 293.5 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.1738, allocations: 45.72 kB / 293.5 MB, free: 13.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.1739, allocations: 82.31 kB / 293.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1739, allocations: 0 / 293.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008395/0.1747, allocations: 313.1 kB / 293.9 MB, free: 13.6 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: 67 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,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.arcWeight[1],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,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,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): 25 * Array equations: 0 * Algorithm blocks: 8 * 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.000655/0.1754, allocations: 424.8 kB / 294.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.1766, allocations: 1.842 MB / 296.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/0.1767, allocations: 7 kB / 296.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.1774, allocations: 1.212 MB / 297.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.1778, allocations: 336.5 kB / 297.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1798, allocations: 1.599 MB / 299.3 MB, free: 9.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.1799, allocations: 149.9 kB / 299.4 MB, free: 8.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.1801, allocations: 65.84 kB / 299.5 MB, free: 8.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.1805, allocations: 280.4 kB / 299.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of SimCode: time 1.512e-06/0.1805, allocations: 0 / 299.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of Templates: time 0.01616/0.1967, allocations: 12.05 MB / 311.8 MB, free: 12.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.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: 3.150235344655812]