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.007989/0.007989, allocations: 100.8 kB / 15.73 MB, free: 6.043 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.001828/0.001828, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1919/0.1919, allocations: 16.76 MB / 307.3 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 68.2 kB / 425.9 MB, free: 37.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09488, allocations: 53.48 MB / 479.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002809/0.09774, allocations: 1.863 MB / 481.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.101, allocations: 1.919 MB / 483.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.1013, allocations: 7.531 kB / 483.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.1017, allocations: 116.6 kB / 483.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.1021, allocations: 134 kB / 483.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.1039, allocations: 0.906 MB / 484.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.1052, allocations: 1.505 MB / 485.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.1055, allocations: 259.9 kB / 486.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005227/0.106, allocations: 0.5683 MB / 486.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.1066, allocations: 0.4929 MB / 487.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.1068, allocations: 138.7 kB / 487.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.108, allocations: 0.8038 MB / 488.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.1081, allocations: 207.2 kB / 488.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.1086, allocations: 0.572 MB / 488.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.11, allocations: 1.815 MB / 490.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.11, allocations: 0 / 490.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.11, allocations: 0 / 490.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.11, allocations: 0 / 490.6 MB, free: 1.91 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.00174/0.1118, allocations: 1.575 MB / 492.2 MB, free: 224 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1118, allocations: 11.89 kB / 492.2 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.112, allocations: 176 kB / 492.4 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004349/0.1125, allocations: 138.4 kB / 492.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008006/0.1133, allocations: 0.5483 MB / 493.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.1134, allocations: 137.4 kB / 493.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.1136, allocations: 116 kB / 493.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/0.1169, allocations: 2.032 MB / 495.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.117, allocations: 3.938 kB / 495.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.1171, allocations: 67.95 kB / 495.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.1173, allocations: 85.23 kB / 495.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.1197, allocations: 1.434 MB / 497 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005589/0.1253, allocations: 4.233 MB / 0.4894 GB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/0.1283, allocations: 2.407 MB / 0.4918 GB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/0.1309, allocations: 2.308 MB / 0.494 GB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.131, allocations: 85.11 kB / 0.4941 GB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/0.1331, allocations: 1.308 MB / 0.4954 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.394e-06/0.1331, allocations: 0 / 0.4954 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.006354/0.1395, allocations: 3.97 MB / 0.4993 GB, free: 12.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004891/0.14, allocations: 0.6613 MB / 0.4999 GB, free: 12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006634/0.1407, allocations: 0.5131 MB / 0.5004 GB, free: 11.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.1408, allocations: 77.62 kB / 0.5005 GB, free: 11.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.1411, allocations: 356.9 kB / 0.5008 GB, free: 11.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.1413, allocations: 246.3 kB / 0.5011 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/0.1418, allocations: 298.8 kB / 0.5014 GB, free: 10.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1419, allocations: 329.9 kB / 0.5017 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009192/0.1429, allocations: 0.5537 MB / 0.5022 GB, free: 9.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.1442, allocations: 1.021 MB / 0.5032 GB, free: 8.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/0.1482, allocations: 3.196 MB / 0.5063 GB, free: 4.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/0.1482, allocations: 4 kB / 0.5063 GB, free: 4.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003395/0.1516, allocations: 2.229 MB / 0.5085 GB, free: 2.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.1519, allocations: 356.8 kB / 0.5089 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.1519, allocations: 16.88 kB / 0.5089 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/0.152, allocations: 20 kB / 0.5089 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.1524, allocations: 163.6 kB / 0.509 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.291e-05/0.1525, allocations: 31.92 kB / 0.5091 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.1532, allocations: 162.9 kB / 0.5092 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.1533, allocations: 75.92 kB / 0.5093 GB, free: 1.621 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.001267/0.1546, allocations: 0.889 MB / 0.5102 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.1548, allocations: 99.58 kB / 0.5103 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00524/0.16, allocations: 3.349 MB / 0.5135 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.1601, allocations: 8 kB / 0.5135 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1601, allocations: 3.938 kB / 0.5135 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.1601, allocations: 7.984 kB / 0.5136 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007106/0.1672, allocations: 4.756 MB / 0.5182 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1672, allocations: 0 / 0.5182 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1674, allocations: 35.92 kB / 0.5182 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.1674, allocations: 4 kB / 0.5182 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.1676, allocations: 55.97 kB / 0.5183 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.1676, allocations: 7.938 kB / 0.5183 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1676, allocations: 0 / 0.5183 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/0.1729, allocations: 3.478 MB / 0.5217 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.173, allocations: 144.5 kB / 0.5218 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.1733, allocations: 91.97 kB / 0.5219 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/0.174, allocations: 107.8 kB / 0.522 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006423/0.1746, allocations: 376.1 kB / 0.5224 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.1748, allocations: 63.95 kB / 0.5224 GB, free: 3.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003543/0.1751, allocations: 299.1 kB / 0.5227 GB, free: 3.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1752, allocations: 4 kB / 0.5227 GB, free: 3.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001434/0.1766, allocations: 495.2 kB / 0.5232 GB, free: 3.074 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.006596/0.1832, allocations: 4.383 MB / 0.5275 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003978/0.1872, allocations: 2.67 MB / 0.5301 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.1872, allocations: 4.125 kB / 0.5301 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00475/0.192, allocations: 4.486 MB / 0.5345 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.1928, allocations: 136.2 kB / 0.5346 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.2076, allocations: 9.829 MB / 0.5442 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/0.2084, allocations: 1.026 MB / 0.5452 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000552/0.209, allocations: 217.2 kB / 0.5454 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.2093, allocations: 247.4 kB / 0.5456 GB, free: 11.24 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.2093, allocations: 0 / 0.5456 GB, free: 11.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05367/0.263, allocations: 24.16 MB / 0.5692 GB, free: 3.023 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.148/9.411, allocations: 4.734 kB / 0.5692 GB, free: 3.02 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) Reference file matches