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.001737/0.001737, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002301/0.002301, allocations: 217.8 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08352/0.08352, allocations: 16.95 MB / 329.4 MB, free: 2.266 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",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.002313/0.002313, allocations: 63.91 kB / 459.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1158, allocations: 57.64 MB / 0.5053 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003599/0.1194, allocations: 1.881 MB / 0.5071 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004373/0.1238, allocations: 1.937 MB / 0.509 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004188/0.1242, allocations: 7.938 kB / 0.509 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.1247, allocations: 115.1 kB / 0.5091 GB, free: 4.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000542/0.1252, allocations: 139 kB / 0.5093 GB, free: 4.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.1277, allocations: 0.9593 MB / 0.5102 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.1295, allocations: 1.357 MB / 0.5115 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.1297, allocations: 69.14 kB / 0.5116 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009288/0.1307, allocations: 0.5493 MB / 0.5121 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007574/0.1314, allocations: 390.3 kB / 0.5125 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.1316, allocations: 88 kB / 0.5126 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.1328, allocations: 0.6592 MB / 0.5132 GB, free: 400 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.1331, allocations: 147.3 kB / 0.5134 GB, free: 252 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2105/0.3435, allocations: 392.1 kB / 0.5137 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.3454, allocations: 1.193 MB / 0.5149 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3454, allocations: 1 kB / 0.5149 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3454, allocations: 0 / 0.5149 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.3454, allocations: 2.625 kB / 0.5149 GB, free: 10.66 MB / 382.1 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.001624/0.347, allocations: 1.219 MB / 0.5161 GB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3471, allocations: 9.062 kB / 0.5161 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.3472, allocations: 123.3 kB / 0.5162 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.3475, allocations: 96.11 kB / 0.5163 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.3481, allocations: 373.4 kB / 0.5167 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.3482, allocations: 114.8 kB / 0.5168 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3483, allocations: 83.47 kB / 0.5169 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.3502, allocations: 1.317 MB / 0.5181 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.3502, allocations: 5.781 kB / 0.5182 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.715e-05/0.3503, allocations: 40.17 kB / 0.5182 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3504, allocations: 54.08 kB / 0.5182 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.352, allocations: 0.9087 MB / 0.5191 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004063/0.356, allocations: 3.21 MB / 0.5223 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.3575, allocations: 0.7212 MB / 0.523 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.3587, allocations: 0.5966 MB / 0.5235 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.342e-05/0.3587, allocations: 10.66 kB / 0.5236 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/0.3604, allocations: 0.9218 MB / 0.5245 GB, free: 7.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.394e-06/0.3604, allocations: 4.125 kB / 0.5245 GB, free: 7.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.004279/0.3647, allocations: 2.628 MB / 0.527 GB, free: 5.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002419/0.3649, allocations: 0.5363 MB / 0.5276 GB, free: 5.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/0.3654, allocations: 413.4 kB / 0.5279 GB, free: 5.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.355e-05/0.3655, allocations: 70.14 kB / 0.528 GB, free: 5.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.3657, allocations: 262.7 kB / 0.5283 GB, free: 4.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.3658, allocations: 200.6 kB / 0.5285 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.3661, allocations: 226.6 kB / 0.5287 GB, free: 4.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3662, allocations: 378 kB / 0.529 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.367, allocations: 443.2 kB / 0.5295 GB, free: 4.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/0.3678, allocations: 0.8048 MB / 0.5302 GB, free: 3.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.3704, allocations: 2.542 MB / 0.5327 GB, free: 1.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.3704, allocations: 4.156 kB / 0.5327 GB, free: 1.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002563/0.3729, allocations: 1.837 MB / 0.5345 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.3731, allocations: 334.9 kB / 0.5348 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.3731, allocations: 11.47 kB / 0.5349 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/0.3731, allocations: 22 kB / 0.5349 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.3735, allocations: 126.2 kB / 0.535 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.71e-05/0.3735, allocations: 26.72 kB / 0.535 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.3741, allocations: 126.8 kB / 0.5351 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.3742, allocations: 58.73 kB / 0.5352 GB, free: 496 kB / 382.1 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.001176/0.3754, allocations: 0.7515 MB / 0.5359 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.3756, allocations: 76.67 kB / 0.536 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/0.3792, allocations: 2.023 MB / 0.538 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/0.3792, allocations: 7.297 kB / 0.538 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3792, allocations: 2.188 kB / 0.538 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.3793, allocations: 1.5 kB / 0.538 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005196/0.3845, allocations: 3.027 MB / 0.5409 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3845, allocations: 0 / 0.5409 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.3846, allocations: 28.19 kB / 0.541 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3846, allocations: 1.406 kB / 0.541 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.38e-05/0.3847, allocations: 48.38 kB / 0.541 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.3847, allocations: 2.312 kB / 0.541 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3847, allocations: 0 / 0.541 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003468/0.3882, allocations: 2.391 MB / 0.5434 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3883, allocations: 60.64 kB / 0.5434 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.3885, allocations: 74.39 kB / 0.5435 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.389, allocations: 82.7 kB / 0.5436 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005633/0.3895, allocations: 335.8 kB / 0.5439 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.3896, allocations: 42.06 kB / 0.5439 GB, free: 12.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002736/0.3899, allocations: 246.6 kB / 0.5442 GB, free: 12.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3899, allocations: 0 / 0.5442 GB, free: 12.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001186/0.3911, allocations: 339.9 kB / 0.5445 GB, free: 12.12 MB / 398.1 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.004542/0.3956, allocations: 3.213 MB / 0.5476 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002975/0.3986, allocations: 1.961 MB / 0.5495 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3986, allocations: 0 / 0.5495 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.4004, allocations: 1.267 MB / 0.5508 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.401, allocations: 112.1 kB / 0.5509 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.4123, allocations: 7.973 MB / 0.5587 GB, free: 2.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.4129, allocations: 0.9154 MB / 0.5596 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004112/0.4133, allocations: 155.5 kB / 0.5597 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.4136, allocations: 195.4 kB / 0.5599 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4136, allocations: 0 / 0.5599 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05335/0.467, allocations: 18.82 MB / 0.5783 GB, free: 14.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.51, allocations: 0 / 0.5783 GB, free: 14.07 MB / 430.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.23834576504305]