Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.00126/0.00126, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00184/0.0031, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.001168/0.001168, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.002777, allocations: 475.6 kB / 11.81 MB, free: 2.363 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1091/1.113, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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.04954/0.04954, allocations: 12.66 MB / 256.8 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01055/0.06009, allocations: 4.687 MB / 261.5 MB, free: 13.57 MB / 266.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: translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.706e-05, allocations: 2.312 kB / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.003061/0.003089, allocations: 1.797 MB / 264.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.005774, allocations: 1.94 MB / 266.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.005955, allocations: 11.94 kB / 266.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.006211, allocations: 123 kB / 266.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.006496, allocations: 135 kB / 266.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.007747, allocations: 0.8884 MB / 267.7 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.00883, allocations: 1.342 MB / 269 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.00899, allocations: 61.05 kB / 269.1 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.009623, allocations: 0.7883 MB / 269.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.009987, allocations: 291.1 kB / 270.2 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.783e-05/0.01006, allocations: 72 kB / 270.3 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000651/0.01072, allocations: 0.6356 MB / 270.9 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.01084, allocations: 119.5 kB / 271 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.01102, allocations: 191.5 kB / 271.2 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000838/0.01186, allocations: 0.8336 MB / 272 MB, free: 3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-05/0.01188, allocations: 0 / 272 MB, free: 3 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.01188, allocations: 0 / 272 MB, free: 3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.01189, allocations: 0 / 272 MB, free: 3 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001346/0.01324, allocations: 1.249 MB / 273.3 MB, free: 1.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.01327, allocations: 11.98 kB / 273.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.01355, allocations: 217.9 kB / 273.5 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.01385, allocations: 246.1 kB / 273.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.01393, allocations: 101 kB / 273.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/0.014, allocations: 79.91 kB / 273.9 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1453/0.1593, allocations: 1.169 MB / 275.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1593, allocations: 0 / 275.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.1594, allocations: 35 kB / 275.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.46e-05/0.1595, allocations: 44.19 kB / 275.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00078/0.1602, allocations: 0.6684 MB / 275.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.1621, allocations: 2.258 MB / 278.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/0.1627, allocations: 0.7006 MB / 278.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.1631, allocations: 0.5527 MB / 279.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.1632, allocations: 11.75 kB / 279.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007972/0.164, allocations: 0.8961 MB / 280.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.405e-06/0.164, allocations: 1.094 kB / 280.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.001608/0.1656, allocations: 1.781 MB / 282 MB, free: 3.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.1657, allocations: 388.2 kB / 282.4 MB, free: 2.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.166, allocations: 319.2 kB / 282.7 MB, free: 2.668 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.166, allocations: 62.23 kB / 282.8 MB, free: 2.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1662, allocations: 234.9 kB / 283 MB, free: 2.488 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.1663, allocations: 187 kB / 283.2 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.1665, allocations: 204 kB / 283.4 MB, free: 2.391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.1666, allocations: 364.6 kB / 283.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.1668, allocations: 411.7 kB / 284.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.1672, allocations: 0.83 MB / 285 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.1682, allocations: 1.418 MB / 286.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/0.1682, allocations: 3.062 kB / 286.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00101/0.1692, allocations: 1.16 MB / 287.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.1694, allocations: 311.5 kB / 287.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.1694, allocations: 10.2 kB / 287.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.1694, allocations: 15.66 kB / 287.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.1698, allocations: 170 kB / 288.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.1698, allocations: 26.48 kB / 288.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.1701, allocations: 95.06 kB / 288.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.18e-05/0.1702, allocations: 41.91 kB / 288.2 MB, free: 14.86 MB / 282.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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 P1.enableIn.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 45 * Number of states: 0 () * Number of discrete variables: 112 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,P1.inTransition[1].emptied,P1.enableIn.disTransition[1],P1.reStart,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon,$PRE.T1.firingTime,T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T1.enabledByInPlaces,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 105 * Array equations: 0 * 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.0007526/0.1709, allocations: 0.626 MB / 288.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.1711, allocations: 104 kB / 288.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.1726, allocations: 0.9973 MB / 289.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.1726, allocations: 4.641 kB / 289.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1726, allocations: 0.9688 kB / 289.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1726, allocations: 5.672 kB / 290 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.1745, allocations: 1.393 MB / 291.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1745, allocations: 2.312 kB / 291.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1746, allocations: 31 kB / 291.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.1747, allocations: 47.38 kB / 291.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1747, allocations: 5.031 kB / 291.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.937e-05/0.1748, allocations: 37.45 kB / 291.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.1748, allocations: 5.094 kB / 291.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1748, allocations: 1.219 kB / 291.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.1765, allocations: 1.534 MB / 293 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.1767, allocations: 62.22 kB / 293.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.177, allocations: 54.8 kB / 293.1 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.1771, allocations: 93.94 kB / 293.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/0.1772, allocations: 40.14 kB / 293.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.659e-05/0.1773, allocations: 88.28 kB / 293.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1773, allocations: 2.438 kB / 293.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001047/0.1784, allocations: 305.1 kB / 293.6 MB, free: 12.54 MB / 282.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: 64 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 21 * Array equations: 0 * 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.0009292/0.1793, allocations: 411.9 kB / 294 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.1813, allocations: 1.807 MB / 295.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/0.1813, allocations: 4.578 kB / 295.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.1825, allocations: 1.238 MB / 297.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.1829, allocations: 338 kB / 297.4 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.1847, allocations: 1.379 MB / 298.8 MB, free: 8.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.99e-05/0.1848, allocations: 150 kB / 298.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.1849, allocations: 66.69 kB / 299 MB, free: 8.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/0.1854, allocations: 268.5 kB / 299.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/0.1854, allocations: 0 / 299.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of Templates: time 0.01544/0.2008, allocations: 11.92 MB / 311.2 MB, free: 12.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TTtoPD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & (cd run_cvode && ../PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat -s cvode) > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD_dassl.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_dassl.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_dassl.sim & (cd run_dassl && ../PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.TTtoPD_dassl_res.mat -s dassl) > PNlib_PNlib.Examples.DisTest.TTtoPD_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_dassl_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD_gbode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_gbode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_gbode.sim & (cd run_gbode && ../PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.TTtoPD_gbode_res.mat -s gbode -gbm=radauIIA3) > PNlib_PNlib.Examples.DisTest.TTtoPD_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_gbode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD_ida.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_ida.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_ida.sim & (cd run_ida && ../PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.TTtoPD_ida_res.mat -s ida) > PNlib_PNlib.Examples.DisTest.TTtoPD_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_ida_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.266831437125802]