Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 103.6 kB / 16.35 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 193.4 kB / 17.3 MB, free: 5.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07568/0.07568, allocations: 16.73 MB / 307.9 MB, free: 14.26 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 64.91 kB / 373 MB, free: 48.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0867/0.08806, allocations: 53.48 MB / 426.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003086/0.09121, allocations: 1.858 MB / 428.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.09437, allocations: 1.901 MB / 430.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005471/0.09496, allocations: 11.94 kB / 430.3 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.09563, allocations: 115 kB / 430.4 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.09609, allocations: 115 kB / 430.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.09828, allocations: 0.9083 MB / 431.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.09938, allocations: 1.427 MB / 432.8 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.09962, allocations: 152.5 kB / 433 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/0.1, allocations: 0.5298 MB / 433.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.1004, allocations: 350.4 kB / 433.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.362e-05/0.1005, allocations: 92 kB / 434 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000573/0.1011, allocations: 0.5111 MB / 434.5 MB, free: 3.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.1012, allocations: 139.5 kB / 434.6 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.1015, allocations: 398.3 kB / 435 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009511/0.1025, allocations: 1.165 MB / 436.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1025, allocations: 0 / 436.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1025, allocations: 0 / 436.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1025, allocations: 0 / 436.2 MB, free: 2.215 MB / 302.1 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.001384/0.1039, allocations: 1.275 MB / 437.4 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.104, allocations: 19.89 kB / 437.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.1042, allocations: 88.19 kB / 437.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.1047, allocations: 438.6 kB / 438 MB, free: 260 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.842e-05/0.1048, allocations: 83 kB / 438 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/0.1049, allocations: 75.98 kB / 438.1 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.1069, allocations: 1.326 MB / 439.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1069, allocations: 3.938 kB / 439.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.107, allocations: 43.97 kB / 439.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.672e-05/0.1071, allocations: 52.95 kB / 439.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.1086, allocations: 0.8976 MB / 440.4 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.1125, allocations: 3.306 MB / 443.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.1141, allocations: 1.466 MB / 445.2 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.1156, allocations: 1.358 MB / 446.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.554e-05/0.1157, allocations: 85.09 kB / 446.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/0.1171, allocations: 0.8993 MB / 447.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=75): time 2.144e-06/0.1171, allocations: 0 / 447.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=75): time 0.003842/0.1209, allocations: 2.536 MB / 450.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003902/0.1213, allocations: 0.5598 MB / 450.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.1219, allocations: 425.1 kB / 451.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.747e-05/0.122, allocations: 69.69 kB / 451.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1223, allocations: 268.2 kB / 451.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.1225, allocations: 185.8 kB / 451.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.1228, allocations: 238.4 kB / 451.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.123, allocations: 374.7 kB / 452.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006777/0.1237, allocations: 446 kB / 452.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009939/0.1247, allocations: 0.8137 MB / 453.4 MB, free: 132 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.1278, allocations: 2.54 MB / 456 MB, free: 13.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.1278, allocations: 0 / 456 MB, free: 13.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002779/0.1306, allocations: 1.83 MB / 457.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.1308, allocations: 337.9 kB / 458.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/0.1309, allocations: 12 kB / 458.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.1309, allocations: 23.94 kB / 458.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.1313, allocations: 127.7 kB / 458.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.888e-05/0.1313, allocations: 27.86 kB / 458.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.1319, allocations: 130.9 kB / 458.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.132, allocations: 59.92 kB / 458.5 MB, free: 10.58 MB / 334.1 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: 52 * 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.arcWeight[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.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 (135): * Single equations (assignments): 124 * 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.001254/0.1333, allocations: 0.7419 MB / 459.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.1335, allocations: 79.34 kB / 459.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.1366, allocations: 1.948 MB / 461.3 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.1366, allocations: 12 kB / 461.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1366, allocations: 0 / 461.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.1367, allocations: 3.984 kB / 461.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.1409, allocations: 2.972 MB / 464.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.141, allocations: 0 / 464.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1411, allocations: 27.92 kB / 464.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1411, allocations: 7.922 kB / 464.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.1412, allocations: 47.97 kB / 464.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1412, allocations: 7.938 kB / 464.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1412, allocations: 3.984 kB / 464.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003246/0.1445, allocations: 2.315 MB / 466.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1446, allocations: 132.3 kB / 466.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.1448, allocations: 75.92 kB / 466.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.1453, allocations: 83.86 kB / 466.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005569/0.1459, allocations: 323.7 kB / 467.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.146, allocations: 47.97 kB / 467.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.1463, allocations: 243.2 kB / 467.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1463, allocations: 0 / 467.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00106/0.1474, allocations: 347.6 kB / 467.9 MB, free: 0.8945 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($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.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 (37): * Single equations (assignments): 24 * 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.0006888/0.148, allocations: 371.3 kB / 468.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002684/0.1507, allocations: 2.07 MB / 470.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1508, allocations: 0 / 470.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.1533, allocations: 3.066 MB / 473.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.1539, allocations: 108 kB / 473.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.1565, allocations: 1.52 MB / 475 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.157, allocations: 0.9195 MB / 475.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003548/0.1573, allocations: 144.7 kB / 476.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.1574, allocations: 47.42 kB / 476.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1575, allocations: 0 / 476.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of Templates: time 0.0211/0.1786, allocations: 13.27 MB / 489.4 MB, free: 11.1 MB / 366.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches