Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPC.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.0009827/0.0009827, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001474/0.001474, allocations: 216.7 kB / 22.25 MB, free: 3.57 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.9665/0.9665, allocations: 230.6 MB / 256 MB, free: 9.613 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.0636/0.0636, allocations: 16.93 MB / 329.4 MB, free: 1.215 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.TDtoPC,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPC",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPC,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPC",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.001421/0.001421, allocations: 71.89 kB / 460.5 MB, free: 27.03 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07555/0.07698, allocations: 57.64 MB / 0.506 GB, free: 1.34 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.002147/0.07912, allocations: 1.806 MB / 0.5077 GB, free: 15.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.08114, allocations: 1.509 MB / 0.5092 GB, free: 14.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.08129, allocations: 11.94 kB / 0.5092 GB, free: 14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.08155, allocations: 127 kB / 0.5093 GB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.08188, allocations: 151 kB / 0.5095 GB, free: 13.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009042/0.08278, allocations: 0.6886 MB / 0.5101 GB, free: 13.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008374/0.08362, allocations: 1.276 MB / 0.5114 GB, free: 11.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.08376, allocations: 72.28 kB / 0.5115 GB, free: 11.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.0841, allocations: 0.5064 MB / 0.5119 GB, free: 11.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.08446, allocations: 346.2 kB / 0.5123 GB, free: 10.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.875e-05/0.08454, allocations: 72 kB / 0.5123 GB, free: 10.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.08515, allocations: 0.5226 MB / 0.5129 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.08529, allocations: 163.3 kB / 0.513 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.08549, allocations: 286.7 kB / 0.5133 GB, free: 9.805 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007969/0.08628, allocations: 1.032 MB / 0.5143 GB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.08629, allocations: 0 / 0.5143 GB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.08629, allocations: 4 kB / 0.5143 GB, free: 8.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.0863, allocations: 4 kB / 0.5143 GB, free: 8.762 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001315/0.08761, allocations: 1.25 MB / 0.5155 GB, free: 7.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.08766, allocations: 12.03 kB / 0.5155 GB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002709/0.08793, allocations: 118.7 kB / 0.5156 GB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005602/0.08849, allocations: 144.4 kB / 0.5158 GB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.08905, allocations: 352.9 kB / 0.5161 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.08923, allocations: 215.5 kB / 0.5163 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.08934, allocations: 68 kB / 0.5164 GB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.09118, allocations: 1.579 MB / 0.5179 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.09119, allocations: 0 / 0.5179 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.09124, allocations: 35.98 kB / 0.518 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/0.0913, allocations: 56.95 kB / 0.518 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.09232, allocations: 1.1 MB / 0.5191 GB, free: 3.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.09461, allocations: 2.471 MB / 0.5215 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008121/0.09542, allocations: 0.8903 MB / 0.5224 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008394/0.09626, allocations: 0.776 MB / 0.5231 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/0.09685, allocations: 340.1 kB / 0.5235 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008163/0.09767, allocations: 1.015 MB / 0.5245 GB, free: 13.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 2.495e-06/0.09767, allocations: 0 / 0.5245 GB, free: 13.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.00235/0.1, allocations: 2.656 MB / 0.527 GB, free: 10.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/0.1002, allocations: 0.5788 MB / 0.5276 GB, free: 10.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.1006, allocations: 388.3 kB / 0.528 GB, free: 9.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.1006, allocations: 69.62 kB / 0.528 GB, free: 9.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1008, allocations: 269 kB / 0.5283 GB, free: 9.402 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.1009, allocations: 190.6 kB / 0.5285 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.1011, allocations: 206.6 kB / 0.5287 GB, free: 9.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.1012, allocations: 370.7 kB / 0.529 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.1018, allocations: 0.6414 MB / 0.5297 GB, free: 7.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/0.1024, allocations: 1.067 MB / 0.5307 GB, free: 6.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.104, allocations: 2.13 MB / 0.5328 GB, free: 4.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.104, allocations: 4 kB / 0.5328 GB, free: 4.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001469/0.1055, allocations: 1.874 MB / 0.5346 GB, free: 2.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.1056, allocations: 346.7 kB / 0.535 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007346/0.1064, allocations: 0.7106 MB / 0.5356 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.1064, allocations: 16 kB / 0.5357 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1066, allocations: 115.8 kB / 0.5358 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.1066, allocations: 23.88 kB / 0.5358 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.1069, allocations: 119.2 kB / 0.5359 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.107, allocations: 52 kB / 0.536 GB, free: 0.6602 MB / 394.7 MB Warning: Assuming fixed start value for the following 21 variables: 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 P1.enableOut.Index:DISCRETE(fixed = true protected = true ) 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.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.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.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: 48 * Number of states: 0 () * Number of discrete variables: 108 ($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],$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$whenCondition1,P1.emptying.anytrue,P1.emptying.numtrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,$PRE.P1.enableIn.TEin[1],$PRE.T1.firingTime,T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.fireIn[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.active,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 107 * 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.0007082/0.1077, allocations: 0.7064 MB / 0.5366 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.1078, allocations: 79.66 kB / 0.5367 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.1094, allocations: 1.666 MB / 0.5383 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1094, allocations: 4 kB / 0.5384 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1094, allocations: 0 / 0.5384 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1094, allocations: 7.984 kB / 0.5384 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.1117, allocations: 2.42 MB / 0.5407 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001336/0.1131, allocations: 1.599 MB / 0.5423 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.453e-05/0.1132, allocations: 27.98 kB / 0.5423 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.1132, allocations: 0 / 0.5423 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/0.1132, allocations: 39.97 kB / 0.5424 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1132, allocations: 3.938 kB / 0.5424 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1132, allocations: 7.938 kB / 0.5424 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.116, allocations: 3.224 MB / 0.5455 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.1161, allocations: 55.56 kB / 0.5456 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.1162, allocations: 63.98 kB / 0.5456 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.1164, allocations: 55.89 kB / 0.5457 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.1166, allocations: 91.89 kB / 0.5458 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.1166, allocations: 40.05 kB / 0.5458 GB, free: 6.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002125/0.1168, allocations: 235 kB / 0.546 GB, free: 5.836 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1168, allocations: 0 / 0.546 GB, free: 5.836 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008215/0.1177, allocations: 283.6 kB / 0.5463 GB, free: 5.559 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.emptying.numtrue,P1.emptying.anytrue,$whenCondition1,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[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.feeding.numtrue,P1.feeding.anytrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.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.003672/0.1213, allocations: 4.018 MB / 0.5502 GB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.171/0.2924, allocations: 2.385 MB / 0.5526 GB, free: 48.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.2924, allocations: 1.188 kB / 0.5526 GB, free: 48.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.2936, allocations: 1.482 MB / 0.554 GB, free: 47.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.294, allocations: 87.69 kB / 0.5541 GB, free: 47.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007106/0.3011, allocations: 8.762 MB / 0.5626 GB, free: 41.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3014, allocations: 315.5 kB / 0.5629 GB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.3017, allocations: 116.8 kB / 0.5631 GB, free: 41.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3018, allocations: 182.7 kB / 0.5632 GB, free: 41.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3018, allocations: 0 / 0.5632 GB, free: 41.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09202/0.3938, allocations: 16.22 MB / 0.5791 GB, free: 33.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.101, allocations: 10.53 kB / 0.5791 GB, free: 33.18 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TDtoPC.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPC_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPC.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.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.TDtoPC_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.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.enablingPrioIn[1],P1.enablingProbIn[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.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,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 filterSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.diff.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.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.enablingPrioIn[1],P1.enablingProbIn[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.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,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 filterSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.diff.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.TDtoPC_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_TDtoPC.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.HybTest.TDtoPC_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.TDtoPC_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.TDtoPC_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.TDtoPC_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_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.TDtoPC.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.058619176968932]