Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.Speed.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.Speed,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.ConTest.Speed") translateModel(PNlib.Examples.ConTest.Speed,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.ConTest.Speed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 178.4 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.288/1.288, allocations: 225.7 MB / 241.9 MB, free: 14.66 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.0008486/0.0008486, allocations: 91.83 kB / 293 MB, free: 4.863 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.07025/0.07025, allocations: 17.12 MB / 361.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 8.406 kB / 426.5 MB, free: 94.6 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0818/0.0822, allocations: 54.52 MB / 481.1 MB, free: 51.47 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.002496/0.08474, allocations: 3.083 MB / 484.2 MB, free: 48.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004429/0.08919, allocations: 6.018 MB / 490.2 MB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004378/0.08964, allocations: 11.88 kB / 490.2 MB, free: 41.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.09005, allocations: 258.4 kB / 490.4 MB, free: 41.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.09062, allocations: 218.6 kB / 490.6 MB, free: 41.19 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.09213, allocations: 1.085 MB / 491.7 MB, free: 40.11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.09368, allocations: 2.707 MB / 494.4 MB, free: 37.39 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005014/0.09419, allocations: 0.5116 MB / 495 MB, free: 36.85 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008141/0.09501, allocations: 1.004 MB / 496 MB, free: 35.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007066/0.09573, allocations: 0.8042 MB / 496.8 MB, free: 35.04 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.09592, allocations: 92 kB / 496.9 MB, free: 34.95 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.09657, allocations: 435.4 kB / 497.3 MB, free: 34.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.09686, allocations: 402.4 kB / 497.7 MB, free: 34.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006012/0.09747, allocations: 0.9072 MB / 498.6 MB, free: 33.21 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.0989, allocations: 2.391 MB / 0.4892 GB, free: 30.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.09892, allocations: 4 kB / 0.4892 GB, free: 30.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.09892, allocations: 3.938 kB / 0.4892 GB, free: 30.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.09895, allocations: 0 / 0.4892 GB, free: 30.8 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.001969/0.1009, allocations: 2.326 MB / 0.4915 GB, free: 28.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.101, allocations: 8.031 kB / 0.4915 GB, free: 28.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.1023, allocations: 406.5 kB / 0.4919 GB, free: 27.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/0.1033, allocations: 0.8794 MB / 0.4928 GB, free: 26.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.1036, allocations: 0.4997 MB / 0.4932 GB, free: 26.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/0.1039, allocations: 224 kB / 0.4935 GB, free: 26.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004423/0.1083, allocations: 3.795 MB / 0.4972 GB, free: 22.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.1084, allocations: 0 / 0.4972 GB, free: 22.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/0.1086, allocations: 108 kB / 0.4973 GB, free: 22.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/0.1088, allocations: 207.1 kB / 0.4975 GB, free: 21.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/0.1123, allocations: 2.769 MB / 0.5002 GB, free: 19.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007511/0.1199, allocations: 7.548 MB / 0.5075 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/0.1229, allocations: 3.644 MB / 0.5111 GB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/0.1253, allocations: 3.207 MB / 0.5142 GB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.1255, allocations: 125.7 kB / 0.5144 GB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002203/0.1277, allocations: 1.993 MB / 0.5163 GB, free: 2.262 MB / 346.7 MB Notification: Performance of pre-optimization done (n=177): time 2.715e-06/0.1277, allocations: 0 / 0.5163 GB, free: 2.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=177): time 0.008573/0.1363, allocations: 6.238 MB / 0.5224 GB, free: 11.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000616/0.137, allocations: 1.151 MB / 0.5235 GB, free: 10.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.138, allocations: 0.8544 MB / 0.5244 GB, free: 9.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.1382, allocations: 113.7 kB / 0.5245 GB, free: 9.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/0.1386, allocations: 0.6476 MB / 0.5251 GB, free: 8.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003838/0.139, allocations: 486.1 kB / 0.5256 GB, free: 8.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1392, allocations: 60 kB / 0.5256 GB, free: 8.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1394, allocations: 452.2 kB / 0.526 GB, free: 7.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.141, allocations: 1.086 MB / 0.5271 GB, free: 6.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.1431, allocations: 1.957 MB / 0.529 GB, free: 4.457 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004024/0.1471, allocations: 4.227 MB / 0.5331 GB, free: 15.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.1471, allocations: 8 kB / 0.5332 GB, free: 15.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.005757/0.1529, allocations: 4.493 MB / 0.5375 GB, free: 10.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004061/0.1533, allocations: 0.7685 MB / 0.5383 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003381/0.1567, allocations: 2.636 MB / 0.5409 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008594/0.1576, allocations: 348.7 kB / 0.5412 GB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/0.1584, allocations: 287.3 kB / 0.5415 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008846/0.1593, allocations: 0.9228 MB / 0.5424 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.1605, allocations: 325.3 kB / 0.5427 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.1608, allocations: 144 kB / 0.5428 GB, free: 5.289 MB / 378.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: 117 * Number of states: 0 () * Number of discrete variables: 265 ($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[2],P1.enableIn.cumEnablingProb[2],$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[2],P1.enableIn.remTAin[2],$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[2],P1.enableIn.disTAin[2],$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,T3.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,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,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P2.reStart,T3.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,T3.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[2].disPlace,P1.inTransition[2].maxTokensint,P1.inTransition[2].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[2],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.fireIn[2],P1.fireIn[2],$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[2],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.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.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.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.disPlaceOut[1],T3.activation.tIntIn[1],T3.activation.minTokensInt[1],T3.activation.disPlaceIn[1],T3.activation.arcType[1],T3.activation.testValueInt[1],T3.activation.normalArc[1],T3.activation.tIntOut[1],T3.activation.maxTokensInt[1],T3.activation.disPlaceOut[1],P2.delayPassedIn.vec[1],T3.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1],T1.activation.arcWeightIntOut[1],T1.fire_,T2.fire_) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 262 * 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 {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001897/0.1627, allocations: 1.681 MB / 0.5445 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.163, allocations: 174.6 kB / 0.5446 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.182/0.345, allocations: 5.183 MB / 0.5497 GB, free: 73.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.3451, allocations: 15.19 kB / 0.5497 GB, free: 73.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3451, allocations: 0 / 0.5497 GB, free: 73.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.3451, allocations: 2.344 kB / 0.5497 GB, free: 73.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.3553, allocations: 7.321 MB / 0.5569 GB, free: 72.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00599/0.3614, allocations: 4.899 MB / 0.5616 GB, free: 71.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.3617, allocations: 78.2 kB / 0.5617 GB, free: 71.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.3627, allocations: 409 kB / 0.5621 GB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/0.3629, allocations: 101.2 kB / 0.5622 GB, free: 71.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006941/0.3636, allocations: 0.8911 MB / 0.5631 GB, free: 71.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3636, allocations: 2.766 kB / 0.5631 GB, free: 71.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009404/0.373, allocations: 7.529 MB / 0.5704 GB, free: 66.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.3732, allocations: 194.9 kB / 0.5706 GB, free: 66.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/0.3736, allocations: 179.9 kB / 0.5708 GB, free: 66.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000989/0.3746, allocations: 184.7 kB / 0.571 GB, free: 66.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005402/0.3752, allocations: 385.7 kB / 0.5713 GB, free: 65.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/0.3754, allocations: 119.9 kB / 0.5714 GB, free: 65.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004238/0.3758, allocations: 467 kB / 0.5719 GB, free: 65.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3758, allocations: 4 kB / 0.5719 GB, free: 65.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001643/0.3775, allocations: 0.689 MB / 0.5726 GB, free: 64.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 133 ($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,$cse5[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.fireIn[2],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.disTAin[1],P1.enableIn.disTAin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.fire_,T3.inPlaces[1].tokenInOut,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: 117 (P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[2],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,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.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_[2],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[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[2],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 (73): * Single equations (assignments): 52 * Array equations: 1 * 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 {(4,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008077/0.3783, allocations: 0.5551 MB / 0.5731 GB, free: 64.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00506/0.3834, allocations: 5.245 MB / 0.5782 GB, free: 58.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3834, allocations: 6.938 kB / 0.5782 GB, free: 58.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004117/0.3875, allocations: 6.606 MB / 0.5847 GB, free: 51.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009521/0.3885, allocations: 214.2 kB / 0.5849 GB, free: 51.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.394, allocations: 4.886 MB / 0.5897 GB, free: 46.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/0.3948, allocations: 1.443 MB / 0.5911 GB, free: 45.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006965/0.3955, allocations: 345.8 kB / 0.5914 GB, free: 44.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.3956, allocations: 91.41 kB / 0.5915 GB, free: 44.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3956, allocations: 0 / 0.5915 GB, free: 44.82 MB / 378.7 MB Notification: Performance of Templates: time 0.05789/0.4535, allocations: 27.67 MB / 0.6185 GB, free: 16.96 MB / 378.7 MB make -j1 -f PNlib_PNlib.Examples.ConTest.Speed.makefile (rm -f PNlib_PNlib.Examples.ConTest.Speed.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.Speed.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.Speed.pipe >> ../files/PNlib_PNlib.Examples.ConTest.Speed.sim & ./PNlib_PNlib.Examples.ConTest.Speed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.Speed.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.Speed_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.Speed.mat","../files/PNlib_PNlib.Examples.ConTest.Speed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches