Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 178.4 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.341/1.341, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007329/0.000733, allocations: 96.05 kB / 293 MB, free: 4.863 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.07209/0.07209, allocations: 17.12 MB / 361.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002864, allocations: 9.219 kB / 426.5 MB, free: 94.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0828/0.0831, allocations: 54.54 MB / 481.1 MB, free: 51.47 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.001553/0.08469, allocations: 1.526 MB / 482.6 MB, free: 49.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003329/0.08805, allocations: 4.15 MB / 486.8 MB, free: 45.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.08838, allocations: 11.94 kB / 486.8 MB, free: 45.31 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.08866, allocations: 87.42 kB / 486.9 MB, free: 45.22 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.08898, allocations: 75.52 kB / 486.9 MB, free: 45.15 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.09035, allocations: 0.7489 MB / 487.7 MB, free: 44.4 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007969/0.09116, allocations: 1.096 MB / 488.8 MB, free: 43.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.09135, allocations: 148.5 kB / 488.9 MB, free: 43.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004549/0.09182, allocations: 418.5 kB / 489.3 MB, free: 42.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.09215, allocations: 266.5 kB / 489.6 MB, free: 42.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.992e-05/0.09226, allocations: 28 kB / 489.6 MB, free: 42.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004975/0.09276, allocations: 427.3 kB / 490 MB, free: 42.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.09289, allocations: 103.5 kB / 490.1 MB, free: 41.94 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.09315, allocations: 320.1 kB / 490.4 MB, free: 41.62 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.09395, allocations: 0.9427 MB / 491.4 MB, free: 40.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.09396, allocations: 0 / 491.4 MB, free: 40.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09397, allocations: 0 / 491.4 MB, free: 40.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.09399, allocations: 0 / 491.4 MB, free: 40.67 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001125/0.09512, allocations: 1.076 MB / 492.5 MB, free: 39.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.09516, allocations: 12.03 kB / 492.5 MB, free: 39.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.09544, allocations: 88.17 kB / 492.6 MB, free: 39.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.09588, allocations: 398.5 kB / 493 MB, free: 38.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.09597, allocations: 74.69 kB / 493 MB, free: 38.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.09607, allocations: 64 kB / 493.1 MB, free: 38.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.09745, allocations: 1.109 MB / 494.2 MB, free: 37.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.09748, allocations: 0 / 494.2 MB, free: 37.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.09756, allocations: 28 kB / 494.2 MB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/0.09763, allocations: 48.95 kB / 494.3 MB, free: 37.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.0987, allocations: 0.7259 MB / 495 MB, free: 36.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.1012, allocations: 2.986 MB / 498 MB, free: 33.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1023, allocations: 1.279 MB / 499.3 MB, free: 32.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008608/0.1032, allocations: 1.17 MB / 0.4887 GB, free: 31.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/0.1033, allocations: 85.33 kB / 0.4888 GB, free: 31.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008993/0.1042, allocations: 0.7476 MB / 0.4895 GB, free: 30.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=73): time 2.124e-06/0.1042, allocations: 4 kB / 0.4895 GB, free: 30.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.00255/0.1067, allocations: 2.109 MB / 0.4916 GB, free: 28.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.1069, allocations: 0.5364 MB / 0.4921 GB, free: 27.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.1072, allocations: 376 kB / 0.4925 GB, free: 27.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.1073, allocations: 65.69 kB / 0.4925 GB, free: 27.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1074, allocations: 248.6 kB / 0.4928 GB, free: 26.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1075, allocations: 173.8 kB / 0.4929 GB, free: 26.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.1075, allocations: 20 kB / 0.4929 GB, free: 26.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.1076, allocations: 366.8 kB / 0.4933 GB, free: 26.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.108, allocations: 302.1 kB / 0.4936 GB, free: 25.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.1086, allocations: 0.6448 MB / 0.4942 GB, free: 25.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.1102, allocations: 2.035 MB / 0.4962 GB, free: 22.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.1103, allocations: 4 kB / 0.4962 GB, free: 22.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001515/0.1118, allocations: 1.444 MB / 0.4976 GB, free: 21.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/0.1119, allocations: 313 kB / 0.4979 GB, free: 20.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.1119, allocations: 15.94 kB / 0.4979 GB, free: 20.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.1119, allocations: 16.72 kB / 0.4979 GB, free: 20.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.1123, allocations: 119.8 kB / 0.4981 GB, free: 20.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.1123, allocations: 19.94 kB / 0.4981 GB, free: 20.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.1126, allocations: 107 kB / 0.4982 GB, free: 20.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.1127, allocations: 48 kB / 0.4982 GB, free: 20.65 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 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.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 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: 47 * Number of states: 0 () * Number of discrete variables: 118 ($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,$whenCondition7,$PRE.P1.reStart,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition6,$whenCondition5,P1.tokeninout,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,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.firingCon,P1.reStart,P1.enableIn.disTransition[1],$PRE.P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.T1.firingTime,$whenCondition4,$whenCondition3,$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,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.active,T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T1.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 (123): * Single equations (assignments): 113 * Array equations: 0 * 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.0005467/0.1133, allocations: 0.7063 MB / 0.4989 GB, free: 19.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.599e-05/0.1134, allocations: 67.44 kB / 0.499 GB, free: 19.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.1153, allocations: 1.601 MB / 0.5005 GB, free: 18.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1153, allocations: 4 kB / 0.5005 GB, free: 18.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1153, allocations: 4 kB / 0.5005 GB, free: 18.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1153, allocations: 3.984 kB / 0.5006 GB, free: 18.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.118, allocations: 2.526 MB / 0.503 GB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.118, allocations: 0 / 0.503 GB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.1181, allocations: 23.92 kB / 0.503 GB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1181, allocations: 4 kB / 0.503 GB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.1182, allocations: 39.98 kB / 0.5031 GB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1182, allocations: 0 / 0.5031 GB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1182, allocations: 3.984 kB / 0.5031 GB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.1205, allocations: 2.01 MB / 0.5051 GB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.1205, allocations: 128.4 kB / 0.5052 GB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.1207, allocations: 71.97 kB / 0.5052 GB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.121, allocations: 51.97 kB / 0.5053 GB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.1212, allocations: 79.91 kB / 0.5054 GB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.1213, allocations: 39.98 kB / 0.5054 GB, free: 13.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.1215, allocations: 227 kB / 0.5056 GB, free: 12.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1215, allocations: 0 / 0.5056 GB, free: 12.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008085/0.1223, allocations: 311.6 kB / 0.5059 GB, free: 12.48 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.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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,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,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,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 (35): * Single equations (assignments): 23 * Array equations: 0 * 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.0006394/0.1229, allocations: 386.3 kB / 0.5063 GB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.1246, allocations: 1.695 MB / 0.5079 GB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1246, allocations: 3.984 kB / 0.5079 GB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.1261, allocations: 2.711 MB / 0.5106 GB, free: 7.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.1266, allocations: 96.98 kB / 0.5107 GB, free: 7.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.1286, allocations: 1.591 MB / 0.5122 GB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1288, allocations: 0.8997 MB / 0.5131 GB, free: 4.848 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002694/0.1291, allocations: 137.1 kB / 0.5133 GB, free: 4.711 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.1292, allocations: 35.44 kB / 0.5133 GB, free: 4.676 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1292, allocations: 0 / 0.5133 GB, free: 4.676 MB / 346.7 MB Notification: Performance of Templates: time 0.01474/0.1439, allocations: 10.37 MB / 0.5234 GB, free: 10.23 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPD.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","../files/PNlib_PNlib.Examples.DisTest.TDtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches