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.001276/0.001276, allocations: 84.44 kB / 19.18 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 173.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.893/0.893, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.04846/0.04846, allocations: 12.66 MB / 271.9 MB, free: 0.7695 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 403.8 MB, free: 7.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.934e-05, allocations: 13.03 kB / 403.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003012/0.003031, allocations: 1.727 MB / 405.6 MB, free: 6.164 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003775/0.006806, allocations: 1.886 MB / 407.4 MB, free: 4.273 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.007146, allocations: 11.94 kB / 407.5 MB, free: 4.262 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.007554, allocations: 119.1 kB / 407.6 MB, free: 4.145 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.007993, allocations: 135 kB / 407.7 MB, free: 4.012 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.01007, allocations: 0.9625 MB / 408.7 MB, free: 3.047 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.01162, allocations: 1.349 MB / 410 MB, free: 1.695 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.01183, allocations: 77.11 kB / 410.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00093/0.01276, allocations: 0.7566 MB / 410.8 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.01336, allocations: 315 kB / 411.2 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.01352, allocations: 91.98 kB / 411.2 MB, free: 472 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1441/0.1577, allocations: 0.6031 MB / 411.8 MB, free: 18.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.1579, allocations: 152.2 kB / 412 MB, free: 18.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.1583, allocations: 288 kB / 412.3 MB, free: 18.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.1599, allocations: 1.355 MB / 413.6 MB, free: 18.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1599, allocations: 0 / 413.6 MB, free: 18.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1599, allocations: 0 / 413.6 MB, free: 18.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.1599, allocations: 0 / 413.6 MB, free: 18.06 MB / 330.7 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.001406/0.1613, allocations: 1.209 MB / 414.8 MB, free: 17.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1613, allocations: 12.78 kB / 414.9 MB, free: 17.26 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.1615, allocations: 124.7 kB / 415 MB, free: 17.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.1617, allocations: 94.89 kB / 415.1 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.1621, allocations: 369.8 kB / 415.4 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/0.1622, allocations: 106.8 kB / 415.5 MB, free: 16.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.593e-05/0.1623, allocations: 82.81 kB / 415.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.1638, allocations: 1.794 MB / 417.4 MB, free: 16.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1638, allocations: 1.375 kB / 417.4 MB, free: 16.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/0.1639, allocations: 34.86 kB / 417.4 MB, free: 16.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.341e-05/0.164, allocations: 56.05 kB / 417.5 MB, free: 16.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.1652, allocations: 1.232 MB / 418.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.1675, allocations: 2.988 MB / 421.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009389/0.1684, allocations: 0.9988 MB / 422.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/0.1692, allocations: 0.903 MB / 423.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.1692, allocations: 6.75 kB / 423.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.1704, allocations: 1.269 MB / 424.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 1.904e-06/0.1704, allocations: 0 / 424.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.003429/0.1739, allocations: 3.342 MB / 428.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/0.174, allocations: 0.5562 MB / 428.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.1744, allocations: 429.5 kB / 429.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.1744, allocations: 74.17 kB / 429.3 MB, free: 8.891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1746, allocations: 265.4 kB / 429.5 MB, free: 8.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1747, allocations: 197.9 kB / 429.7 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.1749, allocations: 221.7 kB / 430 MB, free: 8.457 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.175, allocations: 375.9 kB / 430.3 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.1755, allocations: 0.7404 MB / 431.1 MB, free: 7.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.1762, allocations: 1.211 MB / 432.3 MB, free: 6.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.1779, allocations: 2.528 MB / 434.8 MB, free: 4.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.1779, allocations: 2.844 kB / 434.8 MB, free: 4.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00162/0.1796, allocations: 2.159 MB / 437 MB, free: 3.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-05/0.1797, allocations: 328.3 kB / 437.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.1797, allocations: 12.38 kB / 437.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.1797, allocations: 17.31 kB / 437.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.1799, allocations: 125.1 kB / 437.4 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/0.1799, allocations: 25.53 kB / 437.5 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.1802, allocations: 130.8 kB / 437.6 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.1803, allocations: 55.53 kB / 437.6 MB, free: 3.125 MB / 330.7 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.0005134/0.1808, allocations: 0.7446 MB / 438.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.1809, allocations: 80.14 kB / 438.5 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.1828, allocations: 2.323 MB / 440.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.1828, allocations: 11.27 kB / 440.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1829, allocations: 3.188 kB / 440.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1829, allocations: 0 / 440.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.185, allocations: 2.943 MB / 443.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.185, allocations: 3.469 kB / 443.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.1851, allocations: 24.84 kB / 443.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1851, allocations: 2.656 kB / 443.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.1852, allocations: 39.25 kB / 443.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1852, allocations: 2.219 kB / 443.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1852, allocations: 0 / 443.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.1874, allocations: 2.794 MB / 446.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.1875, allocations: 51.53 kB / 446.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.1876, allocations: 79.97 kB / 446.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.1878, allocations: 67.94 kB / 446.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/0.1882, allocations: 333.8 kB / 447.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.1883, allocations: 47.97 kB / 447.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.1885, allocations: 247.2 kB / 447.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1885, allocations: 0 / 447.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008124/0.1893, allocations: 347.5 kB / 447.8 MB, free: 11.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 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.003011/0.1923, allocations: 3.628 MB / 451.4 MB, free: 7.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.1941, allocations: 2.595 MB / 454 MB, free: 5.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1941, allocations: 4 kB / 454 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.1952, allocations: 1.576 MB / 455.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1956, allocations: 105.5 kB / 455.7 MB, free: 3.199 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00745/0.203, allocations: 9.478 MB / 465.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.2033, allocations: 320.5 kB / 465.5 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.2035, allocations: 149.3 kB / 465.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.2036, allocations: 199.8 kB / 465.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2036, allocations: 0 / 465.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0812/0.2848, allocations: 19.48 MB / 485.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.068, allocations: 8 kB / 485.3 MB, free: 5 MB / 378.7 MB " [Timeout remaining time 652] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTT.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_DisTest_PDtoTT.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.723590226843953]