Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008794/0.0008795, allocations: 176.2 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 225.7 MB / 241.9 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007155/0.0007156, allocations: 99.28 kB / 293 MB, free: 4.898 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07122/0.07122, allocations: 17.11 MB / 361.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 11.5 kB / 426.5 MB, free: 94.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1109, allocations: 54.53 MB / 481.1 MB, free: 51.45 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.00227/0.1133, allocations: 1.538 MB / 482.6 MB, free: 49.9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005342/0.1186, allocations: 4.148 MB / 486.8 MB, free: 45.29 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006939/0.1194, allocations: 3.938 kB / 486.8 MB, free: 45.29 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.1199, allocations: 91.38 kB / 486.9 MB, free: 45.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005408/0.1205, allocations: 89.83 kB / 486.9 MB, free: 45.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.1225, allocations: 0.7384 MB / 487.7 MB, free: 44.38 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.1238, allocations: 1.119 MB / 488.8 MB, free: 43.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.1241, allocations: 164.7 kB / 489 MB, free: 43.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006877/0.1248, allocations: 422.5 kB / 489.4 MB, free: 42.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005254/0.1254, allocations: 302.3 kB / 489.7 MB, free: 42.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.1255, allocations: 32 kB / 489.7 MB, free: 42.35 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008144/0.1263, allocations: 423.4 kB / 490.1 MB, free: 41.94 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.1265, allocations: 123.4 kB / 490.2 MB, free: 41.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.127, allocations: 356 kB / 490.6 MB, free: 41.46 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.1283, allocations: 1.056 MB / 491.6 MB, free: 40.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1284, allocations: 0 / 491.6 MB, free: 40.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1284, allocations: 0 / 491.6 MB, free: 40.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.1284, allocations: 4 kB / 491.6 MB, free: 40.4 MB / 346.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.001642/0.1301, allocations: 1.123 MB / 492.8 MB, free: 39.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1301, allocations: 8.031 kB / 492.8 MB, free: 39.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/0.1305, allocations: 100.1 kB / 492.9 MB, free: 39.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.1313, allocations: 430.2 kB / 493.3 MB, free: 38.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.1314, allocations: 83 kB / 493.4 MB, free: 38.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.1316, allocations: 83.95 kB / 493.4 MB, free: 38.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.1342, allocations: 1.314 MB / 494.8 MB, free: 37.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.1342, allocations: 3.938 kB / 494.8 MB, free: 37.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.1343, allocations: 43.97 kB / 494.8 MB, free: 37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.1345, allocations: 56.89 kB / 494.9 MB, free: 36.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.1365, allocations: 0.9015 MB / 495.8 MB, free: 36.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.1408, allocations: 3.31 MB / 499.1 MB, free: 32.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.1427, allocations: 1.455 MB / 0.4888 GB, free: 31.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.1444, allocations: 1.354 MB / 0.4901 GB, free: 29.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.361e-05/0.1445, allocations: 81.11 kB / 0.4902 GB, free: 29.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/0.1461, allocations: 0.9072 MB / 0.4911 GB, free: 28.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 3.146e-06/0.1461, allocations: 0 / 0.4911 GB, free: 28.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.004722/0.1509, allocations: 2.536 MB / 0.4936 GB, free: 26.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002559/0.1511, allocations: 0.5598 MB / 0.4941 GB, free: 25.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/0.1517, allocations: 413 kB / 0.4945 GB, free: 25.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.1518, allocations: 73.72 kB / 0.4946 GB, free: 24.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.152, allocations: 268.2 kB / 0.4948 GB, free: 24.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.1522, allocations: 189.7 kB / 0.495 GB, free: 24.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.1523, allocations: 27.98 kB / 0.495 GB, free: 24.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1524, allocations: 374.8 kB / 0.4954 GB, free: 24.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009154/0.1533, allocations: 434 kB / 0.4958 GB, free: 23.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.1544, allocations: 0.8098 MB / 0.4966 GB, free: 22.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.1579, allocations: 2.536 MB / 0.4991 GB, free: 19.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/0.1579, allocations: 4 kB / 0.4991 GB, free: 19.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003172/0.1611, allocations: 1.821 MB / 0.5009 GB, free: 17.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.1613, allocations: 337.9 kB / 0.5012 GB, free: 17.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/0.1613, allocations: 12 kB / 0.5012 GB, free: 17.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.1613, allocations: 23.98 kB / 0.5012 GB, free: 17.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.1619, allocations: 123.7 kB / 0.5013 GB, free: 17.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.796e-05/0.1619, allocations: 35.73 kB / 0.5014 GB, free: 17.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.1627, allocations: 134.9 kB / 0.5015 GB, free: 17.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.1629, allocations: 55.98 kB / 0.5015 GB, free: 17.17 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.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition7,$PRE.P1.reStart,$PRE.P1.tokeninout,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition6,$whenCondition5,P1.tokeninout,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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$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,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,T1.firingCon,P1.reStart,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,$PRE.T1.firingTime,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.enableOut.arcWeightSum,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.active,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],P1.enableOut.arcWeight[1],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.0009736/0.1638, allocations: 0.7471 MB / 0.5023 GB, free: 16.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.164, allocations: 75.44 kB / 0.5024 GB, free: 16.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.1677, allocations: 1.956 MB / 0.5043 GB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.1677, allocations: 7.984 kB / 0.5043 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1677, allocations: 3.938 kB / 0.5043 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1677, allocations: 4 kB / 0.5043 GB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005021/0.1728, allocations: 2.979 MB / 0.5072 GB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.1728, allocations: 0 / 0.5072 GB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.1729, allocations: 31.86 kB / 0.5072 GB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.173, allocations: 3.938 kB / 0.5072 GB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.1731, allocations: 39.98 kB / 0.5073 GB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1731, allocations: 4 kB / 0.5073 GB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1731, allocations: 0 / 0.5073 GB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004121/0.1772, allocations: 2.325 MB / 0.5095 GB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.1773, allocations: 124.4 kB / 0.5096 GB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.1776, allocations: 79.91 kB / 0.5097 GB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/0.1783, allocations: 75.94 kB / 0.5098 GB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007016/0.179, allocations: 327.5 kB / 0.5101 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.1792, allocations: 51.97 kB / 0.5102 GB, free: 8.059 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002968/0.1795, allocations: 247.2 kB / 0.5104 GB, free: 7.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1795, allocations: 0 / 0.5104 GB, free: 7.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001383/0.1809, allocations: 339.7 kB / 0.5107 GB, free: 7.488 MB / 346.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: 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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.inPlaces[1].tokenInOut) * 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.0008978/0.1818, allocations: 392.9 kB / 0.5111 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003113/0.1849, allocations: 2.049 MB / 0.5131 GB, free: 4.938 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1849, allocations: 5.875 kB / 0.5131 GB, free: 4.934 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002914/0.1879, allocations: 3.058 MB / 0.5161 GB, free: 1.777 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008557/0.1887, allocations: 109.7 kB / 0.5162 GB, free: 1.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.192, allocations: 1.701 MB / 0.5179 GB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.1926, allocations: 0.9156 MB / 0.5187 GB, free: 15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005542/0.1932, allocations: 144.7 kB / 0.5189 GB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.1934, allocations: 47.42 kB / 0.5189 GB, free: 14.8 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1934, allocations: 0 / 0.5189 GB, free: 14.8 MB / 362.7 MB Notification: Performance of Templates: time 0.02962/0.223, allocations: 12.7 MB / 0.5313 GB, free: 2.043 MB / 362.7 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 -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","../files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches