Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 180.9 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.328/1.328, allocations: 225.7 MB / 241.9 MB, free: 376 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.0007692/0.0007693, allocations: 91.52 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.07299/0.07299, allocations: 17.12 MB / 361.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002737, allocations: 8.703 kB / 426.6 MB, free: 83.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08154/0.08183, allocations: 54.53 MB / 481.1 MB, free: 29.05 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.001624/0.08349, allocations: 1.529 MB / 482.6 MB, free: 27.51 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.08668, allocations: 4.145 MB / 486.8 MB, free: 22.9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.08687, allocations: 11.94 kB / 486.8 MB, free: 22.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.08714, allocations: 83.44 kB / 486.9 MB, free: 22.81 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.08741, allocations: 83.44 kB / 486.9 MB, free: 22.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.08853, allocations: 0.7411 MB / 487.7 MB, free: 21.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.0892, allocations: 1.115 MB / 488.8 MB, free: 20.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.08939, allocations: 164.4 kB / 489 MB, free: 20.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.0897, allocations: 418.7 kB / 489.4 MB, free: 20.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.08998, allocations: 302.3 kB / 489.7 MB, free: 20 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.09006, allocations: 32 kB / 489.7 MB, free: 19.97 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.09051, allocations: 435.3 kB / 490.1 MB, free: 19.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.09063, allocations: 115.5 kB / 490.2 MB, free: 19.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.0909, allocations: 356 kB / 490.6 MB, free: 19.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.09162, allocations: 1.056 MB / 491.6 MB, free: 18.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09164, allocations: 0 / 491.6 MB, free: 18.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.09165, allocations: 0 / 491.6 MB, free: 18.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.09166, allocations: 4 kB / 491.6 MB, free: 18.01 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001002/0.09267, allocations: 1.135 MB / 492.8 MB, free: 16.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.09271, allocations: 8.031 kB / 492.8 MB, free: 16.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.09295, allocations: 92.17 kB / 492.9 MB, free: 16.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.09339, allocations: 430.2 kB / 493.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.09348, allocations: 82.95 kB / 493.4 MB, free: 16.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.917e-05/0.09359, allocations: 79.98 kB / 493.4 MB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.0952, allocations: 1.318 MB / 494.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.09523, allocations: 0 / 494.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-05/0.09531, allocations: 39.98 kB / 494.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.423e-05/0.0954, allocations: 60.89 kB / 494.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.09666, allocations: 0.9132 MB / 495.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.09945, allocations: 3.321 MB / 499.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.1008, allocations: 1.587 MB / 0.4889 GB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.1018, allocations: 1.447 MB / 0.4904 GB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.1019, allocations: 85.11 kB / 0.4904 GB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.103, allocations: 0.9197 MB / 0.4913 GB, free: 6.066 MB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 2.054e-06/0.103, allocations: 0 / 0.4913 GB, free: 6.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=77): time 0.003139/0.1062, allocations: 2.624 MB / 0.4939 GB, free: 3.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.1064, allocations: 0.5309 MB / 0.4944 GB, free: 2.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.1068, allocations: 421 kB / 0.4948 GB, free: 2.336 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.1068, allocations: 65.69 kB / 0.4949 GB, free: 2.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.107, allocations: 260.4 kB / 0.4951 GB, free: 2.008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.1071, allocations: 189.7 kB / 0.4953 GB, free: 1.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.1072, allocations: 24 kB / 0.4953 GB, free: 1.797 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.1073, allocations: 370.8 kB / 0.4957 GB, free: 1.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.1079, allocations: 446 kB / 0.4961 GB, free: 0.9922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/0.1086, allocations: 0.7968 MB / 0.4969 GB, free: 28 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/0.1114, allocations: 2.558 MB / 0.4994 GB, free: 13.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.1114, allocations: 4 kB / 0.4994 GB, free: 13.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002471/0.1139, allocations: 1.801 MB / 0.5012 GB, free: 11.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.1141, allocations: 341 kB / 0.5015 GB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.1141, allocations: 12.88 kB / 0.5015 GB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.1142, allocations: 16 kB / 0.5015 GB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.1146, allocations: 119.7 kB / 0.5016 GB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.622e-05/0.1146, allocations: 27.86 kB / 0.5017 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.1151, allocations: 143.1 kB / 0.5018 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.609e-05/0.1152, allocations: 55.98 kB / 0.5018 GB, free: 10.5 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: 51 * 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.arcWeight[1],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],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 (134): * Single equations (assignments): 123 * 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.0009215/0.1161, allocations: 0.7539 MB / 0.5026 GB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.1163, allocations: 75.34 kB / 0.5026 GB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/0.1192, allocations: 2.018 MB / 0.5046 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.1193, allocations: 11.98 kB / 0.5046 GB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1193, allocations: 0 / 0.5046 GB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1193, allocations: 3.938 kB / 0.5046 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/0.1235, allocations: 3.045 MB / 0.5076 GB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1235, allocations: 4 kB / 0.5076 GB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.1237, allocations: 31.92 kB / 0.5076 GB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1237, allocations: 0 / 0.5076 GB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.872e-05/0.1238, allocations: 43.92 kB / 0.5077 GB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1238, allocations: 0 / 0.5077 GB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1238, allocations: 3.984 kB / 0.5077 GB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.127, allocations: 2.382 MB / 0.51 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.1271, allocations: 124.4 kB / 0.5101 GB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.1273, allocations: 79.91 kB / 0.5102 GB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.1277, allocations: 75.88 kB / 0.5103 GB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005443/0.1283, allocations: 335.6 kB / 0.5106 GB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.1284, allocations: 47.98 kB / 0.5106 GB, free: 1.184 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002565/0.1287, allocations: 243.2 kB / 0.5109 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1287, allocations: 0 / 0.5109 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001015/0.1297, allocations: 343.6 kB / 0.5112 GB, free: 0.6133 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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.0006707/0.1304, allocations: 391.6 kB / 0.5116 GB, free: 240 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.1328, allocations: 2.084 MB / 0.5136 GB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1329, allocations: 1.812 kB / 0.5136 GB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002525/0.1354, allocations: 3.152 MB / 0.5167 GB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.136, allocations: 107.8 kB / 0.5168 GB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.1386, allocations: 1.797 MB / 0.5186 GB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.1391, allocations: 0.9233 MB / 0.5195 GB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.1394, allocations: 145 kB / 0.5196 GB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.1395, allocations: 43.42 kB / 0.5196 GB, free: 7.715 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1395, allocations: 0 / 0.5196 GB, free: 7.715 MB / 362.7 MB Notification: Performance of Templates: time 0.1765/0.316, allocations: 12.74 MB / 0.5321 GB, free: 58.36 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches