Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",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.007656/0.007655, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001377/0.001377, allocations: 191.5 kB / 16.67 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1991/0.1991, allocations: 16.77 MB / 307.3 MB, free: 14.84 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 61.34 kB / 425.9 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1072, allocations: 53.47 MB / 479.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002764/0.11, allocations: 1.858 MB / 481.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.113, allocations: 1.921 MB / 483.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.1133, allocations: 9.562 kB / 483.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.1137, allocations: 121.3 kB / 483.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.114, allocations: 137.8 kB / 483.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.1157, allocations: 0.892 MB / 484.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.1171, allocations: 1.502 MB / 485.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.1175, allocations: 264 kB / 486.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.1181, allocations: 0.5696 MB / 486.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.1187, allocations: 499.9 kB / 487.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.1189, allocations: 139 kB / 487.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.12, allocations: 0.8042 MB / 488 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.1202, allocations: 207.2 kB / 488.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.1207, allocations: 0.5758 MB / 488.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.1222, allocations: 1.812 MB / 490.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1223, allocations: 4 kB / 490.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1223, allocations: 0 / 490.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.1223, allocations: 0 / 490.6 MB, free: 1.953 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001819/0.1241, allocations: 1.558 MB / 492.2 MB, free: 288 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1242, allocations: 11.89 kB / 492.2 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/0.1244, allocations: 168 kB / 492.4 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004318/0.1248, allocations: 127.8 kB / 492.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/0.1256, allocations: 0.5581 MB / 493.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.1258, allocations: 133.4 kB / 493.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.126, allocations: 120 kB / 493.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/0.129, allocations: 2.029 MB / 495.3 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.129, allocations: 3.938 kB / 495.3 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.1291, allocations: 55.98 kB / 495.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.1293, allocations: 93.22 kB / 495.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.1316, allocations: 1.427 MB / 496.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005466/0.1371, allocations: 4.239 MB / 0.4894 GB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.1397, allocations: 2.404 MB / 0.4918 GB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00224/0.142, allocations: 2.308 MB / 0.494 GB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.1421, allocations: 89.09 kB / 0.4941 GB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/0.1441, allocations: 1.303 MB / 0.4954 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.126e-06/0.1441, allocations: 4 kB / 0.4954 GB, free: 0.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.00594/0.15, allocations: 3.962 MB / 0.4992 GB, free: 12.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000502/0.1505, allocations: 0.6574 MB / 0.4999 GB, free: 12.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007037/0.1513, allocations: 0.5089 MB / 0.5004 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.1514, allocations: 73.69 kB / 0.5004 GB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.1518, allocations: 351.7 kB / 0.5008 GB, free: 11.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.152, allocations: 245.2 kB / 0.501 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/0.1525, allocations: 298.7 kB / 0.5013 GB, free: 10.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1527, allocations: 326 kB / 0.5016 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009233/0.1536, allocations: 0.5537 MB / 0.5022 GB, free: 9.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.1549, allocations: 1.021 MB / 0.5031 GB, free: 8.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/0.1587, allocations: 3.192 MB / 0.5063 GB, free: 4.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-05/0.1587, allocations: 8 kB / 0.5063 GB, free: 4.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003321/0.1621, allocations: 2.221 MB / 0.5084 GB, free: 2.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002463/0.1623, allocations: 354.9 kB / 0.5088 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/0.1624, allocations: 12 kB / 0.5088 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.059e-05/0.1624, allocations: 24 kB / 0.5088 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.1629, allocations: 163.5 kB / 0.509 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.334e-05/0.163, allocations: 28.52 kB / 0.509 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.1637, allocations: 170.5 kB / 0.5092 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.1638, allocations: 68 kB / 0.5092 GB, free: 1.742 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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 ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001295/0.1651, allocations: 0.8908 MB / 0.5101 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.1654, allocations: 99.19 kB / 0.5102 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/0.1703, allocations: 3.357 MB / 0.5135 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.1703, allocations: 4 kB / 0.5135 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1703, allocations: 4 kB / 0.5135 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1703, allocations: 3.984 kB / 0.5135 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00668/0.177, allocations: 4.748 MB / 0.5181 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1771, allocations: 0 / 0.5181 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.1772, allocations: 39.92 kB / 0.5182 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1772, allocations: 4 kB / 0.5182 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.1774, allocations: 55.95 kB / 0.5182 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1774, allocations: 4 kB / 0.5182 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1774, allocations: 4 kB / 0.5182 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00484/0.1822, allocations: 3.466 MB / 0.5216 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.1824, allocations: 144.2 kB / 0.5217 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/0.1827, allocations: 91.95 kB / 0.5218 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.1834, allocations: 107.9 kB / 0.5219 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006328/0.184, allocations: 372.1 kB / 0.5223 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.1842, allocations: 63.97 kB / 0.5223 GB, free: 3.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003744/0.1846, allocations: 303.1 kB / 0.5226 GB, free: 3.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1846, allocations: 3.938 kB / 0.5226 GB, free: 3.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001571/0.1862, allocations: 491.4 kB / 0.5231 GB, free: 3.211 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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.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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableIn.TAein[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.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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006191/0.1924, allocations: 4.382 MB / 0.5274 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00353/0.1959, allocations: 2.669 MB / 0.53 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.196, allocations: 0 / 0.53 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003939/0.1999, allocations: 4.49 MB / 0.5344 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.2008, allocations: 139.2 kB / 0.5345 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/0.2159, allocations: 9.799 MB / 0.5441 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/0.2167, allocations: 1.022 MB / 0.5451 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005746/0.2173, allocations: 217.5 kB / 0.5453 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.2177, allocations: 251.3 kB / 0.5455 GB, free: 11.41 MB / 430.1 MB Notification: Performance of SimCode: time 1.253e-06/0.2177, allocations: 0 / 0.5455 GB, free: 11.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05159/0.2693, allocations: 24.69 MB / 0.5696 GB, free: 2.656 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.858/9.128, allocations: 11.91 kB / 0.5697 GB, free: 2.645 MB / 446.1 MB (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:P1.t,T1.active,T1.fire,T1.fire,time Variables in the result:P1.N,P1.animateMarking,P1.benefitType,P1.color[1],P1.color[2],P1.color[3],P1.enablingBeneIn[1],P1.enablingBeneOut[1],P1.enablingPrioIn[1],P1.enablingPrioOut[1],P1.enablingProbIn[1],P1.enablingProbOut[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,T1.active,T1.arcWeightIn[1],T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time