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.001934/0.001934, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.002613/0.002613, allocations: 166.9 kB / 22.46 MB, free: 5.355 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: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.07775/0.07775, allocations: 12.67 MB / 271.8 MB, free: 4.176 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: translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 402.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.839e-05, allocations: 2.281 kB / 402.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002956/0.002984, allocations: 1.738 MB / 404.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.006574, allocations: 1.855 MB / 406.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.006793, allocations: 7.938 kB / 406.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.007145, allocations: 119 kB / 406.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.007537, allocations: 143 kB / 406.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.009474, allocations: 0.9431 MB / 407.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.01097, allocations: 1.357 MB / 408.9 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.01114, allocations: 77.19 kB / 409 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008555/0.012, allocations: 0.7604 MB / 409.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.01249, allocations: 319 kB / 410.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.01264, allocations: 88 kB / 410.1 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009525/0.01359, allocations: 0.6083 MB / 410.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.01379, allocations: 151.3 kB / 410.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.01417, allocations: 295.3 kB / 411.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.0157, allocations: 1.344 MB / 412.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.0157, allocations: 4 kB / 412.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01571, allocations: 4 kB / 412.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.01572, allocations: 0 / 412.5 MB, free: 4.906 MB / 334.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.001774/0.01749, allocations: 1.198 MB / 413.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.01753, allocations: 8.031 kB / 413.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.01787, allocations: 100.5 kB / 413.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/0.01848, allocations: 368.8 kB / 414.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.0186, allocations: 117 kB / 414.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.01874, allocations: 79.98 kB / 414.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.02123, allocations: 1.793 MB / 416.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.02125, allocations: 7.938 kB / 416.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.02135, allocations: 35.98 kB / 416.2 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.02146, allocations: 52.95 kB / 416.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.02343, allocations: 1.255 MB / 417.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.02725, allocations: 2.904 MB / 420.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.02884, allocations: 1.058 MB / 421.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.03013, allocations: 0.9452 MB / 422.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.03019, allocations: 8 kB / 422.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/0.03204, allocations: 1.316 MB / 423.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.03204, allocations: 0 / 423.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005036/0.03708, allocations: 3.427 MB / 427.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004036/0.03748, allocations: 0.5348 MB / 427.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.03796, allocations: 372 kB / 428.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.03808, allocations: 69.69 kB / 428.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.03832, allocations: 269 kB / 428.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.03852, allocations: 206.5 kB / 428.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.03886, allocations: 230.6 kB / 428.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.03905, allocations: 370.8 kB / 429.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009927/0.04004, allocations: 0.749 MB / 430 MB, free: 2.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.0414, allocations: 1.201 MB / 431.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/0.04481, allocations: 2.559 MB / 433.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/0.04483, allocations: 4 kB / 433.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003118/0.04795, allocations: 2.17 MB / 435.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.04819, allocations: 329 kB / 436.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.04821, allocations: 12 kB / 436.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/0.04825, allocations: 20.78 kB / 436.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.04864, allocations: 119.7 kB / 436.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.91e-05/0.04867, allocations: 27.94 kB / 436.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.0492, allocations: 123.3 kB / 436.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.0493, allocations: 56 kB / 436.6 MB, free: 11.11 MB / 366.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.001057/0.05036, allocations: 0.7565 MB / 437.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.05052, allocations: 79.61 kB / 437.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/0.05424, allocations: 2.39 MB / 439.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.05426, allocations: 4 kB / 439.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.05427, allocations: 0 / 439.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.05427, allocations: 4 kB / 439.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/0.0589, allocations: 3.152 MB / 442.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.0589, allocations: 0 / 442.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.05904, allocations: 23.98 kB / 443 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.05904, allocations: 4 kB / 443 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.68e-05/0.05914, allocations: 47.91 kB / 443 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.05915, allocations: 4 kB / 443 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.05915, allocations: 0 / 443 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003967/0.06311, allocations: 2.849 MB / 445.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.06318, allocations: 55.53 kB / 445.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.06339, allocations: 71.98 kB / 446 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.06388, allocations: 71.92 kB / 446.1 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005708/0.06445, allocations: 335.7 kB / 446.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.06456, allocations: 47.97 kB / 446.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.06478, allocations: 203.1 kB / 446.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.06478, allocations: 0 / 446.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0011/0.06588, allocations: 347.5 kB / 447 MB, free: 316 kB / 366.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.1745/0.2403, allocations: 398.1 kB / 447.4 MB, free: 56.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.2438, allocations: 2.646 MB / 450 MB, free: 55.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2438, allocations: 0.9375 kB / 450 MB, free: 55.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.2456, allocations: 1.611 MB / 451.6 MB, free: 54.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.2461, allocations: 87.44 kB / 451.7 MB, free: 54.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.249, allocations: 1.959 MB / 453.7 MB, free: 53.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.2494, allocations: 320.6 kB / 454 MB, free: 53.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003477/0.2497, allocations: 142.6 kB / 454.1 MB, free: 53.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.2498, allocations: 48.02 kB / 454.2 MB, free: 53.12 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2498, allocations: 1.219 kB / 454.2 MB, free: 53.12 MB / 366.1 MB Notification: Performance of Templates: time 0.02144/0.2713, allocations: 13.43 MB / 467.6 MB, free: 47.64 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile [Timeout 660] (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 & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins/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: 5.084980640560389]