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.001301/0.001301, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001468/0.001468, allocations: 216 kB / 22.25 MB, free: 5.125 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.984 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.08538/0.08538, allocations: 16.94 MB / 329.4 MB, free: 2.258 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: "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) [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.002109/0.002109, allocations: 67.89 kB / 459.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1263, allocations: 57.63 MB / 0.5053 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003347/0.1296, allocations: 1.986 MB / 0.5072 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003284/0.1329, allocations: 1.583 MB / 0.5087 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.1332, allocations: 7.938 kB / 0.5088 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.1336, allocations: 142.9 kB / 0.5089 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.1341, allocations: 166.8 kB / 0.509 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.1357, allocations: 0.7112 MB / 0.5097 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.1376, allocations: 1.4 MB / 0.5111 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.1379, allocations: 116 kB / 0.5112 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000764/0.1386, allocations: 0.5726 MB / 0.5118 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008875/0.1395, allocations: 0.5601 MB / 0.5123 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002078/0.1397, allocations: 140 kB / 0.5125 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.1408, allocations: 0.6202 MB / 0.5131 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.1411, allocations: 259 kB / 0.5133 GB, free: 288 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2345/0.3756, allocations: 0.5502 MB / 0.5139 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.3794, allocations: 1.596 MB / 0.5154 GB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.3794, allocations: 0 / 0.5154 GB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3794, allocations: 0.6562 kB / 0.5154 GB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.192e-05/0.3794, allocations: 0 / 0.5154 GB, free: 10.54 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.003209/0.3826, allocations: 1.617 MB / 0.517 GB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3827, allocations: 15.44 kB / 0.517 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.3829, allocations: 176.6 kB / 0.5172 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.3839, allocations: 232 kB / 0.5174 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.3847, allocations: 0.4966 MB / 0.5179 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.3849, allocations: 419.5 kB / 0.5183 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.3851, allocations: 119.5 kB / 0.5184 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/0.3883, allocations: 1.959 MB / 0.5203 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.3884, allocations: 0 / 0.5203 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.3885, allocations: 57.06 kB / 0.5204 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.3887, allocations: 107.9 kB / 0.5205 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.3914, allocations: 1.414 MB / 0.5218 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005261/0.3966, allocations: 3.485 MB / 0.5252 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.3983, allocations: 0.9519 MB / 0.5262 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.3996, allocations: 0.8164 MB / 0.527 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.4007, allocations: 347.5 kB / 0.5273 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/0.4025, allocations: 1.099 MB / 0.5284 GB, free: 5.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 2.715e-06/0.4025, allocations: 4 kB / 0.5284 GB, free: 5.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.005274/0.4078, allocations: 3.364 MB / 0.5317 GB, free: 4.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003362/0.4081, allocations: 0.6619 MB / 0.5323 GB, free: 3.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.4089, allocations: 0.5076 MB / 0.5328 GB, free: 3.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.409, allocations: 72.17 kB / 0.5329 GB, free: 3.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.4093, allocations: 392.7 kB / 0.5333 GB, free: 3.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.4095, allocations: 244.9 kB / 0.5335 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.4099, allocations: 305.2 kB / 0.5338 GB, free: 2.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.41, allocations: 381.5 kB / 0.5341 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009418/0.4109, allocations: 0.5553 MB / 0.5347 GB, free: 2.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.4122, allocations: 1.043 MB / 0.5357 GB, free: 1.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/0.4159, allocations: 3.135 MB / 0.5388 GB, free: 15.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/0.4159, allocations: 4.125 kB / 0.5388 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004078/0.42, allocations: 2.269 MB / 0.541 GB, free: 14.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003043/0.4203, allocations: 377.8 kB / 0.5413 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001925/0.4222, allocations: 1.234 MB / 0.5425 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.359e-05/0.4223, allocations: 20.41 kB / 0.5426 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.4228, allocations: 169.1 kB / 0.5427 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.032e-05/0.4229, allocations: 28.02 kB / 0.5428 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/0.4236, allocations: 171.3 kB / 0.5429 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.4238, allocations: 74.52 kB / 0.543 GB, free: 13.3 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.001431/0.4252, allocations: 0.8986 MB / 0.5439 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.4255, allocations: 100.9 kB / 0.544 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/0.4302, allocations: 2.734 MB / 0.5466 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.4302, allocations: 4.906 kB / 0.5466 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4303, allocations: 5.062 kB / 0.5466 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4303, allocations: 5.391 kB / 0.5467 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00709/0.4374, allocations: 4.077 MB / 0.5506 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004069/0.4414, allocations: 2.661 MB / 0.5532 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.4416, allocations: 45.81 kB / 0.5533 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.4417, allocations: 2.75 kB / 0.5533 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.4418, allocations: 51.59 kB / 0.5533 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.4418, allocations: 2.75 kB / 0.5533 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4418, allocations: 3.5 kB / 0.5533 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006914/0.4487, allocations: 4.112 MB / 0.5573 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.4489, allocations: 67.47 kB / 0.5574 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/0.4492, allocations: 83.92 kB / 0.5575 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.4499, allocations: 103.9 kB / 0.5576 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007066/0.4506, allocations: 375.3 kB / 0.5579 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.4507, allocations: 63.72 kB / 0.558 GB, free: 3.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003916/0.4511, allocations: 291.1 kB / 0.5583 GB, free: 2.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4511, allocations: 0 / 0.5583 GB, free: 2.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001546/0.4527, allocations: 395.4 kB / 0.5587 GB, free: 2.469 MB / 398.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.008178/0.4609, allocations: 4.925 MB / 0.5635 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004036/0.4649, allocations: 2.401 MB / 0.5658 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4649, allocations: 4 kB / 0.5658 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.4674, allocations: 1.641 MB / 0.5674 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/0.4681, allocations: 133.7 kB / 0.5676 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.484, allocations: 9.802 MB / 0.5771 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008002/0.4848, allocations: 1.06 MB / 0.5782 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000534/0.4853, allocations: 194 kB / 0.5783 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.4857, allocations: 267.4 kB / 0.5786 GB, free: 13.28 MB / 430.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4857, allocations: 0 / 0.5786 GB, free: 13.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06572/0.5514, allocations: 23.16 MB / 0.6012 GB, free: 6.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.86, allocations: 13.48 kB / 0.6012 GB, free: 6.121 MB / 446.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.703959016995213]