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.005815/0.005815, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.00138/0.00138, allocations: 200 kB / 16.68 MB, free: 5.922 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07696/0.07696, allocations: 16.74 MB / 307.3 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 67.89 kB / 425.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.131, allocations: 53.47 MB / 479.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003965/0.135, allocations: 1.859 MB / 481.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004827/0.1399, allocations: 1.921 MB / 483.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.1402, allocations: 11.94 kB / 483.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.1407, allocations: 115 kB / 483.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.1413, allocations: 138.8 kB / 483.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.1436, allocations: 0.9059 MB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.1456, allocations: 1.49 MB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/0.1461, allocations: 267.5 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007639/0.1468, allocations: 0.5687 MB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007035/0.1476, allocations: 0.4901 MB / 487.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.1478, allocations: 140 kB / 487.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.1492, allocations: 0.8037 MB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.1495, allocations: 215.2 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007888/0.1503, allocations: 0.5642 MB / 488.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.153, allocations: 1.808 MB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.153, allocations: 0 / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.153, allocations: 0 / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.153, allocations: 0 / 490.6 MB, free: 10.12 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.00289/0.1559, allocations: 1.561 MB / 492.1 MB, free: 8.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.156, allocations: 15.89 kB / 492.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002834/0.1563, allocations: 168 kB / 492.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005961/0.1569, allocations: 131.8 kB / 492.5 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1581, allocations: 0.5348 MB / 493 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.1583, allocations: 145.4 kB / 493.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.1585, allocations: 112 kB / 493.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/0.1628, allocations: 2.029 MB / 495.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.1629, allocations: 4 kB / 495.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.1631, allocations: 63.95 kB / 495.3 MB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/0.1633, allocations: 93.17 kB / 495.4 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/0.1666, allocations: 1.427 MB / 496.9 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007399/0.174, allocations: 4.243 MB / 0.4894 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/0.1777, allocations: 2.402 MB / 0.4917 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.181, allocations: 2.315 MB / 0.494 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.1812, allocations: 81.11 kB / 0.494 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002699/0.1839, allocations: 1.307 MB / 0.4953 GB, free: 9.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.357e-06/0.1839, allocations: 0 / 0.4953 GB, free: 9.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.00843/0.1923, allocations: 3.962 MB / 0.4992 GB, free: 5.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000573/0.1929, allocations: 0.6613 MB / 0.4998 GB, free: 4.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/0.1938, allocations: 0.5049 MB / 0.5003 GB, free: 3.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.194, allocations: 77.62 kB / 0.5004 GB, free: 3.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.1944, allocations: 359.7 kB / 0.5007 GB, free: 3.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.1947, allocations: 237.2 kB / 0.501 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.1952, allocations: 298.7 kB / 0.5013 GB, free: 2.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1954, allocations: 326 kB / 0.5016 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.1967, allocations: 0.5537 MB / 0.5021 GB, free: 1.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.1984, allocations: 1.021 MB / 0.5031 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2714/0.4698, allocations: 3.185 MB / 0.5062 GB, free: 32.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/0.4698, allocations: 3.812 kB / 0.5062 GB, free: 32.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003239/0.4731, allocations: 2.222 MB / 0.5084 GB, free: 31.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.4733, allocations: 354.3 kB / 0.5087 GB, free: 31.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.4733, allocations: 15.2 kB / 0.5087 GB, free: 31.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.181e-05/0.4734, allocations: 21.19 kB / 0.5088 GB, free: 31.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.4738, allocations: 159.9 kB / 0.5089 GB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.094e-05/0.4739, allocations: 33.42 kB / 0.5089 GB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006373/0.4745, allocations: 163.4 kB / 0.5091 GB, free: 31.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.936e-05/0.4746, allocations: 71.72 kB / 0.5092 GB, free: 31.46 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.001149/0.4758, allocations: 0.8918 MB / 0.51 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.476, allocations: 99.62 kB / 0.5101 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/0.481, allocations: 3.351 MB / 0.5134 GB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.481, allocations: 5.375 kB / 0.5134 GB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4811, allocations: 1.672 kB / 0.5134 GB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4811, allocations: 2.531 kB / 0.5134 GB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007754/0.4888, allocations: 4.75 MB / 0.5181 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.4889, allocations: 1.156 kB / 0.5181 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.489, allocations: 39.8 kB / 0.5181 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.4891, allocations: 2.5 kB / 0.5181 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.4892, allocations: 56.97 kB / 0.5181 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.4892, allocations: 6.094 kB / 0.5182 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4892, allocations: 4.141 kB / 0.5182 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005126/0.4944, allocations: 3.47 MB / 0.5215 GB, free: 25.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.4945, allocations: 146 kB / 0.5217 GB, free: 25.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.4948, allocations: 89.36 kB / 0.5218 GB, free: 25.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.4955, allocations: 108 kB / 0.5219 GB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007363/0.4963, allocations: 380.3 kB / 0.5222 GB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/0.4964, allocations: 65.62 kB / 0.5223 GB, free: 25.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004599/0.4969, allocations: 300 kB / 0.5226 GB, free: 25.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4969, allocations: 5.781 kB / 0.5226 GB, free: 25.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002029/0.4989, allocations: 486.5 kB / 0.5231 GB, free: 25.46 MB / 382.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.005634/0.5046, allocations: 4.378 MB / 0.5273 GB, free: 23.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002982/0.5076, allocations: 2.667 MB / 0.5299 GB, free: 21.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5076, allocations: 1.875 kB / 0.5299 GB, free: 21.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002584/0.5102, allocations: 4.489 MB / 0.5343 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.5109, allocations: 143.7 kB / 0.5345 GB, free: 16.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.5223, allocations: 9.808 MB / 0.544 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.5227, allocations: 1.022 MB / 0.545 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004393/0.5232, allocations: 214.6 kB / 0.5452 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.5234, allocations: 255.3 kB / 0.5455 GB, free: 5.133 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5234, allocations: 0.7656 kB / 0.5455 GB, free: 5.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04662/0.5701, allocations: 24.68 MB / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.879/9.449, allocations: 14.67 kB / 0.5696 GB, free: 12.4 MB / 414.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