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.001258/0.001258, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.0009642/0.0009642, allocations: 217.2 kB / 22.24 MB, free: 3.727 MB / 13.93 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.9604/0.9604, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] 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.05684/0.05684, allocations: 16.94 MB / 329.4 MB, free: 1.102 MB / 250.7 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: 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.002169/0.002169, allocations: 71.91 kB / 460.5 MB, free: 27.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08546/0.08763, allocations: 57.61 MB / 0.5059 GB, free: 1.324 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.002348/0.08997, allocations: 1.82 MB / 0.5077 GB, free: 15.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.09208, allocations: 1.517 MB / 0.5092 GB, free: 13.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.09223, allocations: 7.938 kB / 0.5092 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.09249, allocations: 138.9 kB / 0.5093 GB, free: 13.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.09284, allocations: 143 kB / 0.5095 GB, free: 13.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.09366, allocations: 0.6894 MB / 0.5101 GB, free: 13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007814/0.09444, allocations: 1.284 MB / 0.5114 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.09458, allocations: 73.12 kB / 0.5115 GB, free: 11.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.09488, allocations: 0.5219 MB / 0.512 GB, free: 11.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.0952, allocations: 362.1 kB / 0.5123 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.09528, allocations: 84 kB / 0.5124 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.09575, allocations: 0.5382 MB / 0.5129 GB, free: 10.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.09588, allocations: 171.2 kB / 0.5131 GB, free: 9.969 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.09608, allocations: 314.6 kB / 0.5134 GB, free: 9.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007449/0.09682, allocations: 1.141 MB / 0.5145 GB, free: 8.516 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09683, allocations: 4 kB / 0.5145 GB, free: 8.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.09683, allocations: 0 / 0.5145 GB, free: 8.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.09684, allocations: 0 / 0.5145 GB, free: 8.512 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.001402/0.09824, allocations: 1.312 MB / 0.5158 GB, free: 7.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.09828, allocations: 8.031 kB / 0.5158 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.09838, allocations: 126.7 kB / 0.5159 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.09873, allocations: 148.4 kB / 0.5161 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.09912, allocations: 372.6 kB / 0.5164 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.09924, allocations: 227.4 kB / 0.5166 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.09932, allocations: 79.98 kB / 0.5167 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.1007, allocations: 1.749 MB / 0.5184 GB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1007, allocations: 7.938 kB / 0.5184 GB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.1008, allocations: 35.98 kB / 0.5185 GB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.185e-05/0.1008, allocations: 61.27 kB / 0.5185 GB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.1019, allocations: 1.242 MB / 0.5197 GB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.1044, allocations: 2.691 MB / 0.5224 GB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008289/0.1053, allocations: 0.9856 MB / 0.5233 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.1059, allocations: 0.858 MB / 0.5242 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/0.1064, allocations: 327.9 kB / 0.5245 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008139/0.1072, allocations: 1.116 MB / 0.5256 GB, free: 12.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 1.643e-06/0.1072, allocations: 0 / 0.5256 GB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.00236/0.1096, allocations: 2.9 MB / 0.5284 GB, free: 9.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/0.1098, allocations: 0.5905 MB / 0.529 GB, free: 8.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.1103, allocations: 441.1 kB / 0.5294 GB, free: 8.258 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.1104, allocations: 61.7 kB / 0.5295 GB, free: 8.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1105, allocations: 288.7 kB / 0.5297 GB, free: 7.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1106, allocations: 198.6 kB / 0.5299 GB, free: 7.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.1108, allocations: 230.6 kB / 0.5301 GB, free: 7.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.1109, allocations: 370.8 kB / 0.5305 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.1114, allocations: 0.7624 MB / 0.5312 GB, free: 6.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007295/0.1122, allocations: 1.23 MB / 0.5324 GB, free: 4.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.1139, allocations: 2.49 MB / 0.5349 GB, free: 1.961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.114, allocations: 4 kB / 0.5349 GB, free: 1.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001996/0.116, allocations: 2.167 MB / 0.537 GB, free: 15.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.1161, allocations: 362.7 kB / 0.5373 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000807/0.1169, allocations: 0.9507 MB / 0.5383 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.117, allocations: 16 kB / 0.5383 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1172, allocations: 131.7 kB / 0.5384 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.1172, allocations: 27.86 kB / 0.5384 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.1174, allocations: 131.3 kB / 0.5386 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.1175, allocations: 59.98 kB / 0.5386 GB, free: 13.87 MB / 410.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.000525/0.118, allocations: 0.741 MB / 0.5393 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1181, allocations: 79.78 kB / 0.5394 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.1199, allocations: 1.846 MB / 0.5412 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1199, allocations: 4 kB / 0.5412 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1199, allocations: 0 / 0.5412 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1199, allocations: 0 / 0.5412 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.1226, allocations: 2.63 MB / 0.5438 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001531/0.1241, allocations: 1.759 MB / 0.5455 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.392e-05/0.1242, allocations: 31.91 kB / 0.5455 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1242, allocations: 7.938 kB / 0.5455 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.1243, allocations: 35.98 kB / 0.5456 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1243, allocations: 0 / 0.5456 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1243, allocations: 8 kB / 0.5456 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.1272, allocations: 3.501 MB / 0.549 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.1272, allocations: 51.58 kB / 0.5491 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.1273, allocations: 75.95 kB / 0.5491 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1275, allocations: 68 kB / 0.5492 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005948/0.1281, allocations: 311.6 kB / 0.5495 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.1282, allocations: 39.98 kB / 0.5495 GB, free: 2.176 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.1284, allocations: 251.2 kB / 0.5498 GB, free: 1.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1284, allocations: 0 / 0.5498 GB, free: 1.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006149/0.129, allocations: 311.5 kB / 0.5501 GB, free: 1.625 MB / 410.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.1888/0.3178, allocations: 4.292 MB / 0.5543 GB, free: 47.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.3196, allocations: 2.601 MB / 0.5568 GB, free: 45.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3196, allocations: 4.625 kB / 0.5568 GB, free: 45.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009604/0.3206, allocations: 1.603 MB / 0.5584 GB, free: 44.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.321, allocations: 98.97 kB / 0.5585 GB, free: 44.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007575/0.3286, allocations: 9.556 MB / 0.5678 GB, free: 37.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3289, allocations: 336 kB / 0.5681 GB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.3291, allocations: 125.2 kB / 0.5682 GB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.3293, allocations: 193.7 kB / 0.5684 GB, free: 37.71 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3293, allocations: 0 / 0.5684 GB, free: 37.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08185/0.4111, allocations: 18.23 MB / 0.5862 GB, free: 25.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.909, allocations: 13.77 kB / 0.5862 GB, free: 25.46 MB / 410.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] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.89376506395638]