Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009131/0.0009133, allocations: 176.8 kB / 15.43 MB, free: 6.203 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: 396 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.0007348/0.0007347, allocations: 95.14 kB / 293.1 MB, free: 12.91 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.07021/0.07021, allocations: 17.11 MB / 361.3 MB, free: 8.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002902, allocations: 9.547 kB / 426.6 MB, free: 83.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08557, allocations: 54.54 MB / 481.1 MB, free: 29.05 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.001809/0.08743, allocations: 1.532 MB / 482.6 MB, free: 27.51 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.09122, allocations: 4.421 MB / 487 MB, free: 22.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.09156, allocations: 3.938 kB / 487 MB, free: 22.56 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.092, allocations: 95.42 kB / 487.1 MB, free: 22.47 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.09229, allocations: 87.42 kB / 487.2 MB, free: 22.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.09363, allocations: 0.7567 MB / 488 MB, free: 21.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007339/0.09437, allocations: 1.104 MB / 489.1 MB, free: 20.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.09456, allocations: 144.2 kB / 489.2 MB, free: 20.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.09485, allocations: 418.5 kB / 489.6 MB, free: 19.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.09511, allocations: 274.5 kB / 489.9 MB, free: 19.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.09518, allocations: 32 kB / 489.9 MB, free: 19.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.09568, allocations: 443.4 kB / 490.4 MB, free: 19.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.09581, allocations: 115.5 kB / 490.5 MB, free: 19.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.09604, allocations: 316.1 kB / 490.8 MB, free: 18.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.09671, allocations: 0.9777 MB / 491.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.09673, allocations: 4 kB / 491.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09673, allocations: 0 / 491.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.09675, allocations: 0 / 491.8 MB, free: 17.82 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.0009477/0.0977, allocations: 1.112 MB / 492.9 MB, free: 16.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.09774, allocations: 8.031 kB / 492.9 MB, free: 16.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.09797, allocations: 88.11 kB / 493 MB, free: 16.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.09837, allocations: 418.3 kB / 493.4 MB, free: 16.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-05/0.09846, allocations: 70.7 kB / 493.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.793e-05/0.09855, allocations: 67.98 kB / 493.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.0999, allocations: 1.148 MB / 494.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.09992, allocations: 0 / 494.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/0.1, allocations: 43.97 kB / 494.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.989e-05/0.1001, allocations: 48.97 kB / 494.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/0.1011, allocations: 0.7571 MB / 495.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.1035, allocations: 3.029 MB / 498.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.1046, allocations: 1.298 MB / 499.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008709/0.1055, allocations: 1.198 MB / 0.4893 GB, free: 8.152 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.237e-05/0.1056, allocations: 89.11 kB / 0.4894 GB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000994/0.1066, allocations: 0.8287 MB / 0.4902 GB, free: 7.172 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 2.986e-06/0.1066, allocations: 0 / 0.4902 GB, free: 7.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=79): time 0.002639/0.1092, allocations: 2.26 MB / 0.4924 GB, free: 4.855 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/0.1094, allocations: 0.6234 MB / 0.493 GB, free: 4.109 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.1097, allocations: 380.1 kB / 0.4934 GB, free: 3.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.1098, allocations: 65.69 kB / 0.4934 GB, free: 3.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1099, allocations: 240.6 kB / 0.4937 GB, free: 3.414 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.1101, allocations: 205.5 kB / 0.4939 GB, free: 3.211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.1101, allocations: 20 kB / 0.4939 GB, free: 3.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.1102, allocations: 370.8 kB / 0.4942 GB, free: 2.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.1106, allocations: 326.1 kB / 0.4945 GB, free: 2.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.1112, allocations: 0.6786 MB / 0.4952 GB, free: 1.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.1131, allocations: 2.126 MB / 0.4973 GB, free: 15.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.1131, allocations: 4 kB / 0.4973 GB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001907/0.115, allocations: 1.538 MB / 0.4988 GB, free: 13.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.1152, allocations: 346.6 kB / 0.4991 GB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.1152, allocations: 12 kB / 0.4991 GB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.1153, allocations: 16 kB / 0.4991 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.1156, allocations: 123.7 kB / 0.4993 GB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.1157, allocations: 23.88 kB / 0.4993 GB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.116, allocations: 119.4 kB / 0.4994 GB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.1161, allocations: 51.98 kB / 0.4994 GB, free: 12.85 MB / 346.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T2.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$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.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition8,$PRE.P1.reStart,$PRE.T2.fireTime,$PRE.T2.ani,T2.fireTime,T2.ani,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition7,$whenCondition6,P1.tokeninout,$whenCondition3,$PRE.T2.eventIndex,T2.eventIndex,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$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.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T2.firingCon,P1.reStart,P1.enableIn.disTransition[1],$PRE.P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.T2.firingTime,$whenCondition5,$whenCondition4,$whenCondition2,$PRE.P1.t,P1.t,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableIn.arcWeightSum,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,T2.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T2.enabledByInPlaces,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0007512/0.1169, allocations: 0.7394 MB / 0.5002 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.117, allocations: 75.38 kB / 0.5002 GB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.1194, allocations: 1.71 MB / 0.5019 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.1194, allocations: 8 kB / 0.5019 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1194, allocations: 0 / 0.5019 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1194, allocations: 3.984 kB / 0.5019 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.1228, allocations: 2.674 MB / 0.5045 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1228, allocations: 0 / 0.5045 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1229, allocations: 27.86 kB / 0.5046 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.123, allocations: 4 kB / 0.5046 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/0.123, allocations: 35.98 kB / 0.5046 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1231, allocations: 0 / 0.5046 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1231, allocations: 4 kB / 0.5046 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.1258, allocations: 2.144 MB / 0.5067 GB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.1258, allocations: 140.3 kB / 0.5068 GB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.126, allocations: 63.98 kB / 0.5069 GB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.1264, allocations: 59.95 kB / 0.5069 GB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.1266, allocations: 79.92 kB / 0.507 GB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.254e-05/0.1267, allocations: 43.97 kB / 0.5071 GB, free: 4.742 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002118/0.1269, allocations: 235 kB / 0.5073 GB, free: 4.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1269, allocations: 0 / 0.5073 GB, free: 4.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009439/0.1279, allocations: 315.7 kB / 0.5076 GB, free: 4.207 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.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.0006973/0.1286, allocations: 388.1 kB / 0.508 GB, free: 3.836 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.1307, allocations: 1.823 MB / 0.5097 GB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1307, allocations: 0 / 0.5097 GB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002269/0.133, allocations: 2.816 MB / 0.5125 GB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.1336, allocations: 108.8 kB / 0.5126 GB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.1363, allocations: 1.666 MB / 0.5142 GB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.1368, allocations: 0.9114 MB / 0.5151 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003555/0.1372, allocations: 137.2 kB / 0.5152 GB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.1373, allocations: 43.38 kB / 0.5153 GB, free: 12.04 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1373, allocations: 0 / 0.5153 GB, free: 12.04 MB / 362.7 MB Notification: Performance of Templates: time 0.01663/0.1539, allocations: 10.86 MB / 0.5259 GB, free: 1.098 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TEnoInput.makefile (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & ./PNlib_PNlib.Examples.DisTest.TEnoInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","../files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches