Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 177.9 kB / 15.43 MB, free: 5.762 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.432/1.432, allocations: 225.7 MB / 241.9 MB, free: 392 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.001008/0.001008, allocations: 84.59 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.07145/0.07145, allocations: 17.12 MB / 361.3 MB, free: 8.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 12 kB / 426.6 MB, free: 83.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08763/0.08798, allocations: 54.52 MB / 481.1 MB, free: 29.05 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.00165/0.08967, allocations: 1.628 MB / 482.7 MB, free: 27.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.09256, allocations: 3.531 MB / 486.2 MB, free: 23.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.09289, allocations: 7.938 kB / 486.2 MB, free: 23.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.09318, allocations: 103.3 kB / 486.3 MB, free: 23.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.09358, allocations: 99.38 kB / 486.4 MB, free: 23.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.09468, allocations: 0.5656 MB / 487 MB, free: 22.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007498/0.09544, allocations: 1.174 MB / 488.2 MB, free: 21.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.09572, allocations: 255 kB / 488.4 MB, free: 21.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.09605, allocations: 434.3 kB / 488.9 MB, free: 20.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.09638, allocations: 417.9 kB / 489.3 MB, free: 20.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.09649, allocations: 52 kB / 489.3 MB, free: 20.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.09697, allocations: 351.5 kB / 489.7 MB, free: 20.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.09714, allocations: 195.2 kB / 489.8 MB, free: 19.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003521/0.0975, allocations: 0.4993 MB / 490.3 MB, free: 19.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009467/0.09845, allocations: 1.403 MB / 491.7 MB, free: 17.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.09847, allocations: 0 / 491.7 MB, free: 17.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09848, allocations: 0 / 491.7 MB, free: 17.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.09849, allocations: 0 / 491.7 MB, free: 17.91 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001288/0.09978, allocations: 1.35 MB / 493.1 MB, free: 16.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.09983, allocations: 8.031 kB / 493.1 MB, free: 16.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/0.1007, allocations: 235.6 kB / 493.3 MB, free: 16.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006349/0.1014, allocations: 0.5525 MB / 493.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.1016, allocations: 252.2 kB / 494.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.1018, allocations: 124 kB / 494.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.1042, allocations: 1.962 MB / 496.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.1043, allocations: 3.938 kB / 496.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.1044, allocations: 55.98 kB / 496.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.1045, allocations: 101.9 kB / 496.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.1066, allocations: 1.425 MB / 497.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003956/0.1105, allocations: 3.557 MB / 0.4896 GB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.1122, allocations: 1.839 MB / 0.4914 GB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.1135, allocations: 1.694 MB / 0.4931 GB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.1137, allocations: 93.09 kB / 0.4931 GB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.1149, allocations: 1.087 MB / 0.4942 GB, free: 3.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 3.596e-06/0.1149, allocations: 4 kB / 0.4942 GB, free: 3.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.004157/0.1191, allocations: 3.367 MB / 0.4975 GB, free: 15.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003709/0.1195, allocations: 0.6667 MB / 0.4982 GB, free: 14.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.12, allocations: 0.501 MB / 0.4986 GB, free: 14.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.59e-05/0.1201, allocations: 73.69 kB / 0.4987 GB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.1204, allocations: 383.4 kB / 0.4991 GB, free: 13.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.1206, allocations: 233.2 kB / 0.4993 GB, free: 13.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.1206, allocations: 28 kB / 0.4993 GB, free: 13.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1208, allocations: 390.7 kB / 0.4997 GB, free: 13.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008722/0.1217, allocations: 0.5576 MB / 0.5002 GB, free: 12.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.1229, allocations: 1.03 MB / 0.5012 GB, free: 11.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.1264, allocations: 3.138 MB / 0.5043 GB, free: 7.973 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.1264, allocations: 8 kB / 0.5043 GB, free: 7.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002984/0.1294, allocations: 2.238 MB / 0.5065 GB, free: 5.648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002553/0.1297, allocations: 382.7 kB / 0.5069 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/0.1297, allocations: 20 kB / 0.5069 GB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/0.1298, allocations: 24 kB / 0.5069 GB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.1302, allocations: 163.6 kB / 0.5071 GB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.634e-05/0.1303, allocations: 27.92 kB / 0.5071 GB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.1308, allocations: 174.6 kB / 0.5073 GB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.131, allocations: 72 kB / 0.5073 GB, free: 4.734 MB / 346.7 MB Warning: Assuming fixed start value for the following 21 variables: 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$whenCondition5,P1.disMarksInOut,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,T1.firingCon,P1.reStart,P1.feeding.anytrue,P1.feeding.numtrue,P1.feeding.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.emptying.vec[1],$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.fireIn[1],P1.fireOut[1],P1.enabledByInPlaces[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.active,T1.active,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.00109/0.1321, allocations: 0.9041 MB / 0.5082 GB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.1323, allocations: 87.34 kB / 0.5083 GB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/0.1361, allocations: 2.724 MB / 0.511 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.1361, allocations: 4 kB / 0.511 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1361, allocations: 4 kB / 0.511 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1361, allocations: 3.984 kB / 0.511 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/0.1418, allocations: 4.1 MB / 0.515 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.1418, allocations: 4 kB / 0.515 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.142, allocations: 39.91 kB / 0.515 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.142, allocations: 8 kB / 0.515 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.1421, allocations: 51.97 kB / 0.5151 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1421, allocations: 3.938 kB / 0.5151 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1421, allocations: 0 / 0.5151 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/0.1477, allocations: 4.069 MB / 0.519 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.1478, allocations: 144.1 kB / 0.5192 GB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.1481, allocations: 83.97 kB / 0.5193 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/0.1487, allocations: 115.9 kB / 0.5194 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005718/0.1492, allocations: 359.7 kB / 0.5197 GB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.1494, allocations: 63.97 kB / 0.5198 GB, free: 7.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.1497, allocations: 295.1 kB / 0.5201 GB, free: 7.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1497, allocations: 0 / 0.5201 GB, free: 7.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001104/0.1509, allocations: 399.3 kB / 0.5204 GB, free: 6.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.disMarksInOut,P1.enabledByInPlaces[1],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.disTAin[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.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.disTAout[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.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.outTransition[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.0006664/0.1515, allocations: 388 kB / 0.5208 GB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003077/0.1546, allocations: 2.576 MB / 0.5233 GB, free: 3.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1546, allocations: 0 / 0.5233 GB, free: 3.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00283/0.1575, allocations: 3.438 MB / 0.5267 GB, free: 344 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.1581, allocations: 106.5 kB / 0.5268 GB, free: 236 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1634/0.3215, allocations: 2.428 MB / 0.5292 GB, free: 60.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.3222, allocations: 1.054 MB / 0.5302 GB, free: 60.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00051/0.3227, allocations: 183.1 kB / 0.5304 GB, free: 60 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.3228, allocations: 47.64 kB / 0.5304 GB, free: 60 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3228, allocations: 3.844 kB / 0.5304 GB, free: 60 MB / 362.7 MB Notification: Performance of Templates: time 0.0261/0.3489, allocations: 15.12 MB / 0.5452 GB, free: 54.73 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.makefile (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & ./PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches