Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.Speed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008632/0.0008632, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8875/0.8875, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.04721/0.04721, allocations: 12.64 MB / 271.8 MB, free: 0.7031 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.ConTest.Speed,fileNamePrefix="PNlib_PNlib_Examples_ConTest_Speed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.Speed,fileNamePrefix="PNlib_PNlib_Examples_ConTest_Speed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 402.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.107e-05, allocations: 13.17 kB / 402.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.003233/0.003254, allocations: 3.129 MB / 405.4 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.007274, allocations: 2.66 MB / 408 MB, free: 4.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006359/0.00791, allocations: 27.81 kB / 408 MB, free: 4.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.008472, allocations: 325.5 kB / 408.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007389/0.009211, allocations: 373.5 kB / 408.7 MB, free: 4.125 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.01141, allocations: 1.29 MB / 410 MB, free: 2.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003461/0.01487, allocations: 3.23 MB / 413.2 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004236/0.01529, allocations: 223.1 kB / 413.5 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.01755, allocations: 1.872 MB / 415.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.01886, allocations: 0.884 MB / 416.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.01933, allocations: 236 kB / 416.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009805/0.02031, allocations: 0.7489 MB / 417.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.02066, allocations: 0.5173 MB / 417.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009166/0.02158, allocations: 0.7404 MB / 418.5 MB, free: 10.35 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.02464, allocations: 3.039 MB / 421.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.02465, allocations: 0 / 421.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.02465, allocations: 4 kB / 421.5 MB, free: 7.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.453e-05/0.0247, allocations: 0 / 421.5 MB, free: 7.297 MB / 394.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.003517/0.02822, allocations: 3.067 MB / 424.6 MB, free: 4.035 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.02827, allocations: 8.031 kB / 424.6 MB, free: 4.027 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003074/0.02858, allocations: 331.5 kB / 424.9 MB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.02985, allocations: 415.5 kB / 425.3 MB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.03088, allocations: 0.8197 MB / 426.1 MB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003802/0.03126, allocations: 0.8048 MB / 426.9 MB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.03148, allocations: 232 kB / 427.2 MB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004827/0.03631, allocations: 5.009 MB / 432.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.03634, allocations: 3.938 kB / 432.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.0365, allocations: 112 kB / 432.3 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/0.03672, allocations: 207.1 kB / 432.5 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/0.04109, allocations: 3.582 MB / 436.1 MB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.05116, allocations: 6.749 MB / 442.8 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1824/0.2336, allocations: 2.572 MB / 445.4 MB, free: 79.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/0.236, allocations: 2.324 MB / 447.7 MB, free: 77.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007675/0.2368, allocations: 376.3 kB / 448.1 MB, free: 77.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002523/0.2393, allocations: 2.797 MB / 450.9 MB, free: 76.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=177): time 3.577e-06/0.2393, allocations: 0 / 450.9 MB, free: 76.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=177): time 0.007392/0.2467, allocations: 8.172 MB / 459 MB, free: 72.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003693/0.247, allocations: 1.141 MB / 460.2 MB, free: 71.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000989/0.248, allocations: 0.8908 MB / 461.1 MB, free: 70.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.2482, allocations: 116.6 kB / 461.2 MB, free: 70.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.2485, allocations: 0.6622 MB / 461.9 MB, free: 70.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.2488, allocations: 0.4899 MB / 462.3 MB, free: 69.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/0.2493, allocations: 0.5671 MB / 462.9 MB, free: 69.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.2494, allocations: 342 kB / 463.2 MB, free: 69.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.2506, allocations: 1.84 MB / 465.1 MB, free: 68.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.252, allocations: 2.912 MB / 468 MB, free: 65.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/0.2545, allocations: 4.281 MB / 472.3 MB, free: 62.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-05/0.2545, allocations: 9.062 kB / 472.3 MB, free: 62.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.004189/0.2587, allocations: 5.325 MB / 477.6 MB, free: 59.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.2589, allocations: 0.7593 MB / 478.4 MB, free: 58.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002379/0.2613, allocations: 3.149 MB / 481.5 MB, free: 57.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009953/0.2623, allocations: 413.7 kB / 481.9 MB, free: 56.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006508/0.263, allocations: 291 kB / 482.2 MB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007082/0.2637, allocations: 0.9841 MB / 483.2 MB, free: 56.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.2647, allocations: 321.5 kB / 483.5 MB, free: 56.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.2649, allocations: 142.5 kB / 483.6 MB, free: 56.06 MB / 410.7 MB Warning: Assuming fixed start value for the following 36 variables: 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 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: 117 * Number of states: 0 () * Number of discrete variables: 265 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,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],$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,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition6,$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[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[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,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[2],$PRE.P1.enableIn.cumEnablingProb[2],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[2],$PRE.P1.enableIn.remTAin[2],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[2],$PRE.P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P2.reStart,T3.firingCon,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,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[2].disPlace,P1.inTransition[2].maxTokensint,P1.inTransition[2].tint,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.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.vec[2],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,T2.fire_,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntOut[1],P2.delayPassedIn.vec[1],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],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],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],T3.fire_,T3.activation.NoTokens,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.emptied[1],T3.activation.fed[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[2],P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[2],$PRE.P1.fireIn[2],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,$whenCondition2,$whenCondition1) * 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 {(3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.001793/0.2667, allocations: 1.671 MB / 485.3 MB, free: 54.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.267, allocations: 176 kB / 485.5 MB, free: 54.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005321/0.2723, allocations: 5.989 MB / 491.5 MB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.2723, allocations: 9.781 kB / 491.5 MB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2723, allocations: 0 / 491.5 MB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2723, allocations: 8.5 kB / 491.5 MB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007602/0.2799, allocations: 7.946 MB / 499.4 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004248/0.2842, allocations: 5.806 MB / 0.4934 GB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.2844, allocations: 69.2 kB / 0.4935 GB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005642/0.2849, allocations: 322.1 kB / 0.4938 GB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.2851, allocations: 103 kB / 0.4939 GB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006707/0.2858, allocations: 0.9549 MB / 0.4948 GB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2858, allocations: 0.7969 kB / 0.4948 GB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007684/0.2935, allocations: 9.411 MB / 0.504 GB, free: 34.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.2937, allocations: 123.4 kB / 0.5041 GB, free: 34.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.294, allocations: 180.2 kB / 0.5043 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/0.2946, allocations: 162 kB / 0.5044 GB, free: 34.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004819/0.295, allocations: 394.8 kB / 0.5048 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.2952, allocations: 115 kB / 0.5049 GB, free: 33.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004005/0.2956, allocations: 476.2 kB / 0.5054 GB, free: 33.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2956, allocations: 0 / 0.5054 GB, free: 33.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001614/0.2972, allocations: 0.6958 MB / 0.5061 GB, free: 32.8 MB / 410.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 (P2.disMarksInOut,$cse4[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,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.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.fire_,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,$whenCondition6,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) * Number of discrete states: 117 (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,$whenCondition6,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],$whenCondition3,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],$whenCondition2,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],$whenCondition1,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * 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 {(3,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00774/0.305, allocations: 10.4 MB / 0.5162 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004795/0.3097, allocations: 6.397 MB / 0.5225 GB, free: 16.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.3098, allocations: 0 / 0.5225 GB, free: 16.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002739/0.3125, allocations: 4.027 MB / 0.5264 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.3132, allocations: 226.6 kB / 0.5266 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/0.3318, allocations: 22.7 MB / 0.5488 GB, free: 3.539 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.3325, allocations: 0.8643 MB / 0.5496 GB, free: 2.629 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005345/0.333, allocations: 327.1 kB / 0.5499 GB, free: 2.312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/0.3335, allocations: 0.5511 MB / 0.5505 GB, free: 1.762 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3335, allocations: 4 kB / 0.5505 GB, free: 1.758 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05106/0.3846, allocations: 41.92 MB / 0.5914 GB, free: 7.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.012/9.396, allocations: 7.984 kB / 0.5914 GB, free: 7.812 MB / 474.7 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ConTest.Speed_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_ConTest_Speed.fmu > PNlib_PNlib.Examples.ConTest.Speed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.ConTest.Speed_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.Speed.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.Speed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! Error: Could not read variable P2.t in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable P2.t from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! Error: Could not read variable T1.instantaneousSpeed in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable T1.instantaneousSpeed from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! Error: Could not read variable T1.maximumSpeed in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable T1.maximumSpeed from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable T2.fire from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! Error: Could not read variable T2.instantaneousSpeed in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable T2.instantaneousSpeed from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! Error: Could not read variable T2.maximumSpeed in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable T2.maximumSpeed from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! Error: Could not read variable T3.fire in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable T3.fire from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! Error: Could not read variable T3.instantaneousSpeed in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable T3.instantaneousSpeed from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! Error: Could not read variable T3.maximumSpeed in file PNlib_PNlib.Examples.ConTest.Speed_res.csv. Warning: Get data of variable T3.maximumSpeed from file PNlib_PNlib.Examples.ConTest.Speed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.376887150108814]