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.0009643/0.0009643, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002292, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009284/0.0009284, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001219/0.002147, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/1.141, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.04933/0.04933, allocations: 12.68 MB / 256.6 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008493/0.05783, allocations: 4.671 MB / 261.3 MB, free: 13.66 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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 262.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.17e-05, allocations: 2.312 kB / 262.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002413/0.002435, allocations: 1.789 MB / 264.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.005539, allocations: 1.94 MB / 266.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.005876, allocations: 15.88 kB / 266.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.006145, allocations: 119.1 kB / 266.5 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.006457, allocations: 143 kB / 266.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.008063, allocations: 0.8766 MB / 267.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.009594, allocations: 1.361 MB / 268.9 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.009808, allocations: 69.88 kB / 268.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007549/0.01056, allocations: 0.7922 MB / 269.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.01099, allocations: 319 kB / 270 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.859e-05/0.01108, allocations: 88 kB / 270.1 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008484/0.01193, allocations: 0.6356 MB / 270.7 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.01207, allocations: 131.4 kB / 270.9 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.01229, allocations: 219.6 kB / 271.1 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009265/0.01321, allocations: 0.9388 MB / 272 MB, free: 2.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.01323, allocations: 4 kB / 272 MB, free: 2.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01323, allocations: 0 / 272 MB, free: 2.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.01324, allocations: 0 / 272 MB, free: 2.902 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001324/0.01457, allocations: 1.324 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.01461, allocations: 19.92 kB / 273.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.01491, allocations: 233.9 kB / 273.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.01525, allocations: 270 kB / 273.9 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.112e-05/0.01534, allocations: 113 kB / 274 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.01542, allocations: 75.98 kB / 274.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1371/0.1525, allocations: 1.329 MB / 275.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.1525, allocations: 5.141 kB / 275.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-05/0.1526, allocations: 39.23 kB / 275.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.1527, allocations: 54.61 kB / 275.5 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009675/0.1537, allocations: 0.7841 MB / 276.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.1559, allocations: 2.497 MB / 278.8 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.1566, allocations: 0.7918 MB / 279.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/0.1572, allocations: 0.6481 MB / 280.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-05/0.1572, allocations: 9.953 kB / 280.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.1582, allocations: 1.014 MB / 281.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.1582, allocations: 1.156 kB / 281.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001829/0.1601, allocations: 2.025 MB / 283.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.1602, allocations: 282.4 kB / 283.5 MB, free: 2.641 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.1605, allocations: 345.5 kB / 283.9 MB, free: 2.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/0.1606, allocations: 69.3 kB / 283.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1607, allocations: 253.8 kB / 284.2 MB, free: 2.309 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.1609, allocations: 194.5 kB / 284.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.1611, allocations: 231.8 kB / 284.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1612, allocations: 380.2 kB / 285 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.1616, allocations: 0.4916 MB / 285.5 MB, free: 1.578 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.1621, allocations: 0.9506 MB / 286.4 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.1632, allocations: 1.636 MB / 288 MB, free: 15.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.1632, allocations: 2.75 kB / 288 MB, free: 15.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001309/0.1645, allocations: 1.348 MB / 289.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.1647, allocations: 330.3 kB / 289.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.1647, allocations: 12.94 kB / 289.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/0.1647, allocations: 17.94 kB / 289.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.1651, allocations: 185.5 kB / 289.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/0.1651, allocations: 23.67 kB / 289.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.1655, allocations: 121.6 kB / 290.1 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.1655, allocations: 45.58 kB / 290.1 MB, free: 14.55 MB / 282.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,P1.outTransition[1].fed,T1.enabledByOutPlaces,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],P1.enableOut.arcWeight[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,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,T1.firingCon) * 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.0007275/0.1663, allocations: 0.6795 MB / 290.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.1664, allocations: 114.3 kB / 290.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.1675, allocations: 1.183 MB / 292.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.1675, allocations: 8.297 kB / 292.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1675, allocations: 1.312 kB / 292.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1675, allocations: 0.7188 kB / 292.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.1688, allocations: 1.626 MB / 293.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1688, allocations: 1.422 kB / 293.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.417e-05/0.1689, allocations: 31.36 kB / 293.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.169, allocations: 54.48 kB / 293.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.169, allocations: 2.094 kB / 293.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.169, allocations: 39.89 kB / 293.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.169, allocations: 5.781 kB / 293.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.169, allocations: 0 / 293.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.1702, allocations: 1.692 MB / 295.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.1703, allocations: 74.03 kB / 295.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.1705, allocations: 73 kB / 295.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/0.1709, allocations: 308.8 kB / 296 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.171, allocations: 48.64 kB / 296 MB, free: 11.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.24e-05/0.171, allocations: 91.58 kB / 296.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.171, allocations: 3.812 kB / 296.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008151/0.1718, allocations: 347.4 kB / 296.5 MB, free: 11.44 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: 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.0006329/0.1725, allocations: 423.2 kB / 296.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.1739, allocations: 2.025 MB / 298.9 MB, free: 9.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.1739, allocations: 7 kB / 298.9 MB, free: 9.016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.1748, allocations: 1.311 MB / 300.2 MB, free: 7.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1752, allocations: 165.3 kB / 300.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.177, allocations: 1.642 MB / 302 MB, free: 5.707 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.92e-05/0.1771, allocations: 163.7 kB / 302.2 MB, free: 5.535 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.1772, allocations: 67.52 kB / 302.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.1777, allocations: 299.5 kB / 302.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1777, allocations: 4 kB / 302.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of Templates: time 0.01631/0.194, allocations: 14.67 MB / 317.2 MB, free: 6.672 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile [Timeout 660] (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 & ./PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 240] 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 [Calling sys.exit(0), Time elapsed: 3.1214359337463975]