Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.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.001102/0.001102, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001354/0.001354, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8725/0.8725, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.04796/0.04796, allocations: 12.64 MB / 271.8 MB, free: 0.7188 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.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 402.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.895e-05, allocations: 2.281 kB / 402.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.002607/0.002626, allocations: 2.448 MB / 404.7 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.005415, allocations: 2.22 MB / 406.9 MB, free: 6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/0.005775, allocations: 19.88 kB / 406.9 MB, free: 5.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.006149, allocations: 226.2 kB / 407.1 MB, free: 5.758 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005376/0.006687, allocations: 278.1 kB / 407.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.008198, allocations: 1.098 MB / 408.5 MB, free: 4.387 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.01027, allocations: 2.536 MB / 411 MB, free: 1.848 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.01054, allocations: 144 kB / 411.2 MB, free: 1.688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.01181, allocations: 1.412 MB / 412.6 MB, free: 280 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009247/0.01273, allocations: 0.7438 MB / 413.3 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002855/0.01302, allocations: 204 kB / 413.5 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000787/0.01381, allocations: 0.7099 MB / 414.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.01406, allocations: 410.3 kB / 414.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005906/0.01465, allocations: 0.6314 MB / 415.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.01693, allocations: 2.61 MB / 417.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01693, allocations: 0 / 417.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01694, allocations: 0 / 417.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.079e-05/0.01699, allocations: 0 / 417.9 MB, free: 10.96 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.002751/0.01974, allocations: 2.601 MB / 420.5 MB, free: 8.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.01978, allocations: 16.03 kB / 420.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.02001, allocations: 272.6 kB / 420.8 MB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/0.02084, allocations: 351.7 kB / 421.1 MB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.02167, allocations: 0.6944 MB / 421.8 MB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.02194, allocations: 0.611 MB / 422.4 MB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.02212, allocations: 187.9 kB / 422.6 MB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003893/0.02602, allocations: 4.146 MB / 426.7 MB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.02604, allocations: 0 / 426.7 MB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.02618, allocations: 95.94 kB / 426.8 MB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.02633, allocations: 154.4 kB / 427 MB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.02928, allocations: 2.978 MB / 430 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005494/0.03477, allocations: 5.192 MB / 435.2 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.03672, allocations: 2.176 MB / 437.3 MB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.03827, allocations: 2.008 MB / 439.3 MB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/0.03947, allocations: 0.6327 MB / 440 MB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/0.04145, allocations: 2.451 MB / 442.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 2.184e-06/0.04146, allocations: 4 kB / 442.4 MB, free: 1.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.1444/0.1859, allocations: 7.058 MB / 449.5 MB, free: 78.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002365/0.1861, allocations: 1.058 MB / 450.5 MB, free: 77.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.1866, allocations: 0.713 MB / 451.3 MB, free: 76.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.871e-05/0.1867, allocations: 103.4 kB / 451.4 MB, free: 76.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.1869, allocations: 0.5266 MB / 451.9 MB, free: 76.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.1871, allocations: 417.2 kB / 452.3 MB, free: 76.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/0.1875, allocations: 468.8 kB / 452.7 MB, free: 75.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.1875, allocations: 330.3 kB / 453.1 MB, free: 75.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009339/0.1885, allocations: 1.59 MB / 454.7 MB, free: 74.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.1896, allocations: 2.51 MB / 457.2 MB, free: 72.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.1916, allocations: 3.657 MB / 460.8 MB, free: 69.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.1916, allocations: 12.58 kB / 460.8 MB, free: 69.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002946/0.1945, allocations: 4.276 MB / 465.1 MB, free: 67.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.1947, allocations: 0.685 MB / 465.8 MB, free: 66.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00175/0.1964, allocations: 2.346 MB / 468.1 MB, free: 65.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/0.1971, allocations: 290.3 kB / 468.4 MB, free: 65.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.1975, allocations: 242.3 kB / 468.7 MB, free: 64.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004116/0.1979, allocations: 0.813 MB / 469.5 MB, free: 64.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.1985, allocations: 261.4 kB / 469.7 MB, free: 64.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.1986, allocations: 122.3 kB / 469.9 MB, free: 64.19 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: 96 * Number of states: 0 () * Number of discrete variables: 231 ($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[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],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$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,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P2.reStart,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.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,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[2],P2.delayPassedIn.vec[1],T1.activation.disPlaceOut[2],T1.activation.maxTokensInt[2],T1.activation.tIntOut[2],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[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],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[2],T1.activation.emptied[1],T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,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[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 21 * 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 {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001317/0.1999, allocations: 1.45 MB / 471.3 MB, free: 63.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.2002, allocations: 152.4 kB / 471.5 MB, free: 63.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/0.204, allocations: 5.239 MB / 476.7 MB, free: 60.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.204, allocations: 12.34 kB / 476.7 MB, free: 60.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.204, allocations: 0 / 476.7 MB, free: 60.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.204, allocations: 6.141 kB / 476.7 MB, free: 60.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/0.2099, allocations: 6.951 MB / 483.7 MB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004238/0.2141, allocations: 5.123 MB / 488.8 MB, free: 54.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.2143, allocations: 56.08 kB / 488.8 MB, free: 54.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003487/0.2146, allocations: 193.4 kB / 489 MB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.2148, allocations: 89.28 kB / 489.1 MB, free: 54.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004268/0.2152, allocations: 0.7861 MB / 489.9 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2152, allocations: 4.812 kB / 489.9 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006755/0.222, allocations: 8.301 MB / 498.2 MB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.2221, allocations: 102.8 kB / 498.3 MB, free: 49.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.2224, allocations: 159.7 kB / 498.5 MB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.2228, allocations: 151.3 kB / 498.6 MB, free: 49.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003836/0.2232, allocations: 344.6 kB / 498.9 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.2234, allocations: 99.91 kB / 499 MB, free: 49.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002825/0.2236, allocations: 383.6 kB / 499.4 MB, free: 49.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2236, allocations: 3.719 kB / 499.4 MB, free: 49.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001227/0.2249, allocations: 0.6016 MB / 0.4883 GB, free: 49.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 119 (P2.disMarksInOut,$cse3[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.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: 106 (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[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],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],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],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 (59): * Single equations (assignments): 40 * Array equations: 1 * Algorithm blocks: 17 * 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 {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006924/0.2318, allocations: 9.271 MB / 0.4974 GB, free: 41.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003878/0.2357, allocations: 5.553 MB / 0.5028 GB, free: 35.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.2357, allocations: 1.875 kB / 0.5028 GB, free: 35.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002077/0.2377, allocations: 3.498 MB / 0.5062 GB, free: 32.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/0.2385, allocations: 206 kB / 0.5064 GB, free: 32.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.2534, allocations: 19.03 MB / 0.525 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.2538, allocations: 0.6869 MB / 0.5257 GB, free: 12.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004268/0.2543, allocations: 258.6 kB / 0.5259 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.2545, allocations: 432.4 kB / 0.5263 GB, free: 12.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.214e-06/0.2545, allocations: 0 / 0.5263 GB, free: 12.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04601/0.3005, allocations: 36.02 MB / 0.5615 GB, free: 7.988 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.585/8.886, allocations: 7.156 kB / 0.5615 GB, free: 7.984 MB / 442.7 MB " [Timeout remaining time 651] (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_ConTest_LoopAndArcweight_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_LoopAndArcweight.fmu > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.74753817729652]