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.001404/0.001404, allocations: 92.22 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.0009375/0.0009375, allocations: 173 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.9875/0.9875, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.06676/0.06676, allocations: 12.65 MB / 272.6 MB, free: 0.4961 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.703e-06/1.703e-06, allocations: 0 / 346.5 MB, free: 1.934 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.665e-05, allocations: 2.312 kB / 346.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.001945/0.001971, allocations: 1.795 MB / 348.3 MB, free: 128 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.004362, allocations: 1.874 MB / 350.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.004558, allocations: 11.94 kB / 350.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.004873, allocations: 119 kB / 350.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.00519, allocations: 139 kB / 350.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.006624, allocations: 0.9586 MB / 351.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.007797, allocations: 1.353 MB / 352.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.007961, allocations: 61.25 kB / 352.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008553/0.008816, allocations: 0.7565 MB / 353.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.009302, allocations: 326.9 kB / 353.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.009425, allocations: 92 kB / 353.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008336/0.01026, allocations: 0.616 MB / 354.6 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.01042, allocations: 151.3 kB / 354.7 MB, free: 9.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.01073, allocations: 295.3 kB / 355 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.0119, allocations: 1.079 MB / 356.1 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.01191, allocations: 0 / 356.1 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01191, allocations: 0 / 356.1 MB, free: 8.297 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.01192, allocations: 0 / 356.1 MB, free: 8.297 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.00143/0.01334, allocations: 1.306 MB / 357.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.01338, allocations: 15.97 kB / 357.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.01373, allocations: 168.5 kB / 357.6 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.01421, allocations: 359.5 kB / 357.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.01431, allocations: 117 kB / 358 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.01442, allocations: 80 kB / 358.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.01614, allocations: 1.578 MB / 359.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.01616, allocations: 3.938 kB / 359.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.01624, allocations: 43.97 kB / 359.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.724e-05/0.01632, allocations: 52.95 kB / 359.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.0175, allocations: 0.9887 MB / 360.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.02046, allocations: 3.714 MB / 364.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/0.02146, allocations: 0.9054 MB / 365.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000828/0.02228, allocations: 0.8259 MB / 366.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.02232, allocations: 11.98 kB / 366.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.0235, allocations: 1.186 MB / 367.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 1.894e-06/0.0235, allocations: 4 kB / 367.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.003499/0.027, allocations: 3.073 MB / 370.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000235/0.02724, allocations: 0.5308 MB / 371 MB, free: 8.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.02757, allocations: 425.8 kB / 371.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.02775, allocations: 69.69 kB / 371.5 MB, free: 7.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.02793, allocations: 311.7 kB / 371.8 MB, free: 7.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.02809, allocations: 210.5 kB / 372 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.02838, allocations: 248.2 kB / 372.3 MB, free: 7.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.02855, allocations: 0.5469 MB / 372.8 MB, free: 6.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.02909, allocations: 0.5851 MB / 373.4 MB, free: 5.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008261/0.02992, allocations: 1.202 MB / 374.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.03161, allocations: 1.821 MB / 376.4 MB, free: 2.207 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.03162, allocations: 4 kB / 376.4 MB, free: 2.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001959/0.03358, allocations: 1.861 MB / 378.3 MB, free: 212 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.03374, allocations: 329 kB / 378.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.03375, allocations: 12.84 kB / 378.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.03378, allocations: 16 kB / 378.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.03418, allocations: 167.7 kB / 378.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/0.0342, allocations: 28.17 kB / 378.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.03456, allocations: 123.3 kB / 378.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/0.03463, allocations: 56 kB / 379 MB, free: 15.43 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.0005731/0.03521, allocations: 0.7128 MB / 379.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.03538, allocations: 131.6 kB / 379.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.03794, allocations: 2.1 MB / 381.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.03796, allocations: 12 kB / 382 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.03796, allocations: 0 / 382 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.03797, allocations: 0 / 382 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.0412, allocations: 2.937 MB / 384.9 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.0412, allocations: 0 / 384.9 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.04129, allocations: 27.92 kB / 384.9 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.0413, allocations: 3.938 kB / 384.9 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/0.04137, allocations: 47.97 kB / 385 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.04138, allocations: 4 kB / 385 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.04138, allocations: 0 / 385 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.04413, allocations: 2.645 MB / 387.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.04417, allocations: 47.59 kB / 387.7 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.04432, allocations: 75.97 kB / 387.7 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.04462, allocations: 67.95 kB / 387.8 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004408/0.04506, allocations: 311.7 kB / 388.1 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.028e-05/0.04514, allocations: 43.98 kB / 388.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.04528, allocations: 215 kB / 388.4 MB, free: 5.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04528, allocations: 0 / 388.4 MB, free: 5.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009887/0.04627, allocations: 355.4 kB / 388.7 MB, free: 5.332 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.000618/0.04689, allocations: 413.7 kB / 389.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.04892, allocations: 2.34 MB / 391.4 MB, free: 2.371 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.04892, allocations: 4.188 kB / 391.5 MB, free: 2.367 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.05022, allocations: 1.49 MB / 392.9 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.05067, allocations: 104.5 kB / 393 MB, free: 0.625 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.0528, allocations: 1.779 MB / 394.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.05292, allocations: 163.9 kB / 395 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.05317, allocations: 132.5 kB / 395.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.05325, allocations: 44.5 kB / 395.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.05325, allocations: 0 / 395.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of Templates: time 0.118/0.1713, allocations: 14.49 MB / 409.6 MB, free: 72.23 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.386191762983799]