Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ZeroPlace.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.ZeroPlace,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroPlace") translateModel(PNlib.Examples.ConTest.ZeroPlace,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroPlace") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 176.6 kB / 15.43 MB, free: 6.199 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.376/1.376, allocations: 225.7 MB / 241.9 MB, free: 388 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.0007383/0.0007383, allocations: 90.39 kB / 293.1 MB, free: 12.9 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.07184/0.07184, allocations: 17.11 MB / 361.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002826, allocations: 8 kB / 426.6 MB, free: 83.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07691/0.07721, allocations: 54.54 MB / 481.1 MB, free: 29.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroPlace): time 0.00222/0.07947, allocations: 2.688 MB / 483.8 MB, free: 26.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004164/0.08365, allocations: 5.681 MB / 489.5 MB, free: 19.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.08402, allocations: 11.94 kB / 489.5 MB, free: 19.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.08439, allocations: 206.7 kB / 489.7 MB, free: 19.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.0849, allocations: 198.8 kB / 489.9 MB, free: 19.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.08639, allocations: 0.991 MB / 490.9 MB, free: 18.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.08778, allocations: 2.36 MB / 493.2 MB, free: 16.22 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.08815, allocations: 378.4 kB / 493.6 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.08881, allocations: 0.8523 MB / 494.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.08938, allocations: 0.715 MB / 495.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.08955, allocations: 80 kB / 495.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006499/0.0902, allocations: 427.4 kB / 495.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.09045, allocations: 326.7 kB / 496 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005414/0.091, allocations: 0.8063 MB / 496.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.09244, allocations: 2.123 MB / 498.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.09246, allocations: 8 kB / 498.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09247, allocations: 0 / 498.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.09249, allocations: 0 / 498.9 MB, free: 10.49 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.001891/0.09438, allocations: 2.085 MB / 0.4892 GB, free: 8.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.09442, allocations: 8.031 kB / 0.4893 GB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.09575, allocations: 378.8 kB / 0.4896 GB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000921/0.09668, allocations: 0.7703 MB / 0.4904 GB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.0969, allocations: 398 kB / 0.4907 GB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.09713, allocations: 195.9 kB / 0.4909 GB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.1008, allocations: 3.16 MB / 0.494 GB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.1008, allocations: 3.938 kB / 0.494 GB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.101, allocations: 103.9 kB / 0.4941 GB, free: 3.012 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/0.1012, allocations: 158.4 kB / 0.4943 GB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002956/0.1041, allocations: 2.275 MB / 0.4965 GB, free: 0.5742 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007309/0.1115, allocations: 6.307 MB / 0.5027 GB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.1147, allocations: 3.064 MB / 0.5056 GB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/0.1174, allocations: 2.751 MB / 0.5083 GB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.1176, allocations: 117.7 kB / 0.5084 GB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002326/0.1199, allocations: 1.751 MB / 0.5102 GB, free: 2.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=154): time 3.216e-06/0.12, allocations: 0 / 0.5102 GB, free: 2.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.008405/0.1284, allocations: 5.776 MB / 0.5158 GB, free: 12.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006927/0.1291, allocations: 1.11 MB / 0.5169 GB, free: 11.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.1302, allocations: 0.7167 MB / 0.5176 GB, free: 10.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.1303, allocations: 109.6 kB / 0.5177 GB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.1307, allocations: 0.527 MB / 0.5182 GB, free: 9.672 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.1311, allocations: 422.9 kB / 0.5186 GB, free: 9.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.1312, allocations: 44 kB / 0.5186 GB, free: 9.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1314, allocations: 435.4 kB / 0.5191 GB, free: 8.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.1327, allocations: 0.9294 MB / 0.52 GB, free: 7.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.1346, allocations: 1.686 MB / 0.5216 GB, free: 5.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/0.1383, allocations: 3.759 MB / 0.5253 GB, free: 1.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/0.1383, allocations: 8 kB / 0.5253 GB, free: 1.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.1815/0.3198, allocations: 3.955 MB / 0.5292 GB, free: 58.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.3202, allocations: 0.7258 MB / 0.5299 GB, free: 57.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00299/0.3232, allocations: 2.245 MB / 0.5321 GB, free: 57.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006985/0.3239, allocations: 269.1 kB / 0.5323 GB, free: 57.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.3246, allocations: 256.5 kB / 0.5326 GB, free: 57.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000548/0.3251, allocations: 0.7759 MB / 0.5333 GB, free: 56.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.3262, allocations: 286.1 kB / 0.5336 GB, free: 56.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.3263, allocations: 125.4 kB / 0.5337 GB, free: 56.42 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: 100 * Number of states: 0 () * Number of discrete variables: 235 ($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,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P2.reStart,T2.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,T2.firingCon,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,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,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,$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,T2.activation.fed[1],T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.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.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T2.activation.tIntIn[1],T2.activation.minTokensInt[1],T2.activation.disPlaceIn[1],T2.activation.arcType[1],T2.activation.testValueInt[1],T2.activation.normalArc[1],T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.disPlaceOut[1],P2.delayPassedIn.vec[1],T2.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1],T1.activation.arcWeightIntOut[1],T1.fire_) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 225 * Array equations: 0 * Algorithm blocks: 22 * 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 {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001441/0.3278, allocations: 1.519 MB / 0.5352 GB, free: 55.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/0.3281, allocations: 150.3 kB / 0.5353 GB, free: 55.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006731/0.3348, allocations: 4.73 MB / 0.54 GB, free: 53.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.3349, allocations: 7.75 kB / 0.54 GB, free: 53.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3349, allocations: 0 / 0.54 GB, free: 53.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.3349, allocations: 4.406 kB / 0.54 GB, free: 53.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009574/0.3445, allocations: 6.784 MB / 0.5466 GB, free: 50.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005731/0.3503, allocations: 4.561 MB / 0.551 GB, free: 48.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.3505, allocations: 58.42 kB / 0.5511 GB, free: 48.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005606/0.3511, allocations: 270 kB / 0.5514 GB, free: 48.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.3513, allocations: 93.95 kB / 0.5514 GB, free: 48.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005182/0.3518, allocations: 0.7585 MB / 0.5522 GB, free: 47.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3518, allocations: 0 / 0.5522 GB, free: 47.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007846/0.3597, allocations: 6.838 MB / 0.5589 GB, free: 41.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.3599, allocations: 193.3 kB / 0.5591 GB, free: 41.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.3602, allocations: 167.9 kB / 0.5592 GB, free: 41.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008613/0.3611, allocations: 167.9 kB / 0.5594 GB, free: 40.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004912/0.3616, allocations: 354.4 kB / 0.5597 GB, free: 40.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/0.3618, allocations: 98.3 kB / 0.5598 GB, free: 40.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003984/0.3622, allocations: 398.8 kB / 0.5602 GB, free: 40.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3622, allocations: 8 kB / 0.5602 GB, free: 40.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001502/0.3637, allocations: 0.6098 MB / 0.5608 GB, free: 39.48 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: 121 ($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,$cse4[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,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,T2.activation.fed[1],T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.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: 108 (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,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.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],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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 (62): * Single equations (assignments): 42 * Array equations: 1 * Algorithm blocks: 18 * 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 {(4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007453/0.3645, allocations: 0.5084 MB / 0.5613 GB, free: 38.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004287/0.3688, allocations: 4.682 MB / 0.5659 GB, free: 34.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3688, allocations: 0 / 0.5659 GB, free: 34.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003451/0.3722, allocations: 5.843 MB / 0.5716 GB, free: 27.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007866/0.373, allocations: 196.4 kB / 0.5717 GB, free: 27.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.3776, allocations: 3.971 MB / 0.5756 GB, free: 23.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.3782, allocations: 1.312 MB / 0.5769 GB, free: 22.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005568/0.3788, allocations: 272.2 kB / 0.5772 GB, free: 22.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3789, allocations: 75.42 kB / 0.5772 GB, free: 22.1 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3789, allocations: 4 kB / 0.5772 GB, free: 22.1 MB / 362.7 MB Notification: Performance of Templates: time 0.03077/0.4097, allocations: 25.21 MB / 0.6019 GB, free: 12.69 MB / 378.7 MB make -j1 -f PNlib_PNlib.Examples.ConTest.ZeroPlace.makefile (rm -f PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe >> ../files/PNlib_PNlib.Examples.ConTest.ZeroPlace.sim & ./PNlib_PNlib.Examples.ConTest.ZeroPlace -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.ZeroPlace_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.ZeroPlace.mat","../files/PNlib_PNlib.Examples.ConTest.ZeroPlace.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches