Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.001773/0.001773, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002233/0.002233, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08258/0.08258, allocations: 16.95 MB / 329.4 MB, free: 2.082 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 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.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 71.88 kB / 460.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1282, allocations: 57.63 MB / 0.5057 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003342/0.1315, allocations: 1.805 MB / 0.5074 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.1345, allocations: 1.521 MB / 0.5089 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1347, allocations: 7.938 kB / 0.5089 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.1351, allocations: 138.9 kB / 0.5091 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004651/0.1355, allocations: 178.8 kB / 0.5092 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.137, allocations: 0.6813 MB / 0.5099 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.1385, allocations: 1.396 MB / 0.5113 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.1388, allocations: 123.7 kB / 0.5114 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006338/0.1394, allocations: 0.5686 MB / 0.5119 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006978/0.1401, allocations: 0.5173 MB / 0.5124 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.1404, allocations: 132 kB / 0.5126 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009868/0.1413, allocations: 0.589 MB / 0.5131 GB, free: 244 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2296/0.3709, allocations: 250.2 kB / 0.5134 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000831/0.3717, allocations: 478.7 kB / 0.5138 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.3735, allocations: 1.604 MB / 0.5154 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3735, allocations: 1.594 kB / 0.5154 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3735, allocations: 0 / 0.5154 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3735, allocations: 1.656 kB / 0.5154 GB, free: 10.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001892/0.3754, allocations: 1.605 MB / 0.517 GB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3755, allocations: 9.969 kB / 0.517 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009907/0.3764, allocations: 235.2 kB / 0.5172 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.3772, allocations: 0.4887 MB / 0.5177 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.3774, allocations: 413.9 kB / 0.5181 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.3776, allocations: 125.3 kB / 0.5182 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.3809, allocations: 2.595 MB / 0.5207 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.3809, allocations: 0.5 kB / 0.5207 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.3811, allocations: 57.06 kB / 0.5208 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/0.3812, allocations: 104.5 kB / 0.5209 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.3839, allocations: 1.823 MB / 0.5227 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004562/0.3885, allocations: 3.022 MB / 0.5256 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.3905, allocations: 1.354 MB / 0.5269 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.3921, allocations: 1.227 MB / 0.5281 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.3931, allocations: 346.7 kB / 0.5285 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001756/0.3949, allocations: 1.496 MB / 0.5299 GB, free: 4.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 2.194e-06/0.3949, allocations: 0 / 0.5299 GB, free: 4.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.005648/0.4005, allocations: 4.194 MB / 0.534 GB, free: 2.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002595/0.4008, allocations: 0.6579 MB / 0.5347 GB, free: 1.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.4014, allocations: 487.7 kB / 0.5351 GB, free: 1.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.244e-05/0.4015, allocations: 74.22 kB / 0.5352 GB, free: 1.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.4017, allocations: 394.3 kB / 0.5356 GB, free: 0.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.4019, allocations: 248 kB / 0.5358 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.4023, allocations: 304.9 kB / 0.5361 GB, free: 0.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.4024, allocations: 378.6 kB / 0.5365 GB, free: 248 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.4038, allocations: 0.9235 MB / 0.5374 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.4055, allocations: 1.525 MB / 0.5389 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003896/0.4094, allocations: 3.157 MB / 0.5419 GB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.4094, allocations: 2.938 kB / 0.5419 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003623/0.413, allocations: 2.637 MB / 0.5445 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002819/0.4133, allocations: 379.9 kB / 0.5449 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002003/0.4153, allocations: 1.493 MB / 0.5463 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/0.4153, allocations: 20.91 kB / 0.5464 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.4158, allocations: 164.6 kB / 0.5465 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-05/0.4158, allocations: 29.08 kB / 0.5465 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/0.4165, allocations: 166.1 kB / 0.5467 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.4167, allocations: 73.3 kB / 0.5468 GB, free: 9.477 MB / 398.1 MB Warning: Assuming fixed start value for the following 21 variables: 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.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.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 P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" 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 P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.randNum,$PRE.P1.enableIn.randNum,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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P1.fireIn[1],P1.fireOut[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.active,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.001301/0.418, allocations: 0.8964 MB / 0.5477 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.4182, allocations: 94.97 kB / 0.5477 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/0.423, allocations: 3.09 MB / 0.5508 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.423, allocations: 6.25 kB / 0.5508 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.423, allocations: 0 / 0.5508 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.423, allocations: 5.531 kB / 0.5508 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006488/0.4295, allocations: 4.092 MB / 0.5548 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004369/0.4339, allocations: 3.02 MB / 0.5577 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.4341, allocations: 44.16 kB / 0.5578 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.4341, allocations: 2.406 kB / 0.5578 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.4342, allocations: 54.27 kB / 0.5578 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4342, allocations: 6.75 kB / 0.5578 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4342, allocations: 1.375 kB / 0.5578 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007657/0.4419, allocations: 4.972 MB / 0.5627 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.442, allocations: 55.53 kB / 0.5627 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.4422, allocations: 83.97 kB / 0.5628 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/0.443, allocations: 96.91 kB / 0.5629 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006579/0.4436, allocations: 364.5 kB / 0.5632 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/0.4438, allocations: 62.11 kB / 0.5633 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003176/0.4441, allocations: 251.2 kB / 0.5635 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4441, allocations: 0 / 0.5635 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001403/0.4455, allocations: 415.2 kB / 0.5639 GB, free: 12.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.enableOut.cumEnablingProb[1],P1.enableOut.remTAout[1],P1.enableOut.disTAout[1],P1.enableOut.TEout[1],P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.enableIn.cumEnablingProb[1],P1.enableIn.remTAin[1],P1.enableIn.disTAin[1],P1.enableIn.TEin[1],P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.disMarksInOut,P1.outTransition[1].tokenInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.0008819/0.4464, allocations: 390.9 kB / 0.5643 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00457/0.4509, allocations: 3.198 MB / 0.5674 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4509, allocations: 0 / 0.5674 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002827/0.4538, allocations: 2.051 MB / 0.5694 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.4544, allocations: 97.48 kB / 0.5695 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.4591, allocations: 2.579 MB / 0.5721 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.4597, allocations: 468.6 kB / 0.5725 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005295/0.4602, allocations: 188.6 kB / 0.5727 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.4604, allocations: 47.38 kB / 0.5727 GB, free: 2.965 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4604, allocations: 0 / 0.5727 GB, free: 2.965 MB / 414.1 MB Notification: Performance of Templates: time 0.02975/0.4901, allocations: 16.78 MB / 0.5891 GB, free: 2.156 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & ./PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.482776956632733]