Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TATest.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.ExtTest.TATest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TATest") translateModel(PNlib.Examples.ExtTest.TATest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TATest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 177.9 kB / 15.43 MB, free: 6.203 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.262/1.262, allocations: 225.7 MB / 241.9 MB, free: 14.65 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 91.08 kB / 293 MB, free: 4.785 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.0721/0.0721, allocations: 17.12 MB / 361.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 10.03 kB / 426.6 MB, free: 94.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08162/0.08196, allocations: 54.52 MB / 481.1 MB, free: 51.49 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TATest): time 0.003025/0.08503, allocations: 3.527 MB / 484.6 MB, free: 47.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005862/0.09093, allocations: 6.13 MB / 490.7 MB, free: 41.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009174/0.09187, allocations: 15.88 kB / 490.7 MB, free: 41.12 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.09257, allocations: 262.2 kB / 491 MB, free: 40.86 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.09366, allocations: 266.4 kB / 491.3 MB, free: 40.6 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.09586, allocations: 1.104 MB / 492.4 MB, free: 39.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002626/0.0985, allocations: 2.995 MB / 495.4 MB, free: 36.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008816/0.0994, allocations: 0.7832 MB / 496.1 MB, free: 35.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.1009, allocations: 1.109 MB / 497.3 MB, free: 34.55 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.102, allocations: 1.041 MB / 498.3 MB, free: 33.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004819/0.1025, allocations: 120 kB / 498.4 MB, free: 33.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008574/0.1034, allocations: 455.4 kB / 498.9 MB, free: 32.94 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004226/0.1038, allocations: 0.5213 MB / 499.4 MB, free: 32.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009563/0.1048, allocations: 1.202 MB / 0.4889 GB, free: 31.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.1068, allocations: 3.147 MB / 0.4919 GB, free: 28.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1068, allocations: 0 / 0.4919 GB, free: 28.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1068, allocations: 0 / 0.4919 GB, free: 28.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.1069, allocations: 0 / 0.4919 GB, free: 28.05 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.002976/0.1098, allocations: 2.792 MB / 0.4947 GB, free: 25.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1099, allocations: 15.97 kB / 0.4947 GB, free: 25.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.1117, allocations: 0.5241 MB / 0.4952 GB, free: 24.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.1131, allocations: 1.121 MB / 0.4963 GB, free: 23.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/0.1135, allocations: 0.7628 MB / 0.497 GB, free: 22.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.1138, allocations: 324 kB / 0.4973 GB, free: 22.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006156/0.12, allocations: 5.258 MB / 0.5025 GB, free: 16.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.1201, allocations: 7.938 kB / 0.5025 GB, free: 16.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.1204, allocations: 151.9 kB / 0.5026 GB, free: 16.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003345/0.1207, allocations: 280.5 kB / 0.5029 GB, free: 16.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005143/0.1259, allocations: 3.911 MB / 0.5067 GB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.1376, allocations: 10.26 MB / 0.5167 GB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005278/0.1429, allocations: 5.142 MB / 0.5217 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004875/0.1478, allocations: 4.515 MB / 0.5262 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.148, allocations: 126.1 kB / 0.5263 GB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003698/0.1517, allocations: 2.694 MB / 0.5289 GB, free: 5.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=212): time 2.875e-06/0.1517, allocations: 0 / 0.5289 GB, free: 5.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=212): time 0.01299/0.1647, allocations: 8.343 MB / 0.537 GB, free: 12.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007359/0.1655, allocations: 1.298 MB / 0.5383 GB, free: 11.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.1671, allocations: 1.112 MB / 0.5394 GB, free: 10.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002216/0.1673, allocations: 129.7 kB / 0.5395 GB, free: 9.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007648/0.1681, allocations: 0.8811 MB / 0.5404 GB, free: 9.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006445/0.1687, allocations: 0.5672 MB / 0.5409 GB, free: 8.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.1689, allocations: 75.98 kB / 0.541 GB, free: 8.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.1692, allocations: 477.5 kB / 0.5415 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/0.1716, allocations: 1.563 MB / 0.543 GB, free: 6.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.1748, allocations: 2.572 MB / 0.5455 GB, free: 3.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1808/0.3556, allocations: 4.944 MB / 0.5503 GB, free: 70.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.233e-05/0.3557, allocations: 9.031 kB / 0.5503 GB, free: 70.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.008107/0.3638, allocations: 5.497 MB / 0.5557 GB, free: 69.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004043/0.3642, allocations: 0.8074 MB / 0.5565 GB, free: 68.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-05/0.3643, allocations: 41.47 kB / 0.5565 GB, free: 68.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.3655, allocations: 442.1 kB / 0.557 GB, free: 68.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.3667, allocations: 366.5 kB / 0.5573 GB, free: 68.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.3678, allocations: 1.072 MB / 0.5584 GB, free: 67.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.3695, allocations: 429.9 kB / 0.5588 GB, free: 67.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/0.3698, allocations: 172.5 kB / 0.5589 GB, free: 67.8 MB / 378.7 MB Warning: Assuming fixed start value for the following 36 variables: 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.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.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.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 314 ($PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$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.cumEnablingProb[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.remTAout[1],P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.disTAout[1],P2.enableOut.disTAout[1],$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[2],P1.enableOut.cumEnablingProb[2],$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[2],P1.enableOut.remTAout[2],$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[2],P1.enableOut.disTAout[2],$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.P2.disMarksInOut,T3.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,T1.inPlaces[1].tokenInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$whenCondition6,P2.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$whenCondition5,P1.disMarksInOut,T3.inPlaces[2].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T3.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[1].tint,T3.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T2.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,T1.firingCon,P2.reStart,P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[2],P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[1],P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksOut.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[2],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.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.enableOut.TAout[1],P2.enableOut.TEout_[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],TA2.testColor[1],TA2.testColor[2],TA2.testColor[3],T1.activation.arcType[1],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.normalArc[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.arcType[1],T3.activation.fed[1],T3.activation.fed[2],T3.activation.normalArc[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyInputActiveVec[2],T3.activation.NoTokens,T3.fire_,P1.outTransition[1].arcWeightint,P2.outTransition[1].arcWeightint,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.disPlaceOut[1],T3.activation.tIntIn[1],T3.activation.minTokensInt[1],T3.activation.disPlaceIn[1],T3.activation.tIntIn[2],T3.activation.minTokensInt[2],T3.activation.disPlaceIn[2],T3.activation.arcType[2],T3.activation.testValueInt[2],T3.activation.normalArc[2],T3.activation.arcWeightIntIn[2],T3.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T3.activation.testValueInt[1],T1.activation.testValueInt[1],P2.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],TA1.outTransition.arcType,T2.fire_,TA2.outTransition.arcType,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (343): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 23 * 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 {(6,12)} Notification: Performance of prepare postOptimizeDAE: time 0.002306/0.3721, allocations: 1.921 MB / 0.5608 GB, free: 66.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006045/0.3727, allocations: 214 kB / 0.561 GB, free: 66.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009034/0.3818, allocations: 6.707 MB / 0.5676 GB, free: 66.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/0.3818, allocations: 15.28 kB / 0.5676 GB, free: 66.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3818, allocations: 1.188 kB / 0.5676 GB, free: 66.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.3819, allocations: 5.812 kB / 0.5676 GB, free: 66.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.3923, allocations: 9.015 MB / 0.5764 GB, free: 59.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/0.3924, allocations: 8.031 kB / 0.5764 GB, free: 59.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.3928, allocations: 112.6 kB / 0.5765 GB, free: 58.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.3939, allocations: 0.5263 MB / 0.577 GB, free: 58.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/0.3941, allocations: 118.1 kB / 0.5771 GB, free: 58.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000809/0.3949, allocations: 1.038 MB / 0.5781 GB, free: 57.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.395, allocations: 6.812 kB / 0.5781 GB, free: 57.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.4057, allocations: 9.693 MB / 0.5876 GB, free: 47.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.4059, allocations: 238.9 kB / 0.5878 GB, free: 47.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.4064, allocations: 195.9 kB / 0.588 GB, free: 47.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.4077, allocations: 264.5 kB / 0.5883 GB, free: 46.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008522/0.4085, allocations: 0.6994 MB / 0.589 GB, free: 46.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/0.4088, allocations: 134.4 kB / 0.5891 GB, free: 46.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005694/0.4094, allocations: 0.5927 MB / 0.5897 GB, free: 45.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4094, allocations: 0 / 0.5897 GB, free: 45.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001826/0.4112, allocations: 0.867 MB / 0.5905 GB, free: 44.59 MB / 378.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: 158 ($cse6[1],$cse7[1],$cse7[2],$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],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.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],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.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[2].tokenInOut,P2.disMarksInOut,P2.fireIn[1],P2.fireOut[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.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.disTAout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],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.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.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],TA2.testColor[1],TA2.testColor[2],TA2.testColor[3],T1.activation.arcType[1],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.normalArc[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T1.inPlaces[1].tokenInOut,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.arcType[1],T3.activation.fed[1],T3.activation.fed[2],T3.activation.normalArc[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyInputActiveVec[2],T3.activation.NoTokens,T3.fire_,T3.inPlaces[1].tokenInOut) * Number of discrete states: 125 (P2.disMarksInOut,P1.disMarksInOut,P2.fireIn[1],P2.fireOut[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[2],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,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,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],$whenCondition3,P2.enableIn.TEin[1],T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P2.enableOut.TEout_[1],P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$whenCondition4,P2.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[2],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[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[2],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],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 75 * Array equations: 2 * Algorithm blocks: 19 * 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 {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008465/0.4121, allocations: 0.6074 MB / 0.5911 GB, free: 44.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006296/0.4184, allocations: 6.824 MB / 0.5978 GB, free: 36.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4184, allocations: 0 / 0.5978 GB, free: 36.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005164/0.4236, allocations: 8.404 MB / 0.606 GB, free: 28.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4246, allocations: 270.6 kB / 0.6062 GB, free: 28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007823/0.4324, allocations: 6.807 MB / 0.6129 GB, free: 21.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.4335, allocations: 1.7 MB / 0.6145 GB, free: 19.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009/0.4344, allocations: 456.2 kB / 0.615 GB, free: 18.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.4346, allocations: 103.4 kB / 0.6151 GB, free: 18.88 MB / 378.7 MB Notification: Performance of SimCode: time 5.92e-07/0.4346, allocations: 0 / 0.6151 GB, free: 18.88 MB / 378.7 MB Notification: Performance of Templates: time 0.04739/0.482, allocations: 35.23 MB / 0.6495 GB, free: 15.31 MB / 410.7 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TATest.makefile (rm -f PNlib_PNlib.Examples.ExtTest.TATest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TATest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TATest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TATest.sim & ./PNlib_PNlib.Examples.ExtTest.TATest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TATest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TATest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TATest.mat","../files/PNlib_PNlib.Examples.ExtTest.TATest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches