Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.001414/0.001414, 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.001008/0.001008, allocations: 218.5 kB / 22.25 MB, free: 3.578 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 1/1, allocations: 230.6 MB / 256 MB, free: 9.605 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.05836/0.05836, allocations: 16.96 MB / 329.4 MB, free: 1.105 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.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",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.002031/0.002031, allocations: 75.89 kB / 460.5 MB, free: 27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.08499, allocations: 57.63 MB / 0.506 GB, free: 1.309 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002132/0.08712, allocations: 1.73 MB / 0.5076 GB, free: 15.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.08928, allocations: 1.847 MB / 0.5095 GB, free: 13.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.08945, allocations: 11.94 kB / 0.5095 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.08972, allocations: 115.1 kB / 0.5096 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.09, allocations: 135.1 kB / 0.5097 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.0912, allocations: 0.9398 MB / 0.5106 GB, free: 12.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009111/0.09211, allocations: 1.334 MB / 0.5119 GB, free: 11.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.09224, allocations: 56.34 kB / 0.512 GB, free: 11.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.09261, allocations: 0.5338 MB / 0.5125 GB, free: 10.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.09294, allocations: 326.4 kB / 0.5128 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.09301, allocations: 72 kB / 0.5129 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.09356, allocations: 0.5889 MB / 0.5135 GB, free: 9.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.09368, allocations: 143.3 kB / 0.5136 GB, free: 9.473 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.09387, allocations: 282.8 kB / 0.5139 GB, free: 9.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008093/0.09468, allocations: 1.063 MB / 0.5149 GB, free: 8.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.09469, allocations: 4 kB / 0.5149 GB, free: 8.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09469, allocations: 4 kB / 0.5149 GB, free: 8.121 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.0947, allocations: 0 / 0.5149 GB, free: 8.121 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001082/0.09578, allocations: 1.143 MB / 0.516 GB, free: 6.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.09582, allocations: 8.031 kB / 0.516 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.116e-05/0.09591, allocations: 110.7 kB / 0.5161 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.09609, allocations: 84.55 kB / 0.5162 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.09646, allocations: 349.1 kB / 0.5165 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.678e-05/0.09654, allocations: 104.4 kB / 0.5166 GB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.0966, allocations: 68 kB / 0.5167 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.09784, allocations: 1.552 MB / 0.5182 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.09785, allocations: 0 / 0.5182 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.0979, allocations: 31.98 kB / 0.5183 GB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.09795, allocations: 44.97 kB / 0.5183 GB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009193/0.09887, allocations: 1.044 MB / 0.5193 GB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.1009, allocations: 2.716 MB / 0.522 GB, free: 432 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.1017, allocations: 0.8648 MB / 0.5228 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/0.1023, allocations: 0.7696 MB / 0.5236 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.1023, allocations: 16.17 kB / 0.5236 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008491/0.1032, allocations: 1.099 MB / 0.5247 GB, free: 13.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 1.473e-06/0.1032, allocations: 3.938 kB / 0.5247 GB, free: 13.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=73): time 0.002332/0.1055, allocations: 2.874 MB / 0.5275 GB, free: 10.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.1057, allocations: 0.5325 MB / 0.528 GB, free: 9.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1059, allocations: 392.1 kB / 0.5284 GB, free: 9.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.106, allocations: 61.7 kB / 0.5284 GB, free: 9.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1061, allocations: 241.3 kB / 0.5287 GB, free: 9.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1062, allocations: 198.6 kB / 0.5288 GB, free: 8.914 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.1064, allocations: 202.6 kB / 0.529 GB, free: 8.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.1065, allocations: 366.8 kB / 0.5294 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.1069, allocations: 0.5929 MB / 0.53 GB, free: 7.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.1075, allocations: 1.051 MB / 0.531 GB, free: 6.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.1089, allocations: 2.056 MB / 0.533 GB, free: 4.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.1089, allocations: 0 / 0.533 GB, free: 4.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001352/0.1103, allocations: 1.781 MB / 0.5347 GB, free: 2.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.1104, allocations: 308.9 kB / 0.535 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1104, allocations: 15.98 kB / 0.535 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1104, allocations: 19.94 kB / 0.5351 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.1106, allocations: 107.8 kB / 0.5352 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.1106, allocations: 27.86 kB / 0.5352 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1108, allocations: 107.3 kB / 0.5353 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.1109, allocations: 51.94 kB / 0.5353 GB, free: 1.434 MB / 394.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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 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: 47 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$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,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * 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.00047/0.1113, allocations: 0.6986 MB / 0.536 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.1114, allocations: 71.7 kB / 0.5361 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.1131, allocations: 1.91 MB / 0.538 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1131, allocations: 11.94 kB / 0.538 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1131, allocations: 3.938 kB / 0.538 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1131, allocations: 0 / 0.538 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.1154, allocations: 2.678 MB / 0.5406 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1154, allocations: 3.938 kB / 0.5406 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.1154, allocations: 19.98 kB / 0.5406 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1154, allocations: 4 kB / 0.5406 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.1155, allocations: 35.98 kB / 0.5407 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1155, allocations: 0 / 0.5407 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1155, allocations: 3.984 kB / 0.5407 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.1174, allocations: 2.445 MB / 0.543 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.1175, allocations: 59.45 kB / 0.5431 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.1176, allocations: 63.98 kB / 0.5432 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.1178, allocations: 51.95 kB / 0.5432 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.1179, allocations: 83.91 kB / 0.5433 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/0.1179, allocations: 43.97 kB / 0.5433 GB, free: 8.883 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1181, allocations: 227 kB / 0.5436 GB, free: 8.664 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1181, allocations: 4 kB / 0.5436 GB, free: 8.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005462/0.1186, allocations: 307.6 kB / 0.5438 GB, free: 8.359 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.002532/0.1212, allocations: 3.261 MB / 0.547 GB, free: 4.992 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.1227, allocations: 2.272 MB / 0.5493 GB, free: 2.484 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1227, allocations: 0 / 0.5493 GB, free: 2.484 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000904/0.1236, allocations: 1.403 MB / 0.5506 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1239, allocations: 108.6 kB / 0.5507 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1703/0.2943, allocations: 8.466 MB / 0.559 GB, free: 44.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.2945, allocations: 298 kB / 0.5593 GB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.2948, allocations: 127.6 kB / 0.5594 GB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.295, allocations: 177.9 kB / 0.5596 GB, free: 43.94 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.295, allocations: 0 / 0.5596 GB, free: 43.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/0.4121, allocations: 16.77 MB / 0.5759 GB, free: 36.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.05, allocations: 14.88 kB / 0.576 GB, free: 36.79 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.benefitType,P1.color[1],P1.color[2],P1.color[3],P1.enablingBeneIn[1],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.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,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,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.DisTest.TDtoPD_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.diff.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.benefitType,P1.color[1],P1.color[2],P1.color[3],P1.enablingBeneIn[1],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.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,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,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.DisTest.TDtoPD_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.diff.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TDtoPD_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_DisTest_TDtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.TDtoPD_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.DisTest.TDtoPD_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TDtoPD_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.DisTest.TDtoPD_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_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.DisTest.TDtoPD.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.013050301000476]