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.001872/0.001872, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001971/0.001971, allocations: 221.8 kB / 23.03 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.0846/0.0846, allocations: 16.95 MB / 330.2 MB, free: 2.191 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.002002/0.002002, allocations: 71.89 kB / 460.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1253, allocations: 57.62 MB / 0.5059 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003387/0.1287, allocations: 1.815 MB / 0.5077 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.1319, allocations: 1.513 MB / 0.5092 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.1321, allocations: 15.88 kB / 0.5092 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.1325, allocations: 130.9 kB / 0.5093 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.133, allocations: 178.9 kB / 0.5095 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.1346, allocations: 0.7007 MB / 0.5102 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.1362, allocations: 1.397 MB / 0.5116 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.1365, allocations: 112 kB / 0.5117 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000663/0.1371, allocations: 0.5881 MB / 0.5122 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007474/0.1379, allocations: 0.5524 MB / 0.5128 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.1381, allocations: 132 kB / 0.5129 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.1392, allocations: 0.6203 MB / 0.5135 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.1395, allocations: 255 kB / 0.5137 GB, free: 432 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2347/0.3741, allocations: 484.6 kB / 0.5142 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.3777, allocations: 1.601 MB / 0.5158 GB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.3777, allocations: 0.5938 kB / 0.5158 GB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3777, allocations: 0 / 0.5158 GB, free: 11.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.311e-05/0.3778, allocations: 1.125 kB / 0.5158 GB, free: 11.13 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.004215/0.382, allocations: 1.6 MB / 0.5173 GB, free: 10.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.3821, allocations: 8.719 kB / 0.5173 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.442e-05/0.3821, allocations: 24.81 kB / 0.5174 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002316/0.3823, allocations: 182.9 kB / 0.5175 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.3835, allocations: 235.8 kB / 0.5178 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.3843, allocations: 0.4999 MB / 0.5183 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.3845, allocations: 416.6 kB / 0.5187 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.3847, allocations: 122.1 kB / 0.5188 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004058/0.3888, allocations: 2.589 MB / 0.5213 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.3888, allocations: 1.781 kB / 0.5213 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.3889, allocations: 62.44 kB / 0.5214 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/0.3891, allocations: 103.9 kB / 0.5215 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/0.3921, allocations: 1.824 MB / 0.5232 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005205/0.3973, allocations: 3.19 MB / 0.5264 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.3993, allocations: 1.362 MB / 0.5277 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.401, allocations: 1.225 MB / 0.5289 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.4022, allocations: 352.9 kB / 0.5292 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002309/0.4045, allocations: 1.497 MB / 0.5307 GB, free: 4.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 3.417e-06/0.4045, allocations: 0 / 0.5307 GB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.006311/0.4108, allocations: 4.198 MB / 0.5348 GB, free: 2.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003164/0.4111, allocations: 0.6618 MB / 0.5354 GB, free: 1.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000845/0.412, allocations: 0.5088 MB / 0.5359 GB, free: 1.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.4121, allocations: 73.53 kB / 0.536 GB, free: 1.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.4124, allocations: 387.8 kB / 0.5364 GB, free: 1.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.4126, allocations: 245.5 kB / 0.5366 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/0.413, allocations: 302 kB / 0.5369 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4131, allocations: 386 kB / 0.5373 GB, free: 440 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.4144, allocations: 0.9174 MB / 0.5381 GB, free: 15.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.4162, allocations: 1.519 MB / 0.5396 GB, free: 14.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004703/0.4209, allocations: 3.154 MB / 0.5427 GB, free: 12.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.436e-05/0.421, allocations: 5.188 kB / 0.5427 GB, free: 12.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004442/0.4254, allocations: 2.644 MB / 0.5453 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003676/0.4258, allocations: 378.9 kB / 0.5457 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002433/0.4282, allocations: 1.491 MB / 0.5471 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-05/0.4283, allocations: 21.59 kB / 0.5471 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/0.4291, allocations: 170.3 kB / 0.5473 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-05/0.4292, allocations: 31.22 kB / 0.5473 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.4303, allocations: 169.5 kB / 0.5475 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.4305, allocations: 69.91 kB / 0.5476 GB, free: 9.617 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.002038/0.4325, allocations: 0.9005 MB / 0.5484 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.4329, allocations: 96.27 kB / 0.5485 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005347/0.4382, allocations: 3.097 MB / 0.5516 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.4383, allocations: 4.969 kB / 0.5516 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4383, allocations: 2.062 kB / 0.5516 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4383, allocations: 3.984 kB / 0.5516 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00701/0.4453, allocations: 4.249 MB / 0.5557 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00469/0.45, allocations: 3.025 MB / 0.5587 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.4502, allocations: 40.5 kB / 0.5587 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.4502, allocations: 3.922 kB / 0.5587 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/0.4504, allocations: 52.98 kB / 0.5588 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.4504, allocations: 2.688 kB / 0.5588 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4504, allocations: 4.312 kB / 0.5588 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007798/0.4582, allocations: 4.977 MB / 0.5636 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.4584, allocations: 67.52 kB / 0.5637 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003349/0.4587, allocations: 83.98 kB / 0.5638 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000762/0.4595, allocations: 95.97 kB / 0.5639 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007302/0.4602, allocations: 372.7 kB / 0.5642 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/0.4604, allocations: 61.53 kB / 0.5643 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004375/0.4608, allocations: 295.1 kB / 0.5646 GB, free: 12.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4608, allocations: 0 / 0.5646 GB, free: 12.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00161/0.4624, allocations: 399.2 kB / 0.5649 GB, free: 12.32 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.008936/0.4714, allocations: 5.806 MB / 0.5706 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004629/0.476, allocations: 3.204 MB / 0.5737 GB, free: 2.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.476, allocations: 4 kB / 0.5737 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003042/0.479, allocations: 2.042 MB / 0.5757 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.4803, allocations: 119.8 kB / 0.5759 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/0.501, allocations: 11.72 MB / 0.5873 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/0.5018, allocations: 468.8 kB / 0.5877 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007101/0.5025, allocations: 196.4 kB / 0.5879 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.5029, allocations: 271.3 kB / 0.5882 GB, free: 3.055 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5029, allocations: 0 / 0.5882 GB, free: 3.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06132/0.5643, allocations: 23.55 MB / 0.6112 GB, free: 11.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.32, allocations: 11.16 kB / 0.6112 GB, free: 11.57 MB / 462.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 & /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: 16.331602585036308]