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.0009679/0.0009679, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.000968/0.000968, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9429/0.9429, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.06338/0.06338, allocations: 12.66 MB / 273.7 MB, free: 344 kB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 347.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.968e-05, allocations: 6.312 kB / 347.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003178/0.003207, allocations: 1.743 MB / 349.5 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.006656, allocations: 1.847 MB / 351.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.006942, allocations: 7.938 kB / 351.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.007306, allocations: 123 kB / 351.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.007686, allocations: 147 kB / 351.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.009715, allocations: 0.9529 MB / 352.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.01129, allocations: 1.353 MB / 353.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.01148, allocations: 65.23 kB / 353.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.01254, allocations: 0.7604 MB / 354.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005931/0.01313, allocations: 323 kB / 355 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.01329, allocations: 88 kB / 355.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007784/0.01406, allocations: 0.616 MB / 355.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.01426, allocations: 151.3 kB / 355.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.01454, allocations: 295.3 kB / 356.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.01564, allocations: 1.079 MB / 357.2 MB, free: 9.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.01564, allocations: 4 kB / 357.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01564, allocations: 0 / 357.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.01565, allocations: 0 / 357.2 MB, free: 9.148 MB / 330.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.001189/0.01684, allocations: 1.314 MB / 358.5 MB, free: 7.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.01688, allocations: 8.031 kB / 358.6 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.01717, allocations: 164.4 kB / 358.7 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.01752, allocations: 343.5 kB / 359.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.01761, allocations: 113 kB / 359.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.01769, allocations: 83.98 kB / 359.2 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.01883, allocations: 1.367 MB / 360.6 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.01885, allocations: 7.938 kB / 360.6 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.01891, allocations: 32 kB / 360.7 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.601e-05/0.01898, allocations: 52.95 kB / 360.7 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.01965, allocations: 0.7695 MB / 361.5 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.02205, allocations: 3.589 MB / 365.1 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.02268, allocations: 0.7297 MB / 365.8 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.02316, allocations: 0.6462 MB / 366.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.02321, allocations: 12 kB / 366.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007548/0.02396, allocations: 1.002 MB / 367.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=77): time 1.803e-06/0.02396, allocations: 3.938 kB / 367.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=77): time 0.002265/0.02623, allocations: 2.635 MB / 370.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002176/0.02645, allocations: 0.5347 MB / 370.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.02671, allocations: 429.6 kB / 371 MB, free: 10.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.02677, allocations: 73.62 kB / 371.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.02693, allocations: 315.7 kB / 371.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.02706, allocations: 210.5 kB / 371.6 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.02729, allocations: 256 kB / 371.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.02745, allocations: 0.5507 MB / 372.4 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.02776, allocations: 495.1 kB / 372.9 MB, free: 8.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.02833, allocations: 1.085 MB / 374 MB, free: 6.996 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.02938, allocations: 1.734 MB / 375.7 MB, free: 4.902 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.02938, allocations: 4 kB / 375.7 MB, free: 4.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001355/0.03074, allocations: 1.698 MB / 377.4 MB, free: 3.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.03088, allocations: 331.9 kB / 377.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.03089, allocations: 12 kB / 377.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.03091, allocations: 16 kB / 377.8 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.03123, allocations: 167.7 kB / 378 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.03125, allocations: 19.94 kB / 378 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.03152, allocations: 123.9 kB / 378.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.03158, allocations: 55.98 kB / 378.1 MB, free: 2.301 MB / 346.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.outTransition[1].fed,T1.enabledByOutPlaces,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005931/0.03218, allocations: 0.7157 MB / 378.9 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.03232, allocations: 127.6 kB / 379 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.03398, allocations: 1.839 MB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.034, allocations: 8 kB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.034, allocations: 0 / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.03401, allocations: 3.984 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.03633, allocations: 2.563 MB / 383.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.03634, allocations: 0 / 383.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/0.03644, allocations: 27.97 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.03644, allocations: 4 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.0365, allocations: 43.92 kB / 383.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.0365, allocations: 4 kB / 383.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.03651, allocations: 4 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.03841, allocations: 2.372 MB / 385.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.03845, allocations: 51.59 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.03858, allocations: 71.97 kB / 386 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.03881, allocations: 71.95 kB / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/0.03916, allocations: 303.7 kB / 386.3 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.03923, allocations: 47.95 kB / 386.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.03934, allocations: 211 kB / 386.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03934, allocations: 0 / 386.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007639/0.0401, allocations: 347.5 kB / 386.9 MB, free: 9.137 MB / 362.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.0005554/0.04065, allocations: 393.1 kB / 387.3 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.04203, allocations: 2.047 MB / 389.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.04203, allocations: 0 / 389.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008405/0.04287, allocations: 1.315 MB / 390.7 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.04324, allocations: 126.9 kB / 390.8 MB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.04498, allocations: 1.661 MB / 392.5 MB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.04509, allocations: 159.9 kB / 392.6 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000153/0.04524, allocations: 73.03 kB / 392.7 MB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.04577, allocations: 338.1 kB / 393 MB, free: 2.566 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.04577, allocations: 0 / 393 MB, free: 2.566 MB / 362.7 MB Notification: Performance of Templates: time 0.01733/0.06309, allocations: 15.01 MB / 408 MB, free: 3.582 MB / 378.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.237621064763516]