Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDStruncatednormal.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.ExtTest.TDStruncatednormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDStruncatednormal") translateModel(PNlib.Examples.ExtTest.TDStruncatednormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDStruncatednormal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 176.5 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.32/1.32, 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.0007461/0.0007461, allocations: 95.02 kB / 293.1 MB, free: 12.89 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.07029/0.07029, allocations: 17.11 MB / 361.3 MB, free: 8.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 9.953 kB / 426.6 MB, free: 83.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07883/0.07916, allocations: 54.53 MB / 481.1 MB, free: 29.03 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDStruncatednormal): time 0.001973/0.08118, allocations: 2.122 MB / 483.2 MB, free: 26.9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006071/0.08727, allocations: 8.582 MB / 491.8 MB, free: 17.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.08762, allocations: 7.938 kB / 491.8 MB, free: 17.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.08795, allocations: 143 kB / 491.9 MB, free: 17.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.08834, allocations: 147 kB / 492.1 MB, free: 17.1 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.09046, allocations: 1.346 MB / 493.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.09165, allocations: 2.099 MB / 495.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.09193, allocations: 275.9 kB / 495.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/0.09249, allocations: 0.7591 MB / 496.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.09294, allocations: 0.5401 MB / 497.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.09307, allocations: 60 kB / 497.1 MB, free: 12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.09418, allocations: 0.9866 MB / 498.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.09436, allocations: 219 kB / 498.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.09479, allocations: 0.6275 MB / 499 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.09623, allocations: 2.061 MB / 0.4893 GB, free: 8.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09624, allocations: 0 / 0.4893 GB, free: 8.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09625, allocations: 0 / 0.4893 GB, free: 8.098 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.09627, allocations: 7.938 kB / 0.4893 GB, free: 8.09 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.001586/0.09786, allocations: 1.947 MB / 0.4912 GB, free: 5.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.0979, allocations: 12.02 kB / 0.4912 GB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004367/0.09834, allocations: 179.2 kB / 0.4914 GB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007288/0.09908, allocations: 0.6521 MB / 0.492 GB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.0992, allocations: 153.4 kB / 0.4922 GB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.09938, allocations: 148 kB / 0.4923 GB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.102, allocations: 2.34 MB / 0.4946 GB, free: 2.293 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.1021, allocations: 7.938 kB / 0.4946 GB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.1022, allocations: 71.95 kB / 0.4947 GB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.1023, allocations: 97.92 kB / 0.4948 GB, free: 2.121 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.1043, allocations: 1.584 MB / 0.4963 GB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005205/0.1095, allocations: 5.322 MB / 0.5015 GB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.1123, allocations: 2.719 MB / 0.5042 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/0.1148, allocations: 2.559 MB / 0.5067 GB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.1149, allocations: 89.55 kB / 0.5068 GB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/0.1171, allocations: 1.676 MB / 0.5084 GB, free: 3.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=150): time 2.485e-06/0.1171, allocations: 4 kB / 0.5084 GB, free: 3.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=150): time 0.006568/0.1237, allocations: 4.673 MB / 0.513 GB, free: 15.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000624/0.1243, allocations: 1.125 MB / 0.5141 GB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/0.1251, allocations: 0.6698 MB / 0.5147 GB, free: 13.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.1253, allocations: 105.7 kB / 0.5148 GB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.1256, allocations: 404.7 kB / 0.5152 GB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.1259, allocations: 379.6 kB / 0.5156 GB, free: 12.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.1259, allocations: 40 kB / 0.5156 GB, free: 12.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1262, allocations: 435.2 kB / 0.516 GB, free: 11.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.1273, allocations: 0.7459 MB / 0.5167 GB, free: 10.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.1288, allocations: 1.422 MB / 0.5181 GB, free: 9.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005333/0.1342, allocations: 4.777 MB / 0.5228 GB, free: 3.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/0.1342, allocations: 8 kB / 0.5228 GB, free: 3.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004335/0.1385, allocations: 3.346 MB / 0.5261 GB, free: 336 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1737/0.3123, allocations: 0.6906 MB / 0.5267 GB, free: 59.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.003e-05/0.3124, allocations: 20.14 kB / 0.5268 GB, free: 59.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.398e-05/0.3125, allocations: 30.31 kB / 0.5268 GB, free: 59.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009656/0.3134, allocations: 221.3 kB / 0.527 GB, free: 59.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.068e-05/0.3135, allocations: 44.12 kB / 0.527 GB, free: 59.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.3146, allocations: 233.4 kB / 0.5273 GB, free: 59.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.3148, allocations: 106.8 kB / 0.5274 GB, free: 59.05 MB / 362.7 MB Warning: Assuming fixed start value for the following 47 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 P2.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" 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 P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" 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.fire:DISCRETE(fixed = true ) "Does the transition fire?" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 249 ($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,$PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$whenCondition8,$PRE.P2.reStart,$whenCondition5,$PRE.P1.reStart,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition4,$whenCondition3,P1.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition7,$whenCondition6,P2.tokeninout,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.tokeninout,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$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.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,T1.firingCon,P2.reStart,P1.reStart,P2.enableIn.disTransition[1],$PRE.P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,$PRE.T1.putFireTime,$PRE.T1.putDelay,$PRE.T1.state128[1],$PRE.T1.state128[2],$PRE.T1.state128[3],$PRE.T1.state128[4],$PRE.T1.r128,$PRE.T1.fire,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$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,$PRE.P2.t,P2.t,P2.enabledByInPlaces[1],P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.TEin[1],P2.enableIn.arcWeightSum,T1.putFireTime,T1.putDelay,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.active,T1.fire,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P2.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 226 * Array equations: 1 * Algorithm blocks: 22 * 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.001667/0.3165, allocations: 1.384 MB / 0.5287 GB, free: 58.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.3168, allocations: 141.3 kB / 0.5289 GB, free: 58.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00511/0.3219, allocations: 3.611 MB / 0.5324 GB, free: 57.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.3219, allocations: 10.52 kB / 0.5324 GB, free: 57.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3219, allocations: 7.781 kB / 0.5324 GB, free: 57.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3219, allocations: 6.688 kB / 0.5324 GB, free: 57.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005877/0.3278, allocations: 4.933 MB / 0.5372 GB, free: 55.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3278, allocations: 0 / 0.5372 GB, free: 55.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.328, allocations: 52.98 kB / 0.5373 GB, free: 55.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.3281, allocations: 2.75 kB / 0.5373 GB, free: 55.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/0.3282, allocations: 85.44 kB / 0.5374 GB, free: 55.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3283, allocations: 2.75 kB / 0.5374 GB, free: 55.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3283, allocations: 1.5 kB / 0.5374 GB, free: 55.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005709/0.334, allocations: 4.308 MB / 0.5416 GB, free: 53.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.3341, allocations: 179.4 kB / 0.5417 GB, free: 53.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/0.3345, allocations: 154.1 kB / 0.5419 GB, free: 53.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/0.3352, allocations: 121.6 kB / 0.542 GB, free: 53.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006932/0.3359, allocations: 406.1 kB / 0.5424 GB, free: 52.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.3361, allocations: 100.1 kB / 0.5425 GB, free: 52.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004258/0.3366, allocations: 384.7 kB / 0.5429 GB, free: 52.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3366, allocations: 0 / 0.5429 GB, free: 52.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002042/0.3386, allocations: 0.6587 MB / 0.5435 GB, free: 52.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 137 ($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,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,$whenCondition9,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,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,P2.t,P2.tokeninout,P2.enabledByInPlaces[1],P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T1.putFireTime,T1.putDelay,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,T1.active,T1.fire) * Number of discrete states: 110 (P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.activeOut[1],P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.t,P2.t,P1.tokeninout,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.delayPassed,T1.putFireTime,$whenCondition11,T1.putDelay,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition10,T1.fire,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,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,$whenCondition13,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition12,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableOut.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,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 (65): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 17 * 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.001297/0.3399, allocations: 0.704 MB / 0.5442 GB, free: 52.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004384/0.3443, allocations: 3.979 MB / 0.5481 GB, free: 50.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3443, allocations: 1.094 kB / 0.5481 GB, free: 50.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003659/0.348, allocations: 5.949 MB / 0.5539 GB, free: 45.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.349, allocations: 202.9 kB / 0.5541 GB, free: 45.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.353, allocations: 3.248 MB / 0.5572 GB, free: 42.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.3534, allocations: 1.142 MB / 0.5584 GB, free: 41.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005447/0.354, allocations: 252.2 kB / 0.5586 GB, free: 41.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3541, allocations: 71.42 kB / 0.5587 GB, free: 41.4 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3541, allocations: 8 kB / 0.5587 GB, free: 41.39 MB / 362.7 MB Notification: Performance of Templates: time 0.02803/0.3822, allocations: 23.4 MB / 0.5815 GB, free: 17.88 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TDStruncatednormal.makefile (rm -f PNlib_PNlib.Examples.ExtTest.TDStruncatednormal.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TDStruncatednormal.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TDStruncatednormal.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TDStruncatednormal.sim & ./PNlib_PNlib.Examples.ExtTest.TDStruncatednormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TDStruncatednormal.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TDStruncatednormal_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TDStruncatednormal.mat","../files/PNlib_PNlib.Examples.ExtTest.TDStruncatednormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches