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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004905/0.004905, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001298/0.001298, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07739/0.07739, allocations: 16.73 MB / 307.3 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 67.89 kB / 425.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09347, allocations: 53.47 MB / 479.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.003679/0.09718, allocations: 2.711 MB / 482 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.101, allocations: 2.265 MB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.1013, allocations: 11.94 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.1017, allocations: 222.2 kB / 484.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.1024, allocations: 214.3 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.1043, allocations: 1.032 MB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002525/0.1068, allocations: 2.649 MB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004649/0.1073, allocations: 355.7 kB / 488.7 MB, free: 12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.1084, allocations: 0.9855 MB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009416/0.1093, allocations: 0.7817 MB / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.1096, allocations: 204 kB / 490.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.1108, allocations: 0.6009 MB / 491.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.1113, allocations: 382.7 kB / 491.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009768/0.1123, allocations: 0.8751 MB / 492.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.115, allocations: 2.336 MB / 494.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.115, allocations: 0 / 494.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.115, allocations: 0 / 494.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.1151, allocations: 4 kB / 494.9 MB, free: 5.828 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.003372/0.1184, allocations: 2.396 MB / 497.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.1185, allocations: 19.89 kB / 497.3 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003485/0.1189, allocations: 268.6 kB / 497.6 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.1205, allocations: 359.7 kB / 497.9 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.1218, allocations: 0.7595 MB / 498.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004336/0.1223, allocations: 385.8 kB / 499.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.1226, allocations: 184 kB / 499.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005766/0.1283, allocations: 3.056 MB / 0.4905 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.1284, allocations: 7.984 kB / 0.4905 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.1287, allocations: 87.97 kB / 0.4906 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002768/0.129, allocations: 158.4 kB / 0.4908 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004155/0.1332, allocations: 2.224 MB / 0.4929 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008515/0.1417, allocations: 5.755 MB / 0.4986 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003841/0.1456, allocations: 2.929 MB / 0.5014 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1989/0.3445, allocations: 2.748 MB / 0.5041 GB, free: 34.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002483/0.347, allocations: 5.82 MB / 0.5098 GB, free: 27.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002649/0.3497, allocations: 1.707 MB / 0.5115 GB, free: 27.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 2.855e-06/0.3497, allocations: 1.188 kB / 0.5115 GB, free: 27.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.007641/0.3573, allocations: 5.441 MB / 0.5168 GB, free: 25.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003892/0.3578, allocations: 1.068 MB / 0.5178 GB, free: 24.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008082/0.3586, allocations: 0.6999 MB / 0.5185 GB, free: 24.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.3587, allocations: 105.1 kB / 0.5186 GB, free: 24.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.3591, allocations: 0.5285 MB / 0.5191 GB, free: 24.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.3594, allocations: 404.3 kB / 0.5195 GB, free: 23.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005675/0.36, allocations: 473.6 kB / 0.5199 GB, free: 23.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.3601, allocations: 333.2 kB / 0.5203 GB, free: 23.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.3614, allocations: 0.9087 MB / 0.5211 GB, free: 23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.363, allocations: 1.635 MB / 0.5227 GB, free: 21.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/0.366, allocations: 3.625 MB / 0.5263 GB, free: 18.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/0.366, allocations: 8.438 kB / 0.5263 GB, free: 18.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004289/0.3703, allocations: 3.56 MB / 0.5298 GB, free: 17.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.3706, allocations: 0.6954 MB / 0.5304 GB, free: 16.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0026/0.3732, allocations: 1.958 MB / 0.5324 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.3743, allocations: 290.7 kB / 0.5326 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.3749, allocations: 235.8 kB / 0.5329 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005602/0.3755, allocations: 0.8165 MB / 0.5337 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/0.3765, allocations: 259.9 kB / 0.5339 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.3766, allocations: 120.8 kB / 0.534 GB, free: 14.78 MB / 382.1 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.001349/0.378, allocations: 1.48 MB / 0.5355 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.3783, allocations: 150 kB / 0.5356 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/0.383, allocations: 4.359 MB / 0.5399 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.383, allocations: 8 kB / 0.5399 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3831, allocations: 3.938 kB / 0.5399 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3831, allocations: 3.984 kB / 0.5399 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006544/0.3896, allocations: 6.403 MB / 0.5461 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004557/0.3942, allocations: 4.224 MB / 0.5503 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.3944, allocations: 55.91 kB / 0.5503 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005388/0.395, allocations: 192.4 kB / 0.5505 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/0.3952, allocations: 91.94 kB / 0.5506 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000844/0.396, allocations: 0.79 MB / 0.5514 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3961, allocations: 0 / 0.5514 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.4062, allocations: 6.511 MB / 0.5577 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.4065, allocations: 180.2 kB / 0.5579 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/0.4069, allocations: 168 kB / 0.558 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008977/0.4078, allocations: 143.5 kB / 0.5582 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006343/0.4084, allocations: 348.2 kB / 0.5585 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/0.4087, allocations: 95.95 kB / 0.5586 GB, free: 6.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005664/0.4092, allocations: 382.8 kB / 0.559 GB, free: 6.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4092, allocations: 3.938 kB / 0.559 GB, free: 6.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001903/0.4112, allocations: 0.5966 MB / 0.5596 GB, free: 5.844 MB / 398.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: 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.01117/0.4223, allocations: 7.464 MB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006372/0.4287, allocations: 4.605 MB / 0.5713 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4288, allocations: 0 / 0.5713 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005854/0.4346, allocations: 5.794 MB / 0.577 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009118/0.4356, allocations: 194.8 kB / 0.5772 GB, free: 3.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/0.4588, allocations: 15.42 MB / 0.5922 GB, free: 2.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.4599, allocations: 1.28 MB / 0.5935 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006525/0.4606, allocations: 260.6 kB / 0.5937 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.4612, allocations: 431.3 kB / 0.5942 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4612, allocations: 3.938 kB / 0.5942 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0701/0.5313, allocations: 34.29 MB / 0.6277 GB, free: 14.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.57, allocations: 10.83 kB / 0.6277 GB, free: 14.47 MB / 478.1 MB (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 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_LoopAndArcweight.fmu > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches