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.001229/0.001229, allocations: 80.94 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.001353/0.001353, allocations: 177 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.8771/0.8771, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.04881/0.04881, allocations: 12.66 MB / 272.9 MB, free: 400 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.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 1.473e-06/1.473e-06, allocations: 0 / 293.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.946e-05, allocations: 2.859 kB / 293.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.005431/0.00545, allocations: 1.751 MB / 295.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005878/0.01133, allocations: 1.933 MB / 297.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.01159, allocations: 10.25 kB / 297.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.0119, allocations: 112.4 kB / 297.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.01223, allocations: 137.9 kB / 297.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.01704, allocations: 0.9743 MB / 298.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.01843, allocations: 1.339 MB / 299.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.01858, allocations: 67.02 kB / 300 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000769/0.01935, allocations: 0.7512 MB / 300.7 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003455/0.02281, allocations: 279.3 kB / 301 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.02292, allocations: 71.09 kB / 301.1 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007736/0.02369, allocations: 0.6059 MB / 301.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.02382, allocations: 138 kB / 301.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.02402, allocations: 231.6 kB / 302 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009386/0.02496, allocations: 0.9731 MB / 303 MB, free: 7.531 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.02497, allocations: 2.719 kB / 303 MB, free: 7.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02497, allocations: 0 / 303 MB, free: 7.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.02498, allocations: 0 / 303 MB, free: 7.531 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.004087/0.02906, allocations: 1.116 MB / 304.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.02909, allocations: 9.625 kB / 304.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.02936, allocations: 128.8 kB / 304.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.02969, allocations: 263.1 kB / 304.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.269e-05/0.02976, allocations: 105.6 kB / 304.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.02985, allocations: 72.08 kB / 304.7 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00087/0.03072, allocations: 1.154 MB / 305.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.03073, allocations: 3.984 kB / 305.8 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.03078, allocations: 37.83 kB / 305.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.505e-05/0.03085, allocations: 41.88 kB / 305.9 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004565/0.03541, allocations: 0.6456 MB / 306.6 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.03711, allocations: 2.257 MB / 308.8 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.03757, allocations: 0.6656 MB / 309.5 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.03791, allocations: 0.5337 MB / 310 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.03794, allocations: 12.62 kB / 310 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003591/0.04154, allocations: 0.8661 MB / 310.9 MB, free: 424 kB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.044e-06/0.04154, allocations: 0 / 310.9 MB, free: 424 kB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.001489/0.04303, allocations: 1.708 MB / 312.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002381/0.04326, allocations: 0.5325 MB / 313.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.04349, allocations: 314.5 kB / 313.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.04356, allocations: 62.72 kB / 313.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.04369, allocations: 237.5 kB / 313.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.04382, allocations: 182.6 kB / 313.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.04404, allocations: 210.9 kB / 314.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.04416, allocations: 372.5 kB / 314.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.04446, allocations: 406.1 kB / 314.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.04494, allocations: 0.8229 MB / 315.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.04597, allocations: 1.398 MB / 317.1 MB, free: 9.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.04598, allocations: 0 / 317.1 MB, free: 9.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00124/0.04722, allocations: 1.151 MB / 318.3 MB, free: 8.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.04737, allocations: 309 kB / 318.6 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.04738, allocations: 16.23 kB / 318.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.04741, allocations: 16 kB / 318.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.04778, allocations: 155.7 kB / 318.7 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.04779, allocations: 15.94 kB / 318.8 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.04808, allocations: 103.3 kB / 318.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.04814, allocations: 43.98 kB / 318.9 MB, free: 7.352 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: 115 ($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],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 (118): * Single equations (assignments): 108 * 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.0005266/0.04867, allocations: 0.6239 MB / 319.5 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.04879, allocations: 103.9 kB / 319.6 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000698/0.04949, allocations: 0.9394 MB / 320.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.0495, allocations: 4 kB / 320.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.0495, allocations: 0 / 320.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.0495, allocations: 4 kB / 320.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/0.05049, allocations: 1.348 MB / 321.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.05049, allocations: 0 / 321.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.05056, allocations: 31.92 kB / 322 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.05056, allocations: 0 / 322 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.05061, allocations: 39.97 kB / 322 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.05062, allocations: 4 kB / 322 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.05062, allocations: 4 kB / 322 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.05176, allocations: 1.468 MB / 323.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.0518, allocations: 47.58 kB / 323.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.05191, allocations: 67.98 kB / 323.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.0521, allocations: 47.97 kB / 323.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.05223, allocations: 86.73 kB / 323.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.05228, allocations: 39.97 kB / 323.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.391e-05/0.05234, allocations: 92.56 kB / 323.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05234, allocations: 0 / 323.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005363/0.05288, allocations: 307.5 kB / 324.1 MB, free: 1.77 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.0005679/0.05345, allocations: 405.8 kB / 324.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.05457, allocations: 1.768 MB / 326.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.05458, allocations: 8.188 kB / 326.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006538/0.05524, allocations: 1.174 MB / 327.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.0555, allocations: 85.45 kB / 327.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.0568, allocations: 1.421 MB / 329 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.537e-05/0.05689, allocations: 147.4 kB / 329.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.05701, allocations: 64.14 kB / 329.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006348/0.05765, allocations: 271.3 kB / 329.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.05765, allocations: 0 / 329.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of Templates: time 0.01273/0.07038, allocations: 11.89 MB / 341.4 MB, free: 172 kB / 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 & ./PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.86644618306309]