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.001866/0.001866, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002871/0.002871, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.777 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.0835/0.0835, allocations: 16.94 MB / 329.4 MB, free: 2.039 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.003068/0.003068, allocations: 67.89 kB / 459.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1243, allocations: 57.63 MB / 0.5052 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003187/0.1275, allocations: 1.722 MB / 0.5069 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.1312, allocations: 1.89 MB / 0.5087 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.1315, allocations: 11.94 kB / 0.5087 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.1319, allocations: 115.1 kB / 0.5089 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.1322, allocations: 139 kB / 0.509 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.1342, allocations: 0.9592 MB / 0.5099 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.1357, allocations: 1.35 MB / 0.5112 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1359, allocations: 65.09 kB / 0.5113 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006378/0.1366, allocations: 0.5455 MB / 0.5118 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005558/0.1371, allocations: 358.2 kB / 0.5122 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.1373, allocations: 88 kB / 0.5123 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.1383, allocations: 0.6084 MB / 0.5129 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.1385, allocations: 151.3 kB / 0.513 GB, free: 376 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.1389, allocations: 334.7 kB / 0.5133 GB, free: 40 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2039/0.3428, allocations: 1.189 MB / 0.5145 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3428, allocations: 1.125 kB / 0.5145 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3428, allocations: 0 / 0.5145 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3428, allocations: 0 / 0.5145 GB, free: 11.09 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.001716/0.3445, allocations: 1.208 MB / 0.5157 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3446, allocations: 9.938 kB / 0.5157 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.3447, allocations: 121.4 kB / 0.5158 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.345, allocations: 102.2 kB / 0.5159 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/0.3457, allocations: 374.6 kB / 0.5162 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.3458, allocations: 115.4 kB / 0.5163 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.3459, allocations: 77.73 kB / 0.5164 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.3481, allocations: 1.786 MB / 0.5182 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.3481, allocations: 5.375 kB / 0.5182 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.462e-05/0.3482, allocations: 39.66 kB / 0.5182 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-05/0.3483, allocations: 53.31 kB / 0.5183 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.35, allocations: 1.225 MB / 0.5195 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.3537, allocations: 3.003 MB / 0.5224 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.3552, allocations: 0.9927 MB / 0.5234 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.3565, allocations: 0.9037 MB / 0.5242 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.563e-05/0.3565, allocations: 6.078 kB / 0.5242 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/0.3583, allocations: 1.267 MB / 0.5255 GB, free: 5.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.3583, allocations: 0.5938 kB / 0.5255 GB, free: 5.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.004513/0.3628, allocations: 3.345 MB / 0.5288 GB, free: 4.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002375/0.363, allocations: 0.5573 MB / 0.5293 GB, free: 3.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.3636, allocations: 429.6 kB / 0.5297 GB, free: 3.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.875e-05/0.3637, allocations: 70.33 kB / 0.5298 GB, free: 3.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.3638, allocations: 272.2 kB / 0.53 GB, free: 2.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.364, allocations: 184.1 kB / 0.5302 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.3643, allocations: 228.3 kB / 0.5304 GB, free: 2.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3644, allocations: 378.8 kB / 0.5308 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008225/0.3652, allocations: 0.7393 MB / 0.5315 GB, free: 1.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009952/0.3662, allocations: 1.214 MB / 0.5327 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/0.3695, allocations: 2.527 MB / 0.5352 GB, free: 15.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/0.3695, allocations: 6.344 kB / 0.5352 GB, free: 15.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003288/0.3728, allocations: 2.144 MB / 0.5373 GB, free: 13.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002552/0.3731, allocations: 330.5 kB / 0.5376 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.3731, allocations: 11.69 kB / 0.5376 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.3731, allocations: 20.8 kB / 0.5376 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.3735, allocations: 121.9 kB / 0.5377 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/0.3735, allocations: 22.22 kB / 0.5377 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.3741, allocations: 134 kB / 0.5379 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3742, allocations: 58.8 kB / 0.5379 GB, free: 13.41 MB / 398.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.001152/0.3754, allocations: 0.7427 MB / 0.5387 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.3755, allocations: 76.55 kB / 0.5387 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/0.3792, allocations: 2.328 MB / 0.541 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.3793, allocations: 8.609 kB / 0.541 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3793, allocations: 4.703 kB / 0.541 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3793, allocations: 1.922 kB / 0.541 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.3836, allocations: 2.935 MB / 0.5439 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3836, allocations: 1.062 kB / 0.5439 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.3837, allocations: 31.44 kB / 0.5439 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3837, allocations: 1.438 kB / 0.5439 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.3838, allocations: 39.89 kB / 0.544 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3839, allocations: 1 kB / 0.544 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3839, allocations: 3.078 kB / 0.544 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/0.3878, allocations: 2.792 MB / 0.5467 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3879, allocations: 51.98 kB / 0.5467 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.3881, allocations: 75.91 kB / 0.5468 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.3886, allocations: 71.05 kB / 0.5469 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/0.3892, allocations: 335.5 kB / 0.5472 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.3893, allocations: 47.39 kB / 0.5472 GB, free: 8.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002942/0.3896, allocations: 252.3 kB / 0.5475 GB, free: 8.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3896, allocations: 0 / 0.5475 GB, free: 8.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001218/0.3908, allocations: 343.6 kB / 0.5478 GB, free: 8.379 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.005067/0.3958, allocations: 3.59 MB / 0.5513 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003563/0.3994, allocations: 2.601 MB / 0.5539 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3994, allocations: 1.562 kB / 0.5539 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.4013, allocations: 1.578 MB / 0.5554 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.402, allocations: 104.3 kB / 0.5555 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.4149, allocations: 9.49 MB / 0.5648 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.4153, allocations: 316.5 kB / 0.5651 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004276/0.4157, allocations: 146.5 kB / 0.5652 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.416, allocations: 187.4 kB / 0.5654 GB, free: 10.14 MB / 414.1 MB Notification: Performance of SimCode: time 9.21e-07/0.416, allocations: 0 / 0.5654 GB, free: 10.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05503/0.4711, allocations: 19.35 MB / 0.5843 GB, free: 6.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.31, allocations: 3.438 kB / 0.5843 GB, free: 6.969 MB / 430.1 MB " [Timeout remaining time 648] (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.184185399208218]