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.0008805/0.0008805, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009823/0.0009823, allocations: 165 kB / 23.02 MB, free: 1.547 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.9256/0.9256, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.04998/0.04998, allocations: 12.66 MB / 272.6 MB, free: 488 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.122e-06/1.122e-06, allocations: 0 / 346.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.045e-05, allocations: 2.312 kB / 346.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.001729/0.001749, allocations: 1.8 MB / 348.3 MB, free: 96 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.004229, allocations: 1.874 MB / 350.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.004389, allocations: 11.94 kB / 350.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.004676, allocations: 119 kB / 350.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.00497, allocations: 131.1 kB / 350.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.006135, allocations: 0.9569 MB / 351.4 MB, free: 13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000924/0.007059, allocations: 1.346 MB / 352.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.007184, allocations: 56.41 kB / 352.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005433/0.007728, allocations: 0.7487 MB / 353.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.008028, allocations: 279.1 kB / 353.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.367e-05/0.008102, allocations: 72 kB / 353.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.008645, allocations: 0.6082 MB / 354.5 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.008773, allocations: 135.3 kB / 354.6 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.008964, allocations: 239.4 kB / 354.8 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.009755, allocations: 0.966 MB / 355.8 MB, free: 8.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.009757, allocations: 0 / 355.8 MB, free: 8.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009758, allocations: 0 / 355.8 MB, free: 8.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.009764, allocations: 0 / 355.8 MB, free: 8.559 MB / 282.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.001055/0.01082, allocations: 1.243 MB / 357 MB, free: 7.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.01085, allocations: 8.031 kB / 357 MB, free: 7.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.01109, allocations: 144.5 kB / 357.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.01145, allocations: 335.7 kB / 357.5 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.01153, allocations: 112.9 kB / 357.6 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/0.0116, allocations: 71.92 kB / 357.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.01271, allocations: 1.358 MB / 359.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.01272, allocations: 0 / 359.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.01277, allocations: 31.98 kB / 359.1 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.01282, allocations: 48.95 kB / 359.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007196/0.01354, allocations: 0.8121 MB / 359.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.01563, allocations: 3.379 MB / 363.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.01629, allocations: 0.7699 MB / 364.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.0168, allocations: 0.6813 MB / 364.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.01684, allocations: 8 kB / 364.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007578/0.01759, allocations: 1.021 MB / 365.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 1.443e-06/0.0176, allocations: 0 / 365.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.002102/0.0197, allocations: 2.598 MB / 368.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.01987, allocations: 0.5152 MB / 368.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.0201, allocations: 383.8 kB / 369.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.02015, allocations: 69.69 kB / 369.4 MB, free: 10 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.02027, allocations: 287.8 kB / 369.6 MB, free: 9.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.02038, allocations: 198.6 kB / 369.8 MB, free: 9.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.02056, allocations: 220.2 kB / 370.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.0207, allocations: 0.5391 MB / 370.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.021, allocations: 459.2 kB / 371 MB, free: 8.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.0215, allocations: 1 MB / 372 MB, free: 6.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.02247, allocations: 1.578 MB / 373.6 MB, free: 5.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.02248, allocations: 0 / 373.6 MB, free: 5.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001144/0.02362, allocations: 1.48 MB / 375.1 MB, free: 3.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.02373, allocations: 313 kB / 375.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.02375, allocations: 12 kB / 375.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.02377, allocations: 20.72 kB / 375.4 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.02406, allocations: 147.8 kB / 375.6 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.02407, allocations: 28.17 kB / 375.6 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.02427, allocations: 99.39 kB / 375.7 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.02432, allocations: 52 kB / 375.8 MB, free: 2.707 MB / 298.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,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],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,P1.inTransition[1].emptied) * 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.0004387/0.02476, allocations: 0.6791 MB / 376.4 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.02487, allocations: 111.7 kB / 376.5 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.02635, allocations: 1.714 MB / 378.3 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.02636, allocations: 4 kB / 378.3 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.02636, allocations: 0 / 378.3 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.02636, allocations: 0 / 378.3 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.02845, allocations: 2.462 MB / 380.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02845, allocations: 0 / 380.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.02853, allocations: 31.92 kB / 380.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.02853, allocations: 0 / 380.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.02858, allocations: 39.97 kB / 380.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.02858, allocations: 11.98 kB / 380.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02858, allocations: 0 / 380.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.03033, allocations: 2.306 MB / 383.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.03036, allocations: 47.59 kB / 383.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.03047, allocations: 63.98 kB / 383.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.03065, allocations: 59.95 kB / 383.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.03078, allocations: 79.78 kB / 383.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.03084, allocations: 51.91 kB / 383.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.03094, allocations: 205.1 kB / 383.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03094, allocations: 0 / 383.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000571/0.03151, allocations: 311.5 kB / 383.9 MB, free: 10.18 MB / 314.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.0005644/0.03208, allocations: 396.7 kB / 384.3 MB, free: 9.812 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.03342, allocations: 2.003 MB / 386.3 MB, free: 7.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.03342, allocations: 4 kB / 386.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008559/0.03428, allocations: 1.324 MB / 387.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.03461, allocations: 104.5 kB / 387.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.03632, allocations: 1.65 MB / 389.4 MB, free: 4.258 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.207e-05/0.03641, allocations: 155.9 kB / 389.5 MB, free: 4.086 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.03658, allocations: 116.1 kB / 389.6 MB, free: 3.969 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.03665, allocations: 44.48 kB / 389.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03665, allocations: 0 / 389.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of Templates: time 0.01173/0.04838, allocations: 11.1 MB / 400.8 MB, free: 8.84 MB / 330.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: 3.1745417690835893]