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.001039/0.001039, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009482/0.0009482, allocations: 210.6 kB / 22.25 MB, free: 3.566 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.9837/0.9837, 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 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.05014/0.05014, allocations: 16.97 MB / 329.4 MB, free: 1.164 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.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.001365/0.001365, allocations: 75.88 kB / 461.3 MB, free: 26.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07487/0.07624, allocations: 57.63 MB / 0.5068 GB, free: 1.184 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002328/0.07857, allocations: 1.719 MB / 0.5084 GB, free: 15.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.08055, allocations: 1.859 MB / 0.5102 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.08068, allocations: 7.938 kB / 0.5103 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.08095, allocations: 115.1 kB / 0.5104 GB, free: 13.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.08121, allocations: 127.1 kB / 0.5105 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000952/0.08217, allocations: 0.9476 MB / 0.5114 GB, free: 12.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007977/0.08296, allocations: 1.33 MB / 0.5127 GB, free: 11.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.08309, allocations: 52.36 kB / 0.5128 GB, free: 11.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.08341, allocations: 0.5416 MB / 0.5133 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.0837, allocations: 326.4 kB / 0.5136 GB, free: 10.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.08377, allocations: 72 kB / 0.5137 GB, free: 10.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.08425, allocations: 0.585 MB / 0.5142 GB, free: 9.488 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.08437, allocations: 155.3 kB / 0.5144 GB, free: 9.336 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.08478, allocations: 274.8 kB / 0.5147 GB, free: 9.066 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.08548, allocations: 1.063 MB / 0.5157 GB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.08549, allocations: 0 / 0.5157 GB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.08549, allocations: 3.938 kB / 0.5157 GB, free: 7.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.0855, allocations: 0 / 0.5157 GB, free: 7.996 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.001005/0.0865, allocations: 1.147 MB / 0.5168 GB, free: 6.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.08653, allocations: 8.031 kB / 0.5168 GB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.053e-05/0.08663, allocations: 110.7 kB / 0.5169 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.0868, allocations: 88.56 kB / 0.517 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.08717, allocations: 345.1 kB / 0.5173 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.08724, allocations: 100.4 kB / 0.5174 GB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.08731, allocations: 67.94 kB / 0.5175 GB, free: 6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.08851, allocations: 1.552 MB / 0.519 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.08852, allocations: 3.938 kB / 0.519 GB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.08857, allocations: 32 kB / 0.5191 GB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.08861, allocations: 44.97 kB / 0.5191 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/0.0895, allocations: 1.048 MB / 0.5201 GB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.09161, allocations: 2.712 MB / 0.5228 GB, free: 300 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/0.09235, allocations: 0.8669 MB / 0.5236 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/0.09294, allocations: 0.7696 MB / 0.5244 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.09298, allocations: 4.234 kB / 0.5244 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008335/0.09381, allocations: 1.11 MB / 0.5255 GB, free: 13.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 1.293e-06/0.09381, allocations: 0 / 0.5255 GB, free: 13.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=73): time 0.002577/0.09639, allocations: 2.874 MB / 0.5283 GB, free: 10.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/0.09658, allocations: 0.5325 MB / 0.5288 GB, free: 9.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.09684, allocations: 392.1 kB / 0.5292 GB, free: 9.285 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.09689, allocations: 65.69 kB / 0.5292 GB, free: 9.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.097, allocations: 241.3 kB / 0.5294 GB, free: 8.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.09711, allocations: 190.6 kB / 0.5296 GB, free: 8.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.09727, allocations: 202.6 kB / 0.5298 GB, free: 8.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.09737, allocations: 370.8 kB / 0.5302 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.09777, allocations: 0.6007 MB / 0.5308 GB, free: 7.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/0.09833, allocations: 1.043 MB / 0.5318 GB, free: 6.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.09975, allocations: 2.048 MB / 0.5338 GB, free: 3.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.09976, allocations: 4 kB / 0.5338 GB, free: 3.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001555/0.1013, allocations: 1.777 MB / 0.5355 GB, free: 2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.1014, allocations: 319 kB / 0.5358 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-06/0.1014, allocations: 8.812 kB / 0.5358 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1015, allocations: 19.94 kB / 0.5358 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.1016, allocations: 115.7 kB / 0.536 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.1017, allocations: 23.92 kB / 0.536 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1019, allocations: 107.3 kB / 0.5361 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.1019, allocations: 48 kB / 0.5361 GB, free: 1.312 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.0004684/0.1024, allocations: 0.7106 MB / 0.5368 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.1025, allocations: 67.72 kB / 0.5369 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.1041, allocations: 1.91 MB / 0.5388 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1041, allocations: 7.938 kB / 0.5388 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1041, allocations: 0 / 0.5388 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1041, allocations: 3.984 kB / 0.5388 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.1066, allocations: 2.674 MB / 0.5414 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1066, allocations: 3.938 kB / 0.5414 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.1067, allocations: 27.92 kB / 0.5414 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1067, allocations: 0 / 0.5414 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.1067, allocations: 43.97 kB / 0.5414 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1067, allocations: 3.984 kB / 0.5415 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1067, allocations: 4 kB / 0.5415 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.1086, allocations: 2.438 MB / 0.5438 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.1086, allocations: 55.47 kB / 0.5439 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.1087, allocations: 67.98 kB / 0.544 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.1089, allocations: 55.95 kB / 0.544 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.109, allocations: 79.91 kB / 0.5441 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.1091, allocations: 47.97 kB / 0.5441 GB, free: 8.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.1092, allocations: 231 kB / 0.5443 GB, free: 8.531 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1092, allocations: 0 / 0.5443 GB, free: 8.531 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005409/0.1098, allocations: 303.6 kB / 0.5446 GB, free: 8.234 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.002439/0.1122, allocations: 3.247 MB / 0.5478 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.1139, allocations: 2.279 MB / 0.55 GB, free: 2.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1139, allocations: 4.812 kB / 0.55 GB, free: 2.359 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008779/0.1148, allocations: 1.399 MB / 0.5514 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1151, allocations: 106.6 kB / 0.5515 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1558/0.2709, allocations: 8.467 MB / 0.5598 GB, free: 43.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.2711, allocations: 296.2 kB / 0.5601 GB, free: 43.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.2713, allocations: 131 kB / 0.5602 GB, free: 43.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.2715, allocations: 174.5 kB / 0.5604 GB, free: 43.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2715, allocations: 3.312 kB / 0.5604 GB, free: 43.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07739/0.3489, allocations: 16.79 MB / 0.5767 GB, free: 36.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.493, allocations: 9.75 kB / 0.5768 GB, free: 36.63 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.23441641498357]