Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008698/0.00087, allocations: 179 kB / 15.43 MB, free: 5.77 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.256/1.256, allocations: 225.7 MB / 241.9 MB, free: 14.64 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.0007969/0.0007968, allocations: 98.98 kB / 293 MB, free: 4.824 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.1078/0.1078, allocations: 17.12 MB / 361.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 16.75 kB / 426.6 MB, free: 94.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07505/0.07534, allocations: 54.52 MB / 481.1 MB, free: 51.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.001557/0.07695, allocations: 1.535 MB / 482.6 MB, free: 49.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.07997, allocations: 4.158 MB / 486.8 MB, free: 45.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.08019, allocations: 7.938 kB / 486.8 MB, free: 45.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.08044, allocations: 87.38 kB / 486.9 MB, free: 45.18 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.08075, allocations: 99.36 kB / 487 MB, free: 45.08 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.0818, allocations: 0.745 MB / 487.7 MB, free: 44.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.08245, allocations: 1.181 MB / 488.9 MB, free: 43.15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.08269, allocations: 259.1 kB / 489.1 MB, free: 42.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.08299, allocations: 446.3 kB / 489.6 MB, free: 42.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.0833, allocations: 414 kB / 490 MB, free: 42.05 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-05/0.0834, allocations: 52 kB / 490 MB, free: 42 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006169/0.08403, allocations: 0.6553 MB / 490.7 MB, free: 41.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.08417, allocations: 167.2 kB / 490.9 MB, free: 41.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003607/0.08454, allocations: 0.5072 MB / 491.4 MB, free: 40.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.08557, allocations: 1.617 MB / 493 MB, free: 39.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.08558, allocations: 7.938 kB / 493 MB, free: 39.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08559, allocations: 0 / 493 MB, free: 39.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.0856, allocations: 0 / 493 MB, free: 39.03 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001157/0.08676, allocations: 1.335 MB / 494.3 MB, free: 37.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.0868, allocations: 8.031 kB / 494.3 MB, free: 37.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003151/0.08712, allocations: 127.9 kB / 494.5 MB, free: 37.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.08772, allocations: 0.5421 MB / 495 MB, free: 36.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.08784, allocations: 137.4 kB / 495.1 MB, free: 36.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.08799, allocations: 124 kB / 495.2 MB, free: 36.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.09036, allocations: 2.029 MB / 497.3 MB, free: 34.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.09039, allocations: 0 / 497.3 MB, free: 34.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.09056, allocations: 55.98 kB / 497.3 MB, free: 34.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/0.09077, allocations: 97.16 kB / 497.4 MB, free: 34.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.09263, allocations: 1.423 MB / 498.8 MB, free: 32.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.09648, allocations: 4.247 MB / 0.4913 GB, free: 28.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.09833, allocations: 2.398 MB / 0.4936 GB, free: 26.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.09998, allocations: 2.313 MB / 0.4959 GB, free: 23.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.046e-05/0.1001, allocations: 85.09 kB / 0.496 GB, free: 23.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/0.1016, allocations: 1.296 MB / 0.4973 GB, free: 22.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 2.305e-06/0.1016, allocations: 0 / 0.4973 GB, free: 22.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=91): time 0.004624/0.1062, allocations: 3.966 MB / 0.5011 GB, free: 18.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/0.1065, allocations: 0.6574 MB / 0.5018 GB, free: 17.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.1069, allocations: 0.5088 MB / 0.5023 GB, free: 17.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/0.107, allocations: 73.69 kB / 0.5023 GB, free: 16.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1072, allocations: 347.8 kB / 0.5027 GB, free: 16.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.1073, allocations: 237.2 kB / 0.5029 GB, free: 16.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.1074, allocations: 28 kB / 0.5029 GB, free: 16.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.1074, allocations: 386.8 kB / 0.5033 GB, free: 15.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/0.1082, allocations: 0.5498 MB / 0.5038 GB, free: 15.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/0.109, allocations: 1.021 MB / 0.5048 GB, free: 14.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.1116, allocations: 3.188 MB / 0.5079 GB, free: 10.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.056e-06/0.1117, allocations: 8 kB / 0.5079 GB, free: 10.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002441/0.1141, allocations: 2.209 MB / 0.5101 GB, free: 8.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.1142, allocations: 348.9 kB / 0.5104 GB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.1143, allocations: 12 kB / 0.5104 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.1143, allocations: 20.72 kB / 0.5105 GB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.1147, allocations: 163.6 kB / 0.5106 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.1148, allocations: 35.86 kB / 0.5107 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.1153, allocations: 178.5 kB / 0.5108 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/0.1154, allocations: 64 kB / 0.5109 GB, free: 7.48 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 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 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($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,$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,P1.outTransition[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition6,$whenCondition5,P1.tokeninout,T1.outPlaces[1].disTransition,P1.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,P1.reStart,P1.enableIn.disTransition[1],$PRE.P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.T1.firingTime,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,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,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.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.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * 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.0008184/0.1162, allocations: 0.885 MB / 0.5117 GB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.1164, allocations: 95.28 kB / 0.5118 GB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.1202, allocations: 3.356 MB / 0.5151 GB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.1202, allocations: 8 kB / 0.5151 GB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1202, allocations: 0 / 0.5151 GB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1202, allocations: 3.984 kB / 0.5151 GB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/0.126, allocations: 4.747 MB / 0.5198 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.126, allocations: 0 / 0.5198 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.1262, allocations: 35.92 kB / 0.5198 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1262, allocations: 4 kB / 0.5198 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.1263, allocations: 55.95 kB / 0.5199 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1263, allocations: 7.984 kB / 0.5199 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1264, allocations: 4 kB / 0.5199 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004915/0.1313, allocations: 3.469 MB / 0.5233 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.1314, allocations: 144.1 kB / 0.5234 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.1317, allocations: 91.97 kB / 0.5235 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/0.1323, allocations: 99.91 kB / 0.5236 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006207/0.133, allocations: 384.1 kB / 0.5239 GB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.1331, allocations: 59.97 kB / 0.524 GB, free: 9.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003472/0.1335, allocations: 299.1 kB / 0.5243 GB, free: 9.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1335, allocations: 0 / 0.5243 GB, free: 9.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001382/0.1349, allocations: 487.5 kB / 0.5247 GB, free: 8.957 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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,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,P1.outTransition[1].tokenInOut,T1.firingTime,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) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * 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.0008529/0.1357, allocations: 486.8 kB / 0.5252 GB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003499/0.1393, allocations: 2.662 MB / 0.5278 GB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.1393, allocations: 4.062 kB / 0.5278 GB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003856/0.1431, allocations: 4.486 MB / 0.5322 GB, free: 1.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.1438, allocations: 125.5 kB / 0.5323 GB, free: 1.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.1476, allocations: 2.502 MB / 0.5348 GB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006341/0.1482, allocations: 1.022 MB / 0.5358 GB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004879/0.1487, allocations: 209.7 kB / 0.536 GB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1489, allocations: 55.44 kB / 0.536 GB, free: 13.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.645e-06/0.1489, allocations: 0 / 0.536 GB, free: 13.16 MB / 378.7 MB Notification: Performance of Templates: time 0.1725/0.3213, allocations: 17.46 MB / 0.5531 GB, free: 74.47 MB / 378.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & ./PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches