Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TATest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.ExtTest.TATest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TATest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TATest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TATest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00833/0.00833, allocations: 94.8 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 206.3 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2428/0.2428, allocations: 16.75 MB / 307.3 MB, free: 14.83 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.86 kB / 425.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1121, allocations: 53.48 MB / 479.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TATest): time 0.003988/0.1161, allocations: 3.897 MB / 483.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.1208, allocations: 2.811 MB / 486.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.1219, allocations: 25.06 kB / 486.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006724/0.1225, allocations: 343.4 kB / 486.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.1237, allocations: 445.7 kB / 486.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.1263, allocations: 1.233 MB / 488.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003396/0.1297, allocations: 3.633 MB / 491.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007976/0.1305, allocations: 0.81 MB / 492.5 MB, free: 24 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.1326, allocations: 1.48 MB / 494 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.1345, allocations: 1.256 MB / 495.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005742/0.1351, allocations: 332 kB / 495.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.1364, allocations: 0.7219 MB / 496.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006478/0.1371, allocations: 0.6735 MB / 497 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.1389, allocations: 1.412 MB / 498.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005401/0.1443, allocations: 3.71 MB / 0.4903 GB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.1444, allocations: 8 kB / 0.4903 GB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1444, allocations: 3.938 kB / 0.4903 GB, free: 6.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.173e-05/0.1445, allocations: 0 / 0.4903 GB, free: 6.402 MB / 366.1 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.006199/0.1507, allocations: 3.439 MB / 0.4937 GB, free: 2.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.1507, allocations: 11.89 kB / 0.4937 GB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006193/0.1514, allocations: 460.8 kB / 0.4942 GB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.1537, allocations: 0.5255 MB / 0.4947 GB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.1557, allocations: 1.125 MB / 0.4958 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006724/0.1563, allocations: 0.7667 MB / 0.4965 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004503/0.1568, allocations: 312 kB / 0.4968 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008602/0.1654, allocations: 5.254 MB / 0.5019 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.654e-05/0.1655, allocations: 11.88 kB / 0.502 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/0.1659, allocations: 148 kB / 0.5021 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004293/0.1663, allocations: 284.5 kB / 0.5024 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006858/0.1732, allocations: 3.895 MB / 0.5062 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01856/0.1918, allocations: 10.22 MB / 0.5161 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006418/0.1982, allocations: 5.094 MB / 0.5211 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005871/0.2042, allocations: 4.503 MB / 0.5255 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004008/0.2046, allocations: 296.3 kB / 0.5258 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004662/0.2093, allocations: 2.682 MB / 0.5284 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=212): time 4.759e-06/0.2093, allocations: 0 / 0.5284 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=212): time 0.01678/0.2261, allocations: 8.441 MB / 0.5367 GB, free: 5.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009651/0.2271, allocations: 1.301 MB / 0.5379 GB, free: 4.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.2293, allocations: 1.129 MB / 0.539 GB, free: 3.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004387/0.2298, allocations: 129.7 kB / 0.5392 GB, free: 3.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009733/0.2308, allocations: 0.9116 MB / 0.5401 GB, free: 2.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008753/0.2317, allocations: 0.5894 MB / 0.5406 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/0.2331, allocations: 0.724 MB / 0.5413 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2333, allocations: 349.9 kB / 0.5417 GB, free: 420 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.2359, allocations: 1.556 MB / 0.5432 GB, free: 14.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00338/0.2393, allocations: 2.564 MB / 0.5457 GB, free: 11.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006811/0.2461, allocations: 4.933 MB / 0.5505 GB, free: 6.254 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.196e-05/0.2462, allocations: 8 kB / 0.5505 GB, free: 6.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009808/0.256, allocations: 5.495 MB / 0.5559 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000641/0.2567, allocations: 0.8076 MB / 0.5567 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005447/0.2622, allocations: 3.536 MB / 0.5601 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/0.2644, allocations: 0.6174 MB / 0.5607 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.2659, allocations: 359.1 kB / 0.5611 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.2673, allocations: 1.188 MB / 0.5622 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.2697, allocations: 421.5 kB / 0.5626 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006227/0.2704, allocations: 172 kB / 0.5628 GB, free: 9.246 MB / 446.1 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.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,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],P2.enableOut.cumEnablingProb[1],$PRE.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,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$PRE.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,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.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,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[2],$PRE.P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],$PRE.P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$PRE.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,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.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,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P2.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition6,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T3.firingCon,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,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.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,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,TA2.outTransition.arcType,T2.fire_,TA1.outTransition.arcType,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P2.delayPassedIn.vec[1],T1.activation.testValueInt[1],T3.activation.testValueInt[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntIn[2],T3.activation.normalArc[2],T3.activation.testValueInt[2],T3.activation.arcType[2],T3.activation.disPlaceIn[2],T3.activation.minTokensInt[2],T3.activation.tIntIn[2],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P2.outTransition[1].arcWeightint,P1.outTransition[1].arcWeightint,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.normalArc[1],T3.activation.fed[2],T3.activation.fed[1],T3.activation.arcType[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.normalArc[1],T1.activation.emptied[1],T1.activation.fed[1],T1.activation.arcType[1],TA2.testColor[3],TA2.testColor[2],TA2.testColor[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.emptying.vec[1],P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireOut[1],$PRE.P2.fireOut[1],P2.fireIn[1],$PRE.P2.fireIn[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[2],P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.003676/0.2741, allocations: 1.93 MB / 0.5647 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/0.2752, allocations: 219.1 kB / 0.5649 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.2866, allocations: 6.655 MB / 0.5714 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-05/0.2867, allocations: 15.98 kB / 0.5714 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.2867, allocations: 8 kB / 0.5714 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.2868, allocations: 7.969 kB / 0.5714 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.3013, allocations: 9.055 MB / 0.5803 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.009475/0.3108, allocations: 6.476 MB / 0.5866 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.3113, allocations: 95.88 kB / 0.5867 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2806/0.5919, allocations: 0.4884 MB / 0.5872 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007455/0.5927, allocations: 121.3 kB / 0.5873 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.5939, allocations: 1.161 MB / 0.5884 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5939, allocations: 3.328 kB / 0.5884 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/0.6118, allocations: 9.73 MB / 0.5979 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/0.6124, allocations: 234.1 kB / 0.5981 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/0.6136, allocations: 206.6 kB / 0.5983 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/0.6154, allocations: 225.7 kB / 0.5985 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001195/0.6166, allocations: 0.7039 MB / 0.5992 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004251/0.617, allocations: 140.4 kB / 0.5994 GB, free: 108 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.618, allocations: 0.5957 MB / 0.5999 GB, free: 107.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6181, allocations: 0 / 0.5999 GB, free: 107.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003828/0.6219, allocations: 0.883 MB / 0.6008 GB, free: 107.6 MB / 462.1 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 ($cse5[1],$cse6[1],$cse6[2],$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,P1.outTransition[2].tokenInOut,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,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.inPlaces[1].tokenInOut,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.inPlaces[1].tokenInOut,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_) * 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,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01958/0.6415, allocations: 10.79 MB / 0.6113 GB, free: 101 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009095/0.6506, allocations: 6.859 MB / 0.618 GB, free: 93.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.6507, allocations: 0 / 0.618 GB, free: 93.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007045/0.6577, allocations: 8.409 MB / 0.6263 GB, free: 85.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.6592, allocations: 273.1 kB / 0.6265 GB, free: 85.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/0.6873, allocations: 24.03 MB / 0.65 GB, free: 59.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.6885, allocations: 1.707 MB / 0.6516 GB, free: 58.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009405/0.6895, allocations: 436 kB / 0.6521 GB, free: 57.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007861/0.6903, allocations: 0.7687 MB / 0.6528 GB, free: 57.01 MB / 462.1 MB Notification: Performance of SimCode: time 2.304e-06/0.6903, allocations: 0 / 0.6528 GB, free: 57.01 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07961/0.7699, allocations: 52.21 MB / 0.7038 GB, free: 4.586 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.27, allocations: 7.938 kB / 0.7038 GB, free: 4.578 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ExtTest.TATest_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 PNlib_PNlib_Examples_ExtTest_TATest.fmu > PNlib_PNlib.Examples.ExtTest.TATest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TATest_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TATest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TATest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches