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.001553/0.001553, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001636/0.001636, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.523/1.523, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.09206/0.09206, allocations: 16.94 MB / 326.5 MB, free: 8.324 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="cs",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.002032/0.002032, allocations: 61.69 kB / 455.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1111, allocations: 57.59 MB / 0.5009 GB, free: 9.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.004045/0.1152, allocations: 1.98 MB / 0.5028 GB, free: 7.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004016/0.1192, allocations: 1.579 MB / 0.5043 GB, free: 6.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.1196, allocations: 11.88 kB / 0.5043 GB, free: 6.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.1201, allocations: 138.9 kB / 0.5045 GB, free: 5.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006617/0.1207, allocations: 174.8 kB / 0.5046 GB, free: 5.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.1227, allocations: 0.6452 MB / 0.5053 GB, free: 5.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.1248, allocations: 1.354 MB / 0.5066 GB, free: 3.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.1252, allocations: 191.4 kB / 0.5068 GB, free: 3.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009829/0.1261, allocations: 0.5686 MB / 0.5073 GB, free: 3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009892/0.1271, allocations: 0.5173 MB / 0.5078 GB, free: 2.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.1275, allocations: 132 kB / 0.508 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009375/0.1284, allocations: 0.515 MB / 0.5085 GB, free: 1.836 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.1287, allocations: 251 kB / 0.5087 GB, free: 1.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006533/0.1294, allocations: 0.5562 MB / 0.5092 GB, free: 1.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.1315, allocations: 1.589 MB / 0.5108 GB, free: 15.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1315, allocations: 0 / 0.5108 GB, free: 15.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1315, allocations: 4 kB / 0.5108 GB, free: 15.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.1315, allocations: 0 / 0.5108 GB, free: 15.43 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.002437/0.1339, allocations: 1.598 MB / 0.5124 GB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.134, allocations: 8.031 kB / 0.5124 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.069e-05/0.1341, allocations: 26.19 kB / 0.5124 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002482/0.1343, allocations: 180.6 kB / 0.5126 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.1355, allocations: 232.2 kB / 0.5128 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.1364, allocations: 0.5452 MB / 0.5133 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/0.1366, allocations: 260.2 kB / 0.5136 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.1369, allocations: 120 kB / 0.5137 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.1403, allocations: 1.959 MB / 0.5156 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.1403, allocations: 0 / 0.5156 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.1405, allocations: 59.97 kB / 0.5156 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/0.1407, allocations: 109.9 kB / 0.5158 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/0.1434, allocations: 1.417 MB / 0.5171 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006347/0.1498, allocations: 3.546 MB / 0.5206 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.1517, allocations: 0.9524 MB / 0.5215 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.1531, allocations: 0.8148 MB / 0.5223 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002781/0.1559, allocations: 3.043 MB / 0.5253 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00191/0.1578, allocations: 1.095 MB / 0.5264 GB, free: 14.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=88): time 4.538e-06/0.1578, allocations: 0 / 0.5264 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.005952/0.1637, allocations: 3.364 MB / 0.5297 GB, free: 10.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005534/0.1643, allocations: 0.6666 MB / 0.5303 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007775/0.1651, allocations: 0.5014 MB / 0.5308 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.1652, allocations: 69.69 kB / 0.5309 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/0.1657, allocations: 404.5 kB / 0.5312 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.166, allocations: 242.2 kB / 0.5315 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/0.1665, allocations: 302.8 kB / 0.5318 GB, free: 8.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.1667, allocations: 386.7 kB / 0.5321 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.1678, allocations: 0.5615 MB / 0.5327 GB, free: 7.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.1692, allocations: 1.03 MB / 0.5337 GB, free: 6.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004409/0.1736, allocations: 3.123 MB / 0.5367 GB, free: 2.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-05/0.1736, allocations: 4 kB / 0.5367 GB, free: 2.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004075/0.1777, allocations: 2.254 MB / 0.5389 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003502/0.1781, allocations: 378.6 kB / 0.5393 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002013/0.1801, allocations: 1.237 MB / 0.5405 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.62e-05/0.1801, allocations: 20 kB / 0.5405 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.1807, allocations: 171.6 kB / 0.5407 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-05/0.1807, allocations: 27.92 kB / 0.5407 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.1815, allocations: 174.9 kB / 0.5409 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.1816, allocations: 72 kB / 0.541 GB, free: 14.42 MB / 414.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.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.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.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],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.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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.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.numtrue,P1.feeding.anytrue,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],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],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,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.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireOut[1],P1.fireIn[1],$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.001433/0.1831, allocations: 0.9059 MB / 0.5418 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.1834, allocations: 91.62 kB / 0.5419 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/0.188, allocations: 2.728 MB / 0.5446 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.188, allocations: 4 kB / 0.5446 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.188, allocations: 0 / 0.5446 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.188, allocations: 4 kB / 0.5446 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006946/0.195, allocations: 4.097 MB / 0.5486 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004355/0.1993, allocations: 2.648 MB / 0.5512 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.1996, allocations: 39.97 kB / 0.5512 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.1996, allocations: 4 kB / 0.5512 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.1997, allocations: 55.97 kB / 0.5513 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1997, allocations: 3.938 kB / 0.5513 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1997, allocations: 7.938 kB / 0.5513 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006925/0.2066, allocations: 4.088 MB / 0.5553 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.2068, allocations: 144.6 kB / 0.5554 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.2071, allocations: 83.98 kB / 0.5555 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006869/0.2078, allocations: 87.91 kB / 0.5556 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006827/0.2084, allocations: 371.7 kB / 0.5559 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.2086, allocations: 59.97 kB / 0.556 GB, free: 14.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004185/0.209, allocations: 299.1 kB / 0.5563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.209, allocations: 0 / 0.5563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001367/0.2104, allocations: 399.3 kB / 0.5567 GB, free: 13.96 MB / 430.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,P1.outTransition[1].tokenInOut,P1.disMarksInOut,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.disTAin[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.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.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.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * 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.008128/0.2185, allocations: 4.925 MB / 0.5615 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004022/0.2225, allocations: 2.391 MB / 0.5638 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.2225, allocations: 384 / 0.5638 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.225, allocations: 1.641 MB / 0.5654 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/0.2258, allocations: 121 kB / 0.5655 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.2426, allocations: 9.806 MB / 0.5751 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009502/0.2435, allocations: 1.056 MB / 0.5761 GB, free: 9.117 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005536/0.2441, allocations: 197.2 kB / 0.5763 GB, free: 8.922 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004343/0.2445, allocations: 267.3 kB / 0.5766 GB, free: 8.66 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2445, allocations: 0 / 0.5766 GB, free: 8.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2997/0.5442, allocations: 22.07 MB / 0.5981 GB, free: 78.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.676/10.22, allocations: 9.906 kB / 0.5981 GB, free: 78.05 MB / 446.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat","/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] "" [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:P1.N,P1.animateMarking,P1.color[1],P1.color[2],P1.color[3],P1.enablingPrioIn[1],P1.enablingPrioOut[1],P1.enablingProbIn[1],P1.enablingProbOut[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxMarks,P1.minMarks,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightIn[1],T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,der(P1.t_),settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time [Calling sys.exit(0), Time elapsed: 13.297132064995822]