Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.000928/0.000928, allocations: 109.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.0009339/0.0009339, allocations: 217.3 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 0.9814/0.9814, 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 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.05336/0.05336, allocations: 16.96 MB / 329.4 MB, free: 1.25 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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.001422/0.001422, allocations: 72.16 kB / 461.3 MB, free: 26.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07974, allocations: 57.64 MB / 0.5067 GB, free: 1.188 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002288/0.08203, allocations: 1.723 MB / 0.5084 GB, free: 15.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.08415, allocations: 1.855 MB / 0.5102 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.08433, allocations: 7.938 kB / 0.5103 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.08461, allocations: 111.1 kB / 0.5104 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.0849, allocations: 143 kB / 0.5105 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.08609, allocations: 0.9359 MB / 0.5114 GB, free: 12.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009852/0.08707, allocations: 1.342 MB / 0.5127 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.08721, allocations: 73.11 kB / 0.5128 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.08763, allocations: 0.5494 MB / 0.5133 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.088, allocations: 358.2 kB / 0.5137 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.625e-05/0.08808, allocations: 92 kB / 0.5138 GB, free: 9.988 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008392/0.08892, allocations: 0.6045 MB / 0.5143 GB, free: 9.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.08907, allocations: 159.3 kB / 0.5145 GB, free: 9.227 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.08931, allocations: 330.7 kB / 0.5148 GB, free: 8.902 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.09022, allocations: 1.195 MB / 0.516 GB, free: 7.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09022, allocations: 0 / 0.516 GB, free: 7.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09022, allocations: 0 / 0.516 GB, free: 7.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.09024, allocations: 0 / 0.516 GB, free: 7.703 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001225/0.09146, allocations: 1.218 MB / 0.5172 GB, free: 6.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.0915, allocations: 12.03 kB / 0.5172 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.0916, allocations: 122.7 kB / 0.5173 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.0918, allocations: 92.5 kB / 0.5174 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.09221, allocations: 376.8 kB / 0.5177 GB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.0923, allocations: 116.7 kB / 0.5179 GB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.09237, allocations: 75.98 kB / 0.5179 GB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.0938, allocations: 1.789 MB / 0.5197 GB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.09381, allocations: 11.94 kB / 0.5197 GB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.09387, allocations: 39.97 kB / 0.5197 GB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-05/0.09393, allocations: 56.94 kB / 0.5198 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.09528, allocations: 1.255 MB / 0.521 GB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.09758, allocations: 3.016 MB / 0.5239 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009014/0.09848, allocations: 1.061 MB / 0.525 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007179/0.09919, allocations: 0.9373 MB / 0.5259 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.09923, allocations: 8 kB / 0.5259 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.1002, allocations: 1.32 MB / 0.5272 GB, free: 11.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 1.774e-06/0.1002, allocations: 0 / 0.5272 GB, free: 11.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.003089/0.1033, allocations: 3.427 MB / 0.5305 GB, free: 7.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/0.1035, allocations: 0.5309 MB / 0.5311 GB, free: 7.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1038, allocations: 425.2 kB / 0.5315 GB, free: 6.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.1039, allocations: 69.69 kB / 0.5315 GB, free: 6.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.104, allocations: 261 kB / 0.5318 GB, free: 6.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.1041, allocations: 206.6 kB / 0.532 GB, free: 6.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.1043, allocations: 234.5 kB / 0.5322 GB, free: 6.137 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.1044, allocations: 374.7 kB / 0.5326 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/0.1049, allocations: 0.7491 MB / 0.5333 GB, free: 4.953 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/0.1056, allocations: 1.201 MB / 0.5345 GB, free: 3.508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.1077, allocations: 2.563 MB / 0.537 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.1077, allocations: 4 kB / 0.537 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001692/0.1094, allocations: 2.17 MB / 0.5391 GB, free: 14.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.1095, allocations: 333 kB / 0.5394 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1095, allocations: 12 kB / 0.5394 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1096, allocations: 16.97 kB / 0.5394 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1098, allocations: 123.7 kB / 0.5396 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.1098, allocations: 31.92 kB / 0.5396 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.11, allocations: 127.3 kB / 0.5397 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.1101, allocations: 59.92 kB / 0.5398 GB, free: 13.55 MB / 410.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * 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.0005109/0.1106, allocations: 0.7466 MB / 0.5405 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.1107, allocations: 75.67 kB / 0.5406 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.1129, allocations: 2.39 MB / 0.5429 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.1129, allocations: 7.984 kB / 0.5429 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1129, allocations: 0 / 0.5429 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1129, allocations: 0 / 0.5429 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.1157, allocations: 3.242 MB / 0.5461 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1157, allocations: 0 / 0.5461 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.1158, allocations: 35.86 kB / 0.5461 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1158, allocations: 0 / 0.5461 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/0.1158, allocations: 51.94 kB / 0.5462 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1158, allocations: 11.92 kB / 0.5462 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1158, allocations: 0 / 0.5462 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.1183, allocations: 2.857 MB / 0.549 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.1184, allocations: 55.55 kB / 0.549 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.1185, allocations: 79.97 kB / 0.5491 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1187, allocations: 71.88 kB / 0.5492 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003629/0.1191, allocations: 327.7 kB / 0.5495 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/0.1192, allocations: 51.95 kB / 0.5495 GB, free: 3.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1193, allocations: 243.2 kB / 0.5497 GB, free: 2.945 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1193, allocations: 0 / 0.5497 GB, free: 2.945 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005948/0.1199, allocations: 351.5 kB / 0.5501 GB, free: 2.602 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: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * 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.1712/0.2912, allocations: 3.661 MB / 0.5537 GB, free: 47.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.2932, allocations: 2.629 MB / 0.5562 GB, free: 46.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2932, allocations: 0 / 0.5562 GB, free: 46.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.2942, allocations: 1.621 MB / 0.5578 GB, free: 45.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.2947, allocations: 107.6 kB / 0.5579 GB, free: 45.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007068/0.3017, allocations: 9.647 MB / 0.5673 GB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.3019, allocations: 326.3 kB / 0.5676 GB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002583/0.3022, allocations: 153.5 kB / 0.5678 GB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.3024, allocations: 187.5 kB / 0.568 GB, free: 38.91 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3024, allocations: 0 / 0.568 GB, free: 38.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07847/0.3808, allocations: 19.6 MB / 0.5871 GB, free: 25.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/7.165, allocations: 2.922 kB / 0.5871 GB, free: 25.73 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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: 9.92341999616474]