Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.0008243/0.0008243, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001253/0.001253, allocations: 181 kB / 23.36 MB, free: 1.133 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.8729/0.8729, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.05481/0.05481, allocations: 12.66 MB / 272.9 MB, free: 380 kB / 250.7 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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 293.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.55e-05, allocations: 2.859 kB / 293.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.008442/0.008457, allocations: 1.753 MB / 295.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008877/0.01733, allocations: 1.896 MB / 297.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.01759, allocations: 9.062 kB / 297.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.0179, allocations: 116.4 kB / 297.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.01824, allocations: 139.5 kB / 297.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007801/0.02604, allocations: 0.9524 MB / 298.5 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.02734, allocations: 1.347 MB / 299.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.0275, allocations: 69.12 kB / 299.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007474/0.02824, allocations: 0.7478 MB / 300.7 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006449/0.03469, allocations: 283.1 kB / 301 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.0348, allocations: 71.84 kB / 301 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007464/0.03555, allocations: 0.5989 MB / 301.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.03567, allocations: 145.8 kB / 301.8 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.03587, allocations: 235.2 kB / 302 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008933/0.03677, allocations: 0.9696 MB / 303 MB, free: 7.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.03677, allocations: 0.5938 kB / 303 MB, free: 7.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.03677, allocations: 2.188 kB / 303 MB, free: 7.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.03678, allocations: 0 / 303 MB, free: 7.543 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.007049/0.04383, allocations: 1.119 MB / 304.1 MB, free: 6.562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.04386, allocations: 9.406 kB / 304.1 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.04414, allocations: 129.8 kB / 304.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.04446, allocations: 263.2 kB / 304.5 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.04453, allocations: 101.6 kB / 304.6 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.679e-05/0.04462, allocations: 76.52 kB / 304.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008783/0.04549, allocations: 1.165 MB / 305.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.04551, allocations: 0 / 305.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.04556, allocations: 32.73 kB / 305.9 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/0.04563, allocations: 43.84 kB / 305.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/0.04619, allocations: 0.6606 MB / 306.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007634/0.05382, allocations: 2.268 MB / 308.8 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.05429, allocations: 0.6946 MB / 309.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.05462, allocations: 0.5466 MB / 310.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.05466, allocations: 12 kB / 310.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005487/0.05521, allocations: 0.8948 MB / 311 MB, free: 328 kB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 1.663e-06/0.05521, allocations: 0 / 311 MB, free: 328 kB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.004043/0.05925, allocations: 1.745 MB / 312.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002287/0.05948, allocations: 0.5042 MB / 313.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.0597, allocations: 312.5 kB / 313.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.05976, allocations: 58.2 kB / 313.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.05989, allocations: 237 kB / 313.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.06004, allocations: 200.5 kB / 314 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.06025, allocations: 206.4 kB / 314.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.06036, allocations: 370.7 kB / 314.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.06063, allocations: 410.1 kB / 315 MB, free: 11.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.0611, allocations: 0.7987 MB / 315.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.06212, allocations: 1.423 MB / 317.2 MB, free: 9.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.06214, allocations: 4 kB / 317.2 MB, free: 9.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0009915/0.06313, allocations: 1.161 MB / 318.4 MB, free: 7.945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.06327, allocations: 314.5 kB / 318.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.06329, allocations: 8.25 kB / 318.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.06331, allocations: 16 kB / 318.7 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.06367, allocations: 159.7 kB / 318.8 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.06369, allocations: 23.92 kB / 318.9 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.06396, allocations: 95.89 kB / 319 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.06401, allocations: 44 kB / 319 MB, free: 7.238 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: 46 * Number of states: 0 () * Number of discrete variables: 118 ($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,$PRE.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,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.activation.disPlaceOut[1],T1.enabledByInPlaces,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[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 (122): * Single equations (assignments): 112 * 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.0005257/0.06454, allocations: 0.6306 MB / 319.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.06467, allocations: 103.9 kB / 319.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/0.0656, allocations: 0.9677 MB / 320.7 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.06561, allocations: 4 kB / 320.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.06561, allocations: 0 / 320.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.06562, allocations: 3.984 kB / 320.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.06716, allocations: 1.479 MB / 322.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.06716, allocations: 4 kB / 322.2 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.06726, allocations: 31.92 kB / 322.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.06726, allocations: 4 kB / 322.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.06732, allocations: 31.98 kB / 322.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.06732, allocations: 8 kB / 322.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.06732, allocations: 0 / 322.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.06853, allocations: 1.505 MB / 323.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.06858, allocations: 51.53 kB / 323.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.06871, allocations: 63.97 kB / 323.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.06895, allocations: 55.97 kB / 323.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.0691, allocations: 78.67 kB / 324 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.06917, allocations: 43.97 kB / 324.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.06925, allocations: 86.75 kB / 324.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06925, allocations: 0 / 324.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008247/0.07008, allocations: 311.5 kB / 324.5 MB, free: 1.457 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: 67 ($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,T1.active,$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.arcWeight[1],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.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,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 (37): * Single equations (assignments): 25 * 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.00065/0.07073, allocations: 413.8 kB / 324.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.07204, allocations: 1.787 MB / 326.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.07205, allocations: 4 kB / 326.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008399/0.07289, allocations: 1.183 MB / 327.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.07324, allocations: 84.95 kB / 327.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.07503, allocations: 1.558 MB / 329.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.051e-05/0.07513, allocations: 151.8 kB / 329.6 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.07525, allocations: 68.98 kB / 329.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.07565, allocations: 275.2 kB / 330 MB, free: 11.47 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.07565, allocations: 4 kB / 330 MB, free: 11.47 MB / 298.7 MB Notification: Performance of Templates: time 0.01293/0.08858, allocations: 12 MB / 342 MB, free: 15.54 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.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: 2.8574604322202504]