Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001076, allocations: 181.7 kB / 15.43 MB, free: 5.773 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.242/1.242, 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.0007613/0.0007613, allocations: 99.22 kB / 293.1 MB, free: 12.88 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.07574/0.07574, allocations: 17.12 MB / 361.3 MB, free: 8.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003, allocations: 12 kB / 426.6 MB, free: 83.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07976/0.08008, allocations: 54.53 MB / 481.1 MB, free: 29.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.001526/0.08164, allocations: 1.529 MB / 482.6 MB, free: 27.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.08473, allocations: 4.184 MB / 486.8 MB, free: 22.85 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.0849, allocations: 4 kB / 486.8 MB, free: 22.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.08515, allocations: 83.44 kB / 486.9 MB, free: 22.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.08542, allocations: 83.44 kB / 487 MB, free: 22.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.08657, allocations: 0.7489 MB / 487.7 MB, free: 21.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.08723, allocations: 1.104 MB / 488.8 MB, free: 20.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.0874, allocations: 140.2 kB / 489 MB, free: 20.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.08771, allocations: 418.5 kB / 489.4 MB, free: 20.28 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.08799, allocations: 270.5 kB / 489.6 MB, free: 20.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.08806, allocations: 32 kB / 489.7 MB, free: 19.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.08852, allocations: 419.4 kB / 490.1 MB, free: 19.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.08865, allocations: 103.5 kB / 490.2 MB, free: 19.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.08889, allocations: 312.2 kB / 490.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.08955, allocations: 0.9466 MB / 491.4 MB, free: 18.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.08957, allocations: 4 kB / 491.4 MB, free: 18.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.08957, allocations: 0 / 491.4 MB, free: 18.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.08959, allocations: 0 / 491.4 MB, free: 18.2 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0009638/0.09056, allocations: 1.075 MB / 492.5 MB, free: 17.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.09059, allocations: 8.031 kB / 492.5 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.09083, allocations: 88.17 kB / 492.6 MB, free: 16.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.09124, allocations: 407.5 kB / 493 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.09132, allocations: 78.69 kB / 493.1 MB, free: 16.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-05/0.09142, allocations: 67.98 kB / 493.1 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.09277, allocations: 1.097 MB / 494.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.09279, allocations: 3.938 kB / 494.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.09287, allocations: 31.98 kB / 494.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.09294, allocations: 48.95 kB / 494.3 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.09393, allocations: 0.7103 MB / 495 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.09635, allocations: 2.978 MB / 498 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.09741, allocations: 1.267 MB / 499.3 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008491/0.09827, allocations: 1.154 MB / 0.4887 GB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.09833, allocations: 85.05 kB / 0.4888 GB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009177/0.09925, allocations: 0.7603 MB / 0.4895 GB, free: 7.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.054e-06/0.09927, allocations: 0 / 0.4895 GB, free: 7.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.002565/0.1018, allocations: 2.098 MB / 0.4916 GB, free: 5.762 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/0.102, allocations: 0.5442 MB / 0.4921 GB, free: 5.113 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.1023, allocations: 376 kB / 0.4925 GB, free: 4.734 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.1024, allocations: 61.69 kB / 0.4925 GB, free: 4.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1025, allocations: 244.6 kB / 0.4927 GB, free: 4.422 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.1026, allocations: 170 kB / 0.4929 GB, free: 4.254 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.1027, allocations: 16 kB / 0.4929 GB, free: 4.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.1028, allocations: 374.7 kB / 0.4933 GB, free: 3.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.1032, allocations: 294.1 kB / 0.4936 GB, free: 3.578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.1037, allocations: 0.6236 MB / 0.4942 GB, free: 2.801 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.1055, allocations: 1.978 MB / 0.4961 GB, free: 0.5234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.1056, allocations: 4 kB / 0.4961 GB, free: 0.5195 MB / 330.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002855/0.1084, allocations: 1.431 MB / 0.4975 GB, free: 15.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.1087, allocations: 317 kB / 0.4978 GB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.1087, allocations: 15.94 kB / 0.4978 GB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.1088, allocations: 16 kB / 0.4978 GB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.1092, allocations: 108.4 kB / 0.4979 GB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-05/0.1093, allocations: 27.92 kB / 0.498 GB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/0.1099, allocations: 99.11 kB / 0.4981 GB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.1101, allocations: 59.92 kB / 0.4981 GB, free: 14.33 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.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 (118): * Single equations (assignments): 108 * 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.001101/0.1112, allocations: 0.6902 MB / 0.4988 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.1114, allocations: 67.44 kB / 0.4989 GB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.1142, allocations: 1.606 MB / 0.5004 GB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1142, allocations: 4 kB / 0.5004 GB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1142, allocations: 0 / 0.5004 GB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1143, allocations: 0 / 0.5004 GB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.1172, allocations: 2.323 MB / 0.5027 GB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1172, allocations: 0 / 0.5027 GB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1174, allocations: 23.92 kB / 0.5027 GB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1174, allocations: 4 kB / 0.5027 GB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.1175, allocations: 31.98 kB / 0.5028 GB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1175, allocations: 4 kB / 0.5028 GB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1175, allocations: 0 / 0.5028 GB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003369/0.1209, allocations: 2.006 MB / 0.5047 GB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.121, allocations: 120.4 kB / 0.5048 GB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/0.1212, allocations: 75.91 kB / 0.5049 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.1218, allocations: 47.97 kB / 0.5049 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/0.122, allocations: 83.91 kB / 0.505 GB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.1222, allocations: 39.98 kB / 0.5051 GB, free: 6.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003069/0.1225, allocations: 231 kB / 0.5053 GB, free: 6.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1225, allocations: 0 / 0.5053 GB, free: 6.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001292/0.1238, allocations: 295.8 kB / 0.5056 GB, free: 6.418 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: 64 ($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,$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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.0009029/0.1247, allocations: 390.8 kB / 0.5059 GB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002882/0.1276, allocations: 1.683 MB / 0.5076 GB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1276, allocations: 0 / 0.5076 GB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00316/0.1308, allocations: 2.713 MB / 0.5102 GB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.1316, allocations: 101.1 kB / 0.5103 GB, free: 1.336 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.1349, allocations: 1.492 MB / 0.5118 GB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.1356, allocations: 0.8955 MB / 0.5127 GB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004954/0.1361, allocations: 124.3 kB / 0.5128 GB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1362, allocations: 39.42 kB / 0.5128 GB, free: 14.73 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1362, allocations: 0 / 0.5128 GB, free: 14.73 MB / 362.7 MB Notification: Performance of Templates: time 0.01704/0.1533, allocations: 10.3 MB / 0.5229 GB, free: 4.359 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TTtoPD.makefile (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","../files/PNlib_PNlib.Examples.DisTest.TTtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches