Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.0009665/0.0009665, allocations: 101.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.0009051/0.0009051, allocations: 218.4 kB / 22.25 MB, free: 3.711 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.9338/0.9338, allocations: 230.6 MB / 256 MB, free: 9.594 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.05043/0.05043, allocations: 16.96 MB / 329.4 MB, free: 1.148 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.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",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.001442/0.001442, allocations: 75.88 kB / 461.3 MB, free: 26.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07374/0.07518, allocations: 57.64 MB / 0.5068 GB, free: 1.168 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.00213/0.07731, allocations: 1.718 MB / 0.5084 GB, free: 15.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.07959, allocations: 1.886 MB / 0.5103 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.07976, allocations: 11.94 kB / 0.5103 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.08008, allocations: 119.1 kB / 0.5104 GB, free: 13.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.08037, allocations: 131.1 kB / 0.5105 GB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.0816, allocations: 0.9514 MB / 0.5115 GB, free: 12.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000955/0.08256, allocations: 1.33 MB / 0.5128 GB, free: 11.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.08269, allocations: 60.34 kB / 0.5128 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.08309, allocations: 0.5415 MB / 0.5133 GB, free: 10.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.08342, allocations: 326.4 kB / 0.5137 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.0835, allocations: 68 kB / 0.5137 GB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005727/0.08407, allocations: 0.5928 MB / 0.5143 GB, free: 9.422 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.0842, allocations: 135.4 kB / 0.5144 GB, free: 9.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.0844, allocations: 278.8 kB / 0.5147 GB, free: 9.016 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008342/0.08523, allocations: 1.063 MB / 0.5157 GB, free: 7.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.08524, allocations: 0 / 0.5157 GB, free: 7.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.08524, allocations: 0 / 0.5157 GB, free: 7.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.08525, allocations: 3.938 kB / 0.5157 GB, free: 7.945 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001131/0.08638, allocations: 1.143 MB / 0.5168 GB, free: 6.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.08641, allocations: 16.02 kB / 0.5169 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.931e-05/0.0865, allocations: 110.7 kB / 0.517 GB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.08669, allocations: 88.5 kB / 0.5171 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.08706, allocations: 346.1 kB / 0.5174 GB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/0.08714, allocations: 104.4 kB / 0.5175 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.0872, allocations: 67.98 kB / 0.5175 GB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.08841, allocations: 1.544 MB / 0.5191 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.08843, allocations: 0 / 0.5191 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.08847, allocations: 35.98 kB / 0.5191 GB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.08852, allocations: 44.95 kB / 0.5191 GB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.08942, allocations: 1.04 MB / 0.5201 GB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.09142, allocations: 2.7 MB / 0.5228 GB, free: 272 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/0.09217, allocations: 0.8546 MB / 0.5236 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.09274, allocations: 0.765 MB / 0.5244 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.09277, allocations: 15.94 kB / 0.5244 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008589/0.09363, allocations: 1.107 MB / 0.5255 GB, free: 13.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 1.473e-06/0.09363, allocations: 0 / 0.5255 GB, free: 13.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.002276/0.09591, allocations: 2.859 MB / 0.5283 GB, free: 10.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/0.0961, allocations: 0.5364 MB / 0.5288 GB, free: 9.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.09635, allocations: 388.1 kB / 0.5291 GB, free: 9.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.09639, allocations: 65.69 kB / 0.5292 GB, free: 9.211 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.09651, allocations: 245.3 kB / 0.5294 GB, free: 8.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.09661, allocations: 186.7 kB / 0.5296 GB, free: 8.781 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.09677, allocations: 198.5 kB / 0.5298 GB, free: 8.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.09688, allocations: 370.8 kB / 0.5302 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.09727, allocations: 0.589 MB / 0.5307 GB, free: 7.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/0.09783, allocations: 1.022 MB / 0.5317 GB, free: 6.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.09926, allocations: 2.021 MB / 0.5337 GB, free: 3.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.09927, allocations: 4 kB / 0.5337 GB, free: 3.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001319/0.1006, allocations: 1.753 MB / 0.5354 GB, free: 2.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1007, allocations: 313.1 kB / 0.5357 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.1007, allocations: 12 kB / 0.5357 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.1007, allocations: 19.94 kB / 0.5358 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.1009, allocations: 107.7 kB / 0.5359 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.1009, allocations: 23.92 kB / 0.5359 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1011, allocations: 107.3 kB / 0.536 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.1012, allocations: 48 kB / 0.536 GB, free: 1.414 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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.firingTime,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 (118): * Single equations (assignments): 108 * 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.000471/0.1017, allocations: 0.6925 MB / 0.5367 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.1017, allocations: 71.67 kB / 0.5368 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.1033, allocations: 1.905 MB / 0.5386 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1033, allocations: 7.938 kB / 0.5386 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1033, allocations: 8.062 kB / 0.5387 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1033, allocations: 4 kB / 0.5387 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.1053, allocations: 2.475 MB / 0.5411 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1053, allocations: 0 / 0.5411 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.1054, allocations: 23.92 kB / 0.5411 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1054, allocations: 4 kB / 0.5411 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.1054, allocations: 31.98 kB / 0.5411 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1054, allocations: 4 kB / 0.5411 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1054, allocations: 0 / 0.5411 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.1072, allocations: 2.433 MB / 0.5435 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.1073, allocations: 63.52 kB / 0.5436 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.1074, allocations: 63.98 kB / 0.5436 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1076, allocations: 47.95 kB / 0.5437 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.1077, allocations: 87.84 kB / 0.5438 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.1077, allocations: 43.97 kB / 0.5438 GB, free: 9.082 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.1079, allocations: 231 kB / 0.544 GB, free: 8.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1079, allocations: 0 / 0.544 GB, free: 8.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000524/0.1084, allocations: 299.6 kB / 0.5443 GB, free: 8.562 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: 64 ($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,$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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.002429/0.1108, allocations: 3.243 MB / 0.5475 GB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.1123, allocations: 2.263 MB / 0.5497 GB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1123, allocations: 4.062 kB / 0.5497 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008646/0.1132, allocations: 1.391 MB / 0.551 GB, free: 1.176 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1135, allocations: 115.7 kB / 0.5512 GB, free: 1.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1448/0.2583, allocations: 8.291 MB / 0.5593 GB, free: 44.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.2585, allocations: 296.3 kB / 0.5595 GB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.2587, allocations: 120.7 kB / 0.5597 GB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.2588, allocations: 173.7 kB / 0.5598 GB, free: 43.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2589, allocations: 0 / 0.5598 GB, free: 43.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0774/0.3362, allocations: 16.66 MB / 0.5761 GB, free: 37.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/7.161, allocations: 8.781 kB / 0.5761 GB, free: 37.18 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TTtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.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.TTtoPD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.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.TTtoPD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.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.TTtoPD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TTtoPD_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_TTtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.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.865058426745236]