Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.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.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") translateModel(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 178.2 kB / 15.43 MB, free: 6.211 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.64/1.64, allocations: 225.7 MB / 241.9 MB, free: 188 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.0007786/0.0007786, allocations: 93.44 kB / 293.1 MB, free: 12.86 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: 8.852 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002702, allocations: 13.47 kB / 426.6 MB, free: 83.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07229/0.07258, allocations: 54.52 MB / 481.1 MB, free: 29.02 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.001869/0.07449, allocations: 2.306 MB / 483.4 MB, free: 26.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.07832, allocations: 5.336 MB / 488.7 MB, free: 20.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.07877, allocations: 15.94 kB / 488.7 MB, free: 20.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.07912, allocations: 174.8 kB / 488.9 MB, free: 20.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.0796, allocations: 167 kB / 489.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.08099, allocations: 0.9129 MB / 490 MB, free: 19.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.0822, allocations: 2.11 MB / 492.1 MB, free: 17.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.08253, allocations: 345.9 kB / 492.4 MB, free: 17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/0.08307, allocations: 0.7395 MB / 493.2 MB, free: 16.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.08357, allocations: 0.6607 MB / 493.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.08373, allocations: 80 kB / 493.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.08431, allocations: 415.4 kB / 494.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.08453, allocations: 310.8 kB / 494.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.08506, allocations: 0.7674 MB / 495.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.08636, allocations: 2.049 MB / 497.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.08637, allocations: 0 / 497.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.08638, allocations: 0 / 497.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.0864, allocations: 0 / 497.4 MB, free: 11.97 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.001737/0.08814, allocations: 2.024 MB / 499.5 MB, free: 9.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.08818, allocations: 8.031 kB / 499.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.08953, allocations: 362.9 kB / 499.8 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008984/0.09044, allocations: 0.755 MB / 0.4888 GB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.09067, allocations: 381.8 kB / 0.4892 GB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.0909, allocations: 191.9 kB / 0.4894 GB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.09453, allocations: 3.044 MB / 0.4924 GB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.09458, allocations: 3.938 kB / 0.4924 GB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.09477, allocations: 95.95 kB / 0.4925 GB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/0.09498, allocations: 154.4 kB / 0.4926 GB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/0.09803, allocations: 2.235 MB / 0.4948 GB, free: 2.348 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007563/0.1056, allocations: 5.758 MB / 0.5004 GB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.109, allocations: 2.945 MB / 0.5033 GB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.1117, allocations: 2.76 MB / 0.506 GB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.112, allocations: 113.6 kB / 0.5061 GB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002377/0.1143, allocations: 1.72 MB / 0.5078 GB, free: 4.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=148): time 2.785e-06/0.1144, allocations: 4 kB / 0.5078 GB, free: 4.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=148): time 0.008451/0.1228, allocations: 5.495 MB / 0.5131 GB, free: 15.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00057/0.1234, allocations: 1.069 MB / 0.5142 GB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000837/0.1243, allocations: 0.689 MB / 0.5149 GB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.1244, allocations: 101.7 kB / 0.515 GB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.1248, allocations: 0.5114 MB / 0.5155 GB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.1252, allocations: 395.2 kB / 0.5158 GB, free: 12.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.1253, allocations: 48 kB / 0.5159 GB, free: 12.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1255, allocations: 427.3 kB / 0.5163 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.1269, allocations: 0.902 MB / 0.5172 GB, free: 10.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.1287, allocations: 1.635 MB / 0.5188 GB, free: 8.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.1324, allocations: 3.607 MB / 0.5223 GB, free: 4.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.279e-05/0.1324, allocations: 8 kB / 0.5223 GB, free: 4.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004757/0.1372, allocations: 3.564 MB / 0.5258 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004271/0.1376, allocations: 0.691 MB / 0.5264 GB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1625/0.3002, allocations: 1.831 MB / 0.5282 GB, free: 59.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.3014, allocations: 331.2 kB / 0.5286 GB, free: 59.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/0.3022, allocations: 237.4 kB / 0.5288 GB, free: 59.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005919/0.3028, allocations: 0.7378 MB / 0.5295 GB, free: 58.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.3039, allocations: 273.1 kB / 0.5298 GB, free: 58.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.3041, allocations: 117.1 kB / 0.5299 GB, free: 58.62 MB / 362.7 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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 ) 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 P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 231 ($PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.disTAin[1],P2.enableIn.disTAin[1],$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.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$whenCondition6,P2.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$whenCondition5,P1.disMarksInOut,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$whenCondition1,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P2.reStart,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,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.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition2,$whenCondition3,$whenCondition4,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,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.tIntOut[2],T1.activation.maxTokensInt[2],T1.activation.disPlaceOut[2],P2.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[2],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 21 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001599/0.3057, allocations: 1.471 MB / 0.5313 GB, free: 57.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.306, allocations: 145.2 kB / 0.5314 GB, free: 57.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005515/0.3115, allocations: 4.378 MB / 0.5357 GB, free: 56.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.3116, allocations: 11.5 kB / 0.5357 GB, free: 56.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3116, allocations: 0 / 0.5357 GB, free: 56.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3116, allocations: 6.141 kB / 0.5357 GB, free: 56.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008674/0.3203, allocations: 6.403 MB / 0.542 GB, free: 53.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006197/0.3265, allocations: 4.204 MB / 0.5461 GB, free: 51.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.3269, allocations: 56.91 kB / 0.5462 GB, free: 51.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006164/0.3275, allocations: 230.8 kB / 0.5464 GB, free: 51.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/0.3277, allocations: 87.23 kB / 0.5465 GB, free: 51.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005442/0.3283, allocations: 0.713 MB / 0.5472 GB, free: 51.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3283, allocations: 9.062 kB / 0.5472 GB, free: 51.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008423/0.3367, allocations: 6.498 MB / 0.5535 GB, free: 47.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.3369, allocations: 179.4 kB / 0.5537 GB, free: 47.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/0.3373, allocations: 155.9 kB / 0.5538 GB, free: 47.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.3382, allocations: 163.6 kB / 0.554 GB, free: 47.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005192/0.3387, allocations: 339.6 kB / 0.5543 GB, free: 46.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/0.3389, allocations: 96.88 kB / 0.5544 GB, free: 46.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003511/0.3393, allocations: 386.4 kB / 0.5548 GB, free: 46.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3393, allocations: 0 / 0.5548 GB, free: 46.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001505/0.3408, allocations: 0.587 MB / 0.5553 GB, free: 45.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 119 ($whenCondition1,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.disMarksInOut,$cse3[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[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.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue) * Number of discrete states: 106 (P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition4,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,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],$whenCondition3,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],$whenCondition2,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 40 * Array equations: 1 * Algorithm blocks: 17 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007649/0.3415, allocations: 0.515 MB / 0.5558 GB, free: 45.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004493/0.346, allocations: 4.557 MB / 0.5603 GB, free: 40.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3461, allocations: 5.781 kB / 0.5603 GB, free: 40.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003569/0.3497, allocations: 5.769 MB / 0.5659 GB, free: 34.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008169/0.3505, allocations: 187.4 kB / 0.5661 GB, free: 34.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.3551, allocations: 3.917 MB / 0.5699 GB, free: 30.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.3557, allocations: 1.272 MB / 0.5712 GB, free: 29.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005637/0.3562, allocations: 259.9 kB / 0.5714 GB, free: 28.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3564, allocations: 71.42 kB / 0.5715 GB, free: 28.73 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3564, allocations: 0 / 0.5715 GB, free: 28.73 MB / 362.7 MB Notification: Performance of Templates: time 0.02883/0.3852, allocations: 24 MB / 0.5949 GB, free: 4.512 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.makefile (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.sim & ./PNlib_PNlib.Examples.ConTest.LoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches