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.001256/0.001256, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001439/0.001439, allocations: 173 kB / 23.49 MB, free: 1.059 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.9738/0.9738, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.04969/0.04969, allocations: 12.66 MB / 272.9 MB, free: 0.5742 MB / 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.273e-06/1.273e-06, allocations: 0 / 346.5 MB, free: 2.273 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.429e-05, allocations: 4.703 kB / 346.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.001963/0.001987, allocations: 1.797 MB / 348.3 MB, free: 472 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.004527, allocations: 1.866 MB / 350.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.004804, allocations: 11.94 kB / 350.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.005128, allocations: 123 kB / 350.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.005473, allocations: 143 kB / 350.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.006941, allocations: 0.9508 MB / 351.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.008273, allocations: 1.349 MB / 352.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.008454, allocations: 66.92 kB / 352.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000931/0.009385, allocations: 0.7644 MB / 353.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.009875, allocations: 319 kB / 353.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.009981, allocations: 88 kB / 353.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008017/0.01078, allocations: 0.6121 MB / 354.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.01096, allocations: 155.3 kB / 354.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.01123, allocations: 291.3 kB / 355 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.01245, allocations: 1.083 MB / 356.1 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.01246, allocations: 4 kB / 356.1 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01246, allocations: 0 / 356.1 MB, free: 8.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.01247, allocations: 4 kB / 356.1 MB, free: 8.637 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001397/0.01387, allocations: 1.298 MB / 357.4 MB, free: 7.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01391, allocations: 11.97 kB / 357.4 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.01425, allocations: 164.5 kB / 357.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.01471, allocations: 367.5 kB / 357.9 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.01482, allocations: 113 kB / 358 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.0149, allocations: 79.98 kB / 358.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.01647, allocations: 1.582 MB / 359.7 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.01648, allocations: 3.938 kB / 359.7 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.01655, allocations: 43.98 kB / 359.7 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.759e-05/0.01662, allocations: 52.95 kB / 359.8 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.01781, allocations: 0.9949 MB / 360.8 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.02075, allocations: 3.702 MB / 364.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008759/0.02163, allocations: 0.9022 MB / 365.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007031/0.02233, allocations: 0.826 MB / 366.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.036e-05/0.02239, allocations: 19.97 kB / 366.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.02342, allocations: 1.182 MB / 367.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 2.564e-06/0.02343, allocations: 0 / 367.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.002793/0.02622, allocations: 3.076 MB / 370.5 MB, free: 9.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002223/0.02644, allocations: 0.5308 MB / 371 MB, free: 8.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.02675, allocations: 425.8 kB / 371.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.02682, allocations: 65.69 kB / 371.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.02698, allocations: 315.6 kB / 371.8 MB, free: 7.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.02711, allocations: 206.6 kB / 372 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.02735, allocations: 256.2 kB / 372.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.02751, allocations: 0.543 MB / 372.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.02798, allocations: 0.5929 MB / 373.4 MB, free: 6.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008742/0.02885, allocations: 1.187 MB / 374.6 MB, free: 4.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.03015, allocations: 1.832 MB / 376.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.03016, allocations: 4 kB / 376.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001648/0.03181, allocations: 1.858 MB / 378.3 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.03197, allocations: 329.1 kB / 378.6 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.03199, allocations: 16 kB / 378.6 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.781e-05/0.03203, allocations: 16 kB / 378.6 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.03241, allocations: 163.7 kB / 378.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.03243, allocations: 27.92 kB / 378.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.03274, allocations: 123.3 kB / 378.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.0328, allocations: 56 kB / 379 MB, free: 15.78 MB / 314.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,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[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,T1.enabledByOutPlaces,P1.outTransition[1].fed) * 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.0006413/0.03344, allocations: 0.7108 MB / 379.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.03359, allocations: 135.5 kB / 379.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.03574, allocations: 2.108 MB / 381.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.03576, allocations: 12 kB / 381.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.03577, allocations: 0 / 381.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.03578, allocations: 3.984 kB / 382 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/0.03887, allocations: 2.933 MB / 384.9 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.03888, allocations: 0 / 384.9 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.03899, allocations: 31.92 kB / 384.9 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.039, allocations: 7.828 kB / 384.9 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.03906, allocations: 35.98 kB / 385 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.03906, allocations: 0 / 385 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.03907, allocations: 3.984 kB / 385 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.04141, allocations: 2.653 MB / 387.6 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.04173, allocations: 47.59 kB / 387.7 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.04187, allocations: 75.97 kB / 387.7 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.04212, allocations: 75.94 kB / 387.8 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/0.04254, allocations: 303.7 kB / 388.1 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.04262, allocations: 47.97 kB / 388.2 MB, free: 6.227 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.04275, allocations: 219 kB / 388.4 MB, free: 6.016 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04275, allocations: 4 kB / 388.4 MB, free: 6.012 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009268/0.04368, allocations: 339.5 kB / 388.7 MB, free: 5.68 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: 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.0006464/0.04432, allocations: 400.5 kB / 389.1 MB, free: 5.305 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.04622, allocations: 2.339 MB / 391.4 MB, free: 2.727 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.04622, allocations: 4 kB / 391.4 MB, free: 2.723 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.0473, allocations: 1.494 MB / 392.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.04769, allocations: 96.56 kB / 393 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.05012, allocations: 1.787 MB / 394.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.05022, allocations: 159.9 kB / 395 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.05046, allocations: 141 kB / 395.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.05054, allocations: 48.48 kB / 395.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.05054, allocations: 0 / 395.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of Templates: time 0.0178/0.06835, allocations: 13.57 MB / 408.7 MB, free: 1.215 MB / 330.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 -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.3339059678837657]