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.001189, allocations: 112.6 kB / 16.37 MB, free: 6 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.001046/0.001046, allocations: 196 kB / 17.31 MB, free: 5.613 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07553/0.07553, allocations: 16.72 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.34 kB / 373 MB, free: 48.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09243, allocations: 53.47 MB / 426.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002869/0.09533, allocations: 1.856 MB / 428.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.09798, allocations: 1.909 MB / 430.3 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.0982, allocations: 11.94 kB / 430.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.09849, allocations: 107.1 kB / 430.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.09881, allocations: 115 kB / 430.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1001, allocations: 0.9083 MB / 431.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008879/0.101, allocations: 1.428 MB / 432.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1012, allocations: 156.6 kB / 433 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.1016, allocations: 0.5376 MB / 433.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.1019, allocations: 350.3 kB / 433.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.102, allocations: 88 kB / 434 MB, free: 4.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000487/0.1025, allocations: 0.5072 MB / 434.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1026, allocations: 139.5 kB / 434.6 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.1029, allocations: 398.3 kB / 435 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008292/0.1038, allocations: 1.173 MB / 436.2 MB, free: 2.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1038, allocations: 0 / 436.2 MB, free: 2.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1038, allocations: 0 / 436.2 MB, free: 2.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1038, allocations: 0 / 436.2 MB, free: 2.062 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.001338/0.1051, allocations: 1.271 MB / 437.4 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1052, allocations: 11.89 kB / 437.4 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.1055, allocations: 96.17 kB / 437.5 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/0.106, allocations: 438.7 kB / 438 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-05/0.1061, allocations: 86.98 kB / 438.1 MB, free: 12 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.1062, allocations: 76.03 kB / 438.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.1081, allocations: 1.318 MB / 439.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.1082, allocations: 11.94 kB / 439.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/0.1083, allocations: 36 kB / 439.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.1084, allocations: 52.95 kB / 439.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.1098, allocations: 0.8976 MB / 440.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.114, allocations: 3.317 MB / 443.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.1156, allocations: 1.462 MB / 445.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.1172, allocations: 1.358 MB / 446.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.416e-05/0.1172, allocations: 81.11 kB / 446.7 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.1186, allocations: 0.9032 MB / 447.6 MB, free: 6.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=75): time 2.525e-06/0.1186, allocations: 0 / 447.6 MB, free: 6.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=75): time 0.003899/0.1225, allocations: 2.532 MB / 450.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003729/0.1229, allocations: 0.5598 MB / 450.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.1235, allocations: 421.1 kB / 451.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.483e-05/0.1236, allocations: 69.72 kB / 451.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.1238, allocations: 272.1 kB / 451.4 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.124, allocations: 189.8 kB / 451.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.1243, allocations: 230.5 kB / 451.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.1245, allocations: 374.7 kB / 452.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/0.1253, allocations: 442 kB / 452.6 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009387/0.1262, allocations: 0.8138 MB / 453.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003037/0.1293, allocations: 2.54 MB / 456 MB, free: 13.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.1293, allocations: 4 kB / 456 MB, free: 13.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002607/0.1319, allocations: 1.83 MB / 457.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.1321, allocations: 341 kB / 458.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.1321, allocations: 12 kB / 458.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.1322, allocations: 16.72 kB / 458.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.1325, allocations: 123.6 kB / 458.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.847e-05/0.1326, allocations: 39.84 kB / 458.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.1331, allocations: 126.9 kB / 458.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.1332, allocations: 59.94 kB / 458.5 MB, free: 10.44 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.000934/0.1341, allocations: 0.7452 MB / 459.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.1343, allocations: 75.34 kB / 459.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.1371, allocations: 1.964 MB / 461.3 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.1372, allocations: 4 kB / 461.3 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1372, allocations: 0 / 461.3 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1372, allocations: 4 kB / 461.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/0.1415, allocations: 2.975 MB / 464.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1415, allocations: 3.938 kB / 464.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1416, allocations: 23.92 kB / 464.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.1417, allocations: 4 kB / 464.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.88e-05/0.1418, allocations: 39.98 kB / 464.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1418, allocations: 7.922 kB / 464.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.1418, allocations: 4 kB / 464.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003451/0.1452, allocations: 2.323 MB / 466.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1454, allocations: 124.3 kB / 466.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.1456, allocations: 75.97 kB / 466.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.1461, allocations: 83.88 kB / 466.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000521/0.1466, allocations: 331.6 kB / 467.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/0.1467, allocations: 43.97 kB / 467.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.147, allocations: 251.2 kB / 467.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.147, allocations: 0 / 467.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001116/0.1481, allocations: 335.7 kB / 467.9 MB, free: 0.7539 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.0006954/0.1488, allocations: 381.9 kB / 468.3 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.1514, allocations: 2.07 MB / 470.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1514, allocations: 384 / 470.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002724/0.1542, allocations: 3.066 MB / 473.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.1548, allocations: 107.3 kB / 473.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.1574, allocations: 1.512 MB / 475 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.158, allocations: 0.9154 MB / 475.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.1583, allocations: 149 kB / 476.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.1584, allocations: 51.36 kB / 476.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1584, allocations: 0 / 476.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of Templates: time 0.02188/0.1803, allocations: 13.26 MB / 489.4 MB, free: 10.96 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 gbode -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