Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001009/0.001009, allocations: 177 kB / 23.36 MB, free: 1.137 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.9697/0.9697, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.05012/0.05012, allocations: 12.66 MB / 272.9 MB, free: 360 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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 293.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.133e-05, allocations: 2.312 kB / 293.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002084/0.002095, allocations: 1.792 MB / 295.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.004532, allocations: 1.898 MB / 297.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.004739, allocations: 10.94 kB / 297.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.005013, allocations: 110.5 kB / 297.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.005322, allocations: 145.3 kB / 297.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.006835, allocations: 0.8833 MB / 298.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.008078, allocations: 1.351 MB / 299.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.008257, allocations: 78.67 kB / 300 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007855/0.009042, allocations: 0.7671 MB / 300.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004064/0.009448, allocations: 317.1 kB / 301 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.009557, allocations: 89.03 kB / 301.1 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007509/0.01031, allocations: 0.6607 MB / 301.8 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.01043, allocations: 154 kB / 301.9 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.01064, allocations: 284.1 kB / 302.2 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009487/0.01158, allocations: 1.097 MB / 303.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01159, allocations: 0 / 303.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01159, allocations: 0 / 303.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.0116, allocations: 0 / 303.3 MB, free: 7.234 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.0009564/0.01255, allocations: 1.186 MB / 304.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.01258, allocations: 9.031 kB / 304.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.01283, allocations: 149.8 kB / 304.7 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.01313, allocations: 277.4 kB / 304.9 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.48e-05/0.01319, allocations: 109.4 kB / 305 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.01327, allocations: 81.77 kB / 305.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008226/0.01409, allocations: 1.312 MB / 306.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.01411, allocations: 6.516 kB / 306.4 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.01416, allocations: 39.42 kB / 306.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.988e-05/0.01422, allocations: 52.73 kB / 306.5 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.01478, allocations: 0.7782 MB / 307.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.01619, allocations: 2.513 MB / 309.8 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.01662, allocations: 0.7915 MB / 310.6 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.01694, allocations: 0.6335 MB / 311.2 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.01697, allocations: 11.44 kB / 311.2 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006972/0.01766, allocations: 1.017 MB / 312.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=77): time 2.595e-06/0.01767, allocations: 3.984 kB / 312.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=77): time 0.001367/0.01903, allocations: 1.995 MB / 314.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/0.01922, allocations: 0.5269 MB / 314.8 MB, free: 12.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.01941, allocations: 338.4 kB / 315.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.01947, allocations: 69.69 kB / 315.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.01957, allocations: 251.3 kB / 315.4 MB, free: 11.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.01969, allocations: 202.5 kB / 315.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.01989, allocations: 230.4 kB / 315.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.01999, allocations: 374.6 kB / 316.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.02031, allocations: 498 kB / 316.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.02082, allocations: 0.9319 MB / 317.6 MB, free: 8.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.02187, allocations: 1.638 MB / 319.3 MB, free: 7.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.02188, allocations: 4 kB / 319.3 MB, free: 7.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.0008966/0.02278, allocations: 1.355 MB / 320.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.02289, allocations: 329 kB / 321 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.02291, allocations: 12 kB / 321 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.02293, allocations: 16 kB / 321 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.02322, allocations: 175.7 kB / 321.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.02323, allocations: 20.53 kB / 321.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.02349, allocations: 127.3 kB / 321.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.02355, allocations: 51.98 kB / 321.4 MB, free: 4.762 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,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],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,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 (134): * Single equations (assignments): 123 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004991/0.02405, allocations: 0.6577 MB / 322 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.02416, allocations: 123.8 kB / 322.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.02529, allocations: 1.169 MB / 323.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.0253, allocations: 4 kB / 323.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.02531, allocations: 3.984 kB / 323.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.02531, allocations: 4 kB / 323.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.02668, allocations: 1.747 MB / 325.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.02669, allocations: 11.88 kB / 325.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.02676, allocations: 27.98 kB / 325.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.02676, allocations: 4 kB / 325.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.02682, allocations: 39.97 kB / 325.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02682, allocations: 0 / 325.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02682, allocations: 0 / 325.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.02788, allocations: 1.665 MB / 326.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.02791, allocations: 51.53 kB / 326.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.02803, allocations: 71.97 kB / 326.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.02827, allocations: 79.94 kB / 327 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/0.02861, allocations: 310.4 kB / 327.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.02867, allocations: 43.98 kB / 327.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.563e-05/0.02874, allocations: 92.62 kB / 327.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02874, allocations: 0 / 327.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005709/0.02931, allocations: 343.5 kB / 327.8 MB, free: 13.97 MB / 298.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: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004962/0.02981, allocations: 417.9 kB / 328.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.03124, allocations: 2.014 MB / 330.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.03125, allocations: 4 kB / 330.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.032, allocations: 1.303 MB / 331.5 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.03228, allocations: 105.1 kB / 331.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.03379, allocations: 1.663 MB / 333.3 MB, free: 8.039 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.03388, allocations: 159.9 kB / 333.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.03402, allocations: 68.67 kB / 333.5 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.03452, allocations: 303.3 kB / 333.8 MB, free: 7.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.03452, allocations: 0 / 333.8 MB, free: 7.5 MB / 298.7 MB Notification: Performance of Templates: time 0.01498/0.04951, allocations: 14.64 MB / 348.4 MB, free: 8.965 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.043703118339181]