Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 180.1 kB / 15.43 MB, free: 5.766 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.328/1.328, allocations: 225.7 MB / 241.9 MB, free: 212 kB / 186.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.00077/0.00077, allocations: 95.7 kB / 293.1 MB, free: 12.86 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.07086/0.07086, allocations: 17.12 MB / 361.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002863, allocations: 8.562 kB / 426.6 MB, free: 83.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07446/0.07477, allocations: 54.54 MB / 481.1 MB, free: 29.02 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.001602/0.0764, allocations: 1.529 MB / 482.6 MB, free: 27.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003294/0.07972, allocations: 4.176 MB / 486.8 MB, free: 22.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.08004, allocations: 7.938 kB / 486.8 MB, free: 22.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.08031, allocations: 87.44 kB / 486.9 MB, free: 22.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.0806, allocations: 87.42 kB / 487 MB, free: 22.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.08192, allocations: 0.745 MB / 487.7 MB, free: 21.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007161/0.08265, allocations: 1.123 MB / 488.8 MB, free: 20.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.08285, allocations: 152.5 kB / 489 MB, free: 20.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.08315, allocations: 422.6 kB / 489.4 MB, free: 20.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.08345, allocations: 302.3 kB / 489.7 MB, free: 19.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.163e-05/0.08353, allocations: 32 kB / 489.7 MB, free: 19.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.08397, allocations: 423.4 kB / 490.1 MB, free: 19.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.08409, allocations: 119.5 kB / 490.3 MB, free: 19.37 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.08434, allocations: 352.1 kB / 490.6 MB, free: 19.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.08504, allocations: 1.06 MB / 491.7 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.08506, allocations: 0 / 491.7 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.08506, allocations: 0 / 491.7 MB, free: 17.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.08508, allocations: 4 kB / 491.7 MB, free: 17.95 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.0009788/0.08606, allocations: 1.135 MB / 492.8 MB, free: 16.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.0861, allocations: 8.031 kB / 492.8 MB, free: 16.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.08634, allocations: 92.17 kB / 492.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.08677, allocations: 435.2 kB / 493.3 MB, free: 16.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.08685, allocations: 86.98 kB / 493.4 MB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.886e-05/0.08696, allocations: 79.92 kB / 493.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.08851, allocations: 1.322 MB / 494.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.08853, allocations: 0 / 494.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.08862, allocations: 35.98 kB / 494.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-05/0.0887, allocations: 56.89 kB / 494.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.08986, allocations: 0.8898 MB / 495.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.09262, allocations: 3.298 MB / 499.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.09381, allocations: 1.53 MB / 0.4889 GB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009607/0.09478, allocations: 1.354 MB / 0.4902 GB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.09484, allocations: 81.34 kB / 0.4903 GB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.09587, allocations: 0.8968 MB / 0.4912 GB, free: 6.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 1.864e-06/0.09589, allocations: 0 / 0.4912 GB, free: 6.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.002886/0.09878, allocations: 2.523 MB / 0.4936 GB, free: 3.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.09896, allocations: 0.5598 MB / 0.4942 GB, free: 2.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.09927, allocations: 429 kB / 0.4946 GB, free: 2.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.09934, allocations: 69.72 kB / 0.4946 GB, free: 2.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.09946, allocations: 260.3 kB / 0.4949 GB, free: 2.184 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.09958, allocations: 181.8 kB / 0.4951 GB, free: 2.004 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.09962, allocations: 24 kB / 0.4951 GB, free: 1.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.09971, allocations: 370.8 kB / 0.4954 GB, free: 1.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.1002, allocations: 434 kB / 0.4959 GB, free: 1.188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.1009, allocations: 0.784 MB / 0.4966 GB, free: 240 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/0.1035, allocations: 2.51 MB / 0.4991 GB, free: 13.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.1036, allocations: 4 kB / 0.4991 GB, free: 13.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002334/0.1059, allocations: 1.801 MB / 0.5008 GB, free: 11.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.1061, allocations: 337 kB / 0.5012 GB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.1061, allocations: 12 kB / 0.5012 GB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.1062, allocations: 16 kB / 0.5012 GB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.1065, allocations: 115.7 kB / 0.5013 GB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-05/0.1065, allocations: 27.86 kB / 0.5013 GB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.107, allocations: 143.3 kB / 0.5015 GB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/0.1071, allocations: 56 kB / 0.5015 GB, free: 10.77 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,P1.outTransition[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,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.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 (130): * Single equations (assignments): 119 * 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.0007521/0.1079, allocations: 0.748 MB / 0.5022 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.108, allocations: 75.44 kB / 0.5023 GB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.1107, allocations: 1.951 MB / 0.5042 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.1107, allocations: 4 kB / 0.5042 GB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1107, allocations: 7.922 kB / 0.5042 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1107, allocations: 4 kB / 0.5042 GB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.1141, allocations: 2.742 MB / 0.5069 GB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1141, allocations: 0 / 0.5069 GB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1142, allocations: 27.92 kB / 0.5069 GB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1143, allocations: 0 / 0.5069 GB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/0.1143, allocations: 43.91 kB / 0.507 GB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1144, allocations: 4 kB / 0.507 GB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1144, allocations: 4 kB / 0.507 GB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/0.1174, allocations: 2.306 MB / 0.5092 GB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/0.1175, allocations: 124.4 kB / 0.5094 GB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.1177, allocations: 79.91 kB / 0.5094 GB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.1181, allocations: 83.92 kB / 0.5095 GB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005505/0.1187, allocations: 319.7 kB / 0.5098 GB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.1188, allocations: 47.97 kB / 0.5099 GB, free: 1.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000254/0.1191, allocations: 251.2 kB / 0.5101 GB, free: 1.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1191, allocations: 3.938 kB / 0.5101 GB, free: 1.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009505/0.12, allocations: 339.6 kB / 0.5104 GB, free: 1.34 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: 66 ($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,$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,P1.outTransition[1].tokenInOut,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.0007035/0.1208, allocations: 387.4 kB / 0.5108 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002507/0.1233, allocations: 2.042 MB / 0.5128 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1233, allocations: 0 / 0.5128 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002458/0.1258, allocations: 3.058 MB / 0.5158 GB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.1263, allocations: 108.9 kB / 0.5159 GB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.1289, allocations: 1.688 MB / 0.5175 GB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.1294, allocations: 0.9192 MB / 0.5184 GB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000345/0.1298, allocations: 145 kB / 0.5186 GB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-05/0.1299, allocations: 51.42 kB / 0.5186 GB, free: 8.691 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1299, allocations: 0 / 0.5186 GB, free: 8.691 MB / 362.7 MB Notification: Performance of Templates: time 0.1731/0.3029, allocations: 12.59 MB / 0.5309 GB, free: 60.3 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches