Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTD.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.0009947/0.0009947, allocations: 109.5 kB / 18.95 MB, free: 1.039 MB / 13.93 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.0009526/0.0009526, allocations: 205.5 kB / 22.25 MB, free: 2.395 MB / 18.57 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 0.9754/0.9754, allocations: 230.6 MB / 256 MB, free: 3.215 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.05192/0.05192, allocations: 16.96 MB / 329.4 MB, free: 14.27 MB / 266.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.HybTest.PCtoTD,fileNamePrefix="PNlib_PNlib_Examples_HybTest_PCtoTD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.PCtoTD,fileNamePrefix="PNlib_PNlib_Examples_HybTest_PCtoTD",fmuType="me_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.001521/0.001521, allocations: 71.89 kB / 461.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09259, allocations: 57.63 MB / 0.5067 GB, free: 3.086 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.002867/0.09546, allocations: 1.813 MB / 0.5085 GB, free: 1.262 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.1717/0.2671, allocations: 1.509 MB / 0.51 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.2674, allocations: 13.41 kB / 0.51 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.2676, allocations: 128.9 kB / 0.5101 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.2679, allocations: 146 kB / 0.5103 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009461/0.2688, allocations: 0.6896 MB / 0.5109 GB, free: 11.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007743/0.2696, allocations: 1.275 MB / 0.5122 GB, free: 10.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2697, allocations: 66.78 kB / 0.5122 GB, free: 10.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.27, allocations: 0.5221 MB / 0.5127 GB, free: 10.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.2703, allocations: 359.2 kB / 0.5131 GB, free: 10.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.2704, allocations: 84.81 kB / 0.5132 GB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.2709, allocations: 0.5426 MB / 0.5137 GB, free: 10.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.271, allocations: 172.9 kB / 0.5139 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.2712, allocations: 315.6 kB / 0.5142 GB, free: 10.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007896/0.272, allocations: 1.141 MB / 0.5153 GB, free: 9.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.272, allocations: 8.109 kB / 0.5153 GB, free: 9.766 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.272, allocations: 0 / 0.5153 GB, free: 9.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.272, allocations: 1.031 kB / 0.5153 GB, free: 9.766 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.00102/0.273, allocations: 1.32 MB / 0.5166 GB, free: 8.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.2731, allocations: 9 kB / 0.5166 GB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.2732, allocations: 124 kB / 0.5167 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.2735, allocations: 145.7 kB / 0.5168 GB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.2738, allocations: 375.2 kB / 0.5172 GB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.61e-05/0.2739, allocations: 223.5 kB / 0.5174 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/0.274, allocations: 77.83 kB / 0.5175 GB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.2754, allocations: 1.753 MB / 0.5192 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2754, allocations: 1.156 kB / 0.5192 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.2754, allocations: 42.28 kB / 0.5192 GB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/0.2755, allocations: 61.2 kB / 0.5193 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.2765, allocations: 1.238 MB / 0.5205 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.2785, allocations: 2.687 MB / 0.5231 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.2793, allocations: 0.9813 MB / 0.5241 GB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/0.28, allocations: 0.8525 MB / 0.5249 GB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/0.2805, allocations: 337.1 kB / 0.5252 GB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007754/0.2813, allocations: 1.112 MB / 0.5263 GB, free: 2.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=71): time 1.563e-06/0.2813, allocations: 0 / 0.5263 GB, free: 2.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.002452/0.2837, allocations: 2.902 MB / 0.5292 GB, free: 1.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.2838, allocations: 0.5928 MB / 0.5297 GB, free: 384 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.2841, allocations: 441.6 kB / 0.5302 GB, free: 132 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.2842, allocations: 64.08 kB / 0.5302 GB, free: 84 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.2844, allocations: 296.1 kB / 0.5305 GB, free: 15.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.2845, allocations: 200.1 kB / 0.5307 GB, free: 15.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.2848, allocations: 230.8 kB / 0.5309 GB, free: 15.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2849, allocations: 372.5 kB / 0.5313 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/0.2855, allocations: 0.7581 MB / 0.532 GB, free: 14.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008367/0.2864, allocations: 1.236 MB / 0.5332 GB, free: 13.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.2885, allocations: 2.48 MB / 0.5356 GB, free: 11.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.2885, allocations: 11.03 kB / 0.5357 GB, free: 11.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001986/0.2905, allocations: 2.166 MB / 0.5378 GB, free: 10.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.2906, allocations: 361.5 kB / 0.5381 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001133/0.2917, allocations: 0.9431 MB / 0.539 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.2918, allocations: 18.09 kB / 0.5391 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.292, allocations: 131.7 kB / 0.5392 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.292, allocations: 24.86 kB / 0.5392 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.2923, allocations: 138.4 kB / 0.5393 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.2924, allocations: 58.44 kB / 0.5394 GB, free: 9.543 MB / 394.7 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 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 P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real 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: 55 * Number of states: 0 () * Number of discrete variables: 115 ($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.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition1,P1.feeding.anytrue,P1.feeding.numtrue,T1.firingCon,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.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,T1.activation.arcWeightIntIn[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.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,T1.active,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 117 * 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.0005498/0.293, allocations: 0.7459 MB / 0.5401 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.2931, allocations: 80.48 kB / 0.5402 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.2948, allocations: 1.847 MB / 0.542 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2948, allocations: 4.469 kB / 0.542 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2948, allocations: 1.188 kB / 0.542 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2948, allocations: 1.219 kB / 0.542 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.2974, allocations: 2.626 MB / 0.5446 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001693/0.2991, allocations: 1.761 MB / 0.5463 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.115e-05/0.2992, allocations: 33.25 kB / 0.5463 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.2992, allocations: 2.594 kB / 0.5463 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.2992, allocations: 35.05 kB / 0.5464 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.2993, allocations: 8.5 kB / 0.5464 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2993, allocations: 1.219 kB / 0.5464 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.3024, allocations: 3.499 MB / 0.5498 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.3024, allocations: 49.89 kB / 0.5498 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3026, allocations: 76.59 kB / 0.5499 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3028, allocations: 64.03 kB / 0.55 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/0.3031, allocations: 318.4 kB / 0.5503 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.3032, allocations: 45.33 kB / 0.5503 GB, free: 2.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004839/0.3037, allocations: 247.5 kB / 0.5505 GB, free: 2.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3037, allocations: 1.094 kB / 0.5505 GB, free: 2.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008533/0.3045, allocations: 313.4 kB / 0.5508 GB, free: 2.051 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.feeding.numtrue,P1.feeding.anytrue,$whenCondition1,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.inPlaces[1].tokenInOut,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.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.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue) * Number of discrete states: 49 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksIn.numtrue,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.disMarksOut.numtrue,P1.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1,P1.feeding.numtrue,P1.feeding.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * 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.003649/0.3082, allocations: 4.29 MB / 0.555 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.3101, allocations: 2.614 MB / 0.5576 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3101, allocations: 0 / 0.5576 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.3111, allocations: 1.606 MB / 0.5592 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.3115, allocations: 99.52 kB / 0.5593 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/0.3192, allocations: 9.563 MB / 0.5686 GB, free: 0.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.3194, allocations: 336.4 kB / 0.5689 GB, free: 408 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000211/0.3196, allocations: 128.4 kB / 0.569 GB, free: 284 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.3198, allocations: 191.3 kB / 0.5692 GB, free: 96 kB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.3198, allocations: 0 / 0.5692 GB, free: 96 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08084/0.4007, allocations: 18.22 MB / 0.587 GB, free: 13.99 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/7.389, allocations: 11.94 kB / 0.587 GB, free: 13.98 MB / 442.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD.pipe >> ../files/PNlib_PNlib.Examples.HybTest.PCtoTD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTD.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat","",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.enablingPrioOut[1],P1.enablingProbOut[1],P1.enablingType,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.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,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 filterSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.diff.mat", vars={"T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.diff.ref.mat", vars={"T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat","",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.enablingPrioOut[1],P1.enablingProbOut[1],P1.enablingType,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.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,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 filterSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.diff.mat", vars={"T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.diff.ref.mat", vars={"T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_HybTest_PCtoTD.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.24681690428406]