Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.001393/0.001393, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001785/0.001785, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.961 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.08601/0.08601, allocations: 16.95 MB / 329.4 MB, free: 2.238 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.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",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.002048/0.002048, allocations: 67.89 kB / 459.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1121, allocations: 57.63 MB / 0.5053 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003489/0.1156, allocations: 1.878 MB / 0.5071 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004083/0.1197, allocations: 1.985 MB / 0.509 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.1201, allocations: 11.94 kB / 0.5091 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.1205, allocations: 111.1 kB / 0.5092 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.121, allocations: 139 kB / 0.5093 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.1234, allocations: 0.967 MB / 0.5102 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.1258, allocations: 1.361 MB / 0.5116 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.1261, allocations: 61.14 kB / 0.5116 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.1271, allocations: 0.5494 MB / 0.5122 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008682/0.1279, allocations: 398.2 kB / 0.5125 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.1282, allocations: 88 kB / 0.5126 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.1297, allocations: 0.6553 MB / 0.5133 GB, free: 336 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.1301, allocations: 147.3 kB / 0.5134 GB, free: 188 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.241/0.3711, allocations: 384.1 kB / 0.5138 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.3732, allocations: 1.192 MB / 0.5149 GB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3732, allocations: 0 / 0.5149 GB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3732, allocations: 0 / 0.5149 GB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.3732, allocations: 0 / 0.5149 GB, free: 10.71 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002098/0.3753, allocations: 1.217 MB / 0.5161 GB, free: 9.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3753, allocations: 9.625 kB / 0.5161 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.3755, allocations: 126.7 kB / 0.5163 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.3759, allocations: 94.95 kB / 0.5163 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.3766, allocations: 378.4 kB / 0.5167 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.3767, allocations: 112.5 kB / 0.5168 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.3769, allocations: 79.11 kB / 0.5169 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.3789, allocations: 1.319 MB / 0.5182 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.3789, allocations: 5.344 kB / 0.5182 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.379, allocations: 34.77 kB / 0.5182 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.3791, allocations: 58.11 kB / 0.5183 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.3808, allocations: 0.8804 MB / 0.5191 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004133/0.385, allocations: 3.195 MB / 0.5223 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.3861, allocations: 0.6556 MB / 0.5229 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009292/0.387, allocations: 0.5576 MB / 0.5234 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.923e-05/0.3871, allocations: 13.39 kB / 0.5235 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.3887, allocations: 0.8911 MB / 0.5243 GB, free: 7.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.665e-06/0.3887, allocations: 1.188 kB / 0.5243 GB, free: 7.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.004043/0.3927, allocations: 2.54 MB / 0.5268 GB, free: 6.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002699/0.393, allocations: 0.5556 MB / 0.5273 GB, free: 5.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.3936, allocations: 427.8 kB / 0.5278 GB, free: 5.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.3937, allocations: 66.3 kB / 0.5278 GB, free: 5.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3939, allocations: 270 kB / 0.5281 GB, free: 4.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.3941, allocations: 190.1 kB / 0.5283 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.3945, allocations: 226.1 kB / 0.5285 GB, free: 4.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3946, allocations: 380.2 kB / 0.5288 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.3954, allocations: 433.6 kB / 0.5292 GB, free: 4.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009544/0.3964, allocations: 0.7923 MB / 0.53 GB, free: 3.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.3992, allocations: 2.51 MB / 0.5325 GB, free: 1.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/0.3992, allocations: 3.344 kB / 0.5325 GB, free: 1.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00273/0.402, allocations: 1.814 MB / 0.5342 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.4021, allocations: 335.6 kB / 0.5346 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.4021, allocations: 15.28 kB / 0.5346 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-05/0.4022, allocations: 16.98 kB / 0.5346 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.4026, allocations: 121.7 kB / 0.5347 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-05/0.4026, allocations: 26.91 kB / 0.5347 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/0.4032, allocations: 129.9 kB / 0.5349 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.4033, allocations: 58.39 kB / 0.5349 GB, free: 0.5586 MB / 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,$PRE.P1.tokeninout,P1.outTransition[1].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.arcWeight[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.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[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 (130): * Single equations (assignments): 119 * 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.001386/0.4047, allocations: 0.7543 MB / 0.5357 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.405, allocations: 76.5 kB / 0.5357 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.4096, allocations: 1.957 MB / 0.5376 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.062e-05/0.4097, allocations: 6.281 kB / 0.5376 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.4097, allocations: 4 kB / 0.5376 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.4097, allocations: 3.688 kB / 0.5377 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.4146, allocations: 2.719 MB / 0.5403 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4147, allocations: 5.312 kB / 0.5403 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.4148, allocations: 25.77 kB / 0.5403 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4148, allocations: 1.375 kB / 0.5403 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.415, allocations: 42.25 kB / 0.5404 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.415, allocations: 1.375 kB / 0.5404 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.415, allocations: 5.281 kB / 0.5404 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.4187, allocations: 2.324 MB / 0.5427 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.4189, allocations: 54.05 kB / 0.5427 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.4192, allocations: 70.44 kB / 0.5428 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.4197, allocations: 80.53 kB / 0.5429 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006144/0.4203, allocations: 329.1 kB / 0.5432 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.4204, allocations: 46.72 kB / 0.5432 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003615/0.4208, allocations: 252.9 kB / 0.5435 GB, free: 12.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4208, allocations: 0 / 0.5435 GB, free: 12.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001537/0.4223, allocations: 343.4 kB / 0.5438 GB, free: 12.41 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: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,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.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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.005073/0.4274, allocations: 3.136 MB / 0.5468 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003254/0.4306, allocations: 1.917 MB / 0.5487 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4306, allocations: 5.125 kB / 0.5487 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.4325, allocations: 1.237 MB / 0.5499 GB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.4333, allocations: 109.5 kB / 0.55 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.4462, allocations: 7.799 MB / 0.5576 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.4469, allocations: 0.9152 MB / 0.5585 GB, free: 2.152 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004827/0.4474, allocations: 140.5 kB / 0.5587 GB, free: 2.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.4477, allocations: 191.4 kB / 0.5589 GB, free: 1.828 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4477, allocations: 8 kB / 0.5589 GB, free: 1.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06245/0.5102, allocations: 18.65 MB / 0.5771 GB, free: 15.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.4, allocations: 8.062 kB / 0.5771 GB, free: 15.29 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTT.fmu > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.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.292598872911185]