Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",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.007498/0.007498, allocations: 100 kB / 15.73 MB, free: 6.004 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.001373/0.001373, allocations: 192.8 kB / 16.67 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08107/0.08107, allocations: 16.75 MB / 307.3 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 425.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1251, allocations: 53.48 MB / 479.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003344/0.1285, allocations: 1.969 MB / 481.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.1317, allocations: 1.552 MB / 482.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.1321, allocations: 15.94 kB / 482.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.1324, allocations: 130.9 kB / 483 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.1329, allocations: 142.8 kB / 483.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1345, allocations: 0.654 MB / 483.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.1362, allocations: 1.447 MB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.1366, allocations: 267 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.1373, allocations: 0.553 MB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005898/0.1379, allocations: 497.8 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.1381, allocations: 136 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008251/0.1389, allocations: 499.4 kB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.1392, allocations: 239.2 kB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006321/0.1398, allocations: 0.5679 MB / 487.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.1418, allocations: 1.589 MB / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1418, allocations: 0 / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1418, allocations: 0 / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1418, allocations: 0 / 489.5 MB, free: 11.19 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002422/0.1442, allocations: 1.598 MB / 491.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1443, allocations: 15.83 kB / 491.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002359/0.1445, allocations: 176.6 kB / 491.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1456, allocations: 236.2 kB / 491.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/0.1465, allocations: 0.5415 MB / 492.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.1467, allocations: 256.2 kB / 492.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.1469, allocations: 127.9 kB / 492.5 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.1502, allocations: 1.951 MB / 494.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.1502, allocations: 4 kB / 494.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.1504, allocations: 59.91 kB / 494.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/0.1505, allocations: 109.9 kB / 494.6 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.1531, allocations: 1.417 MB / 496 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.1583, allocations: 3.539 MB / 499.5 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.1607, allocations: 1.839 MB / 0.4896 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/0.1627, allocations: 1.69 MB / 0.4913 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002524/0.1653, allocations: 3.046 MB / 0.4942 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001789/0.1671, allocations: 1.095 MB / 0.4953 GB, free: 8.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 2.314e-06/0.1671, allocations: 0 / 0.4953 GB, free: 8.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.0056/0.1727, allocations: 3.356 MB / 0.4986 GB, free: 5.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005029/0.1732, allocations: 0.6665 MB / 0.4992 GB, free: 4.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000702/0.1739, allocations: 0.5053 MB / 0.4997 GB, free: 3.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.174, allocations: 69.69 kB / 0.4998 GB, free: 3.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.1744, allocations: 392.7 kB / 0.5002 GB, free: 3.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.1747, allocations: 242.2 kB / 0.5004 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.1751, allocations: 302.8 kB / 0.5007 GB, free: 2.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.1753, allocations: 390.8 kB / 0.5011 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000961/0.1763, allocations: 0.5498 MB / 0.5016 GB, free: 1.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.1777, allocations: 1.038 MB / 0.5026 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2029/0.3806, allocations: 3.119 MB / 0.5057 GB, free: 32.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.122e-05/0.3807, allocations: 3.969 kB / 0.5057 GB, free: 32.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003434/0.3841, allocations: 2.244 MB / 0.5079 GB, free: 31.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.3843, allocations: 380.8 kB / 0.5082 GB, free: 31.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001698/0.386, allocations: 1.225 MB / 0.5094 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.006e-05/0.3861, allocations: 21.25 kB / 0.5094 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.3867, allocations: 172.7 kB / 0.5096 GB, free: 30.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.619e-05/0.3868, allocations: 29.34 kB / 0.5096 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.3875, allocations: 171.3 kB / 0.5098 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.3876, allocations: 73.23 kB / 0.5099 GB, free: 30.93 MB / 382.1 MB Warning: Assuming fixed start value for the following 21 variables: 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 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($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.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,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.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],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],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireOut[1],P1.fireIn[1],$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.001191/0.3888, allocations: 0.8992 MB / 0.5107 GB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.3891, allocations: 93.67 kB / 0.5108 GB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/0.3933, allocations: 2.715 MB / 0.5135 GB, free: 29.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.3934, allocations: 8.422 kB / 0.5135 GB, free: 29.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.3934, allocations: 1.75 kB / 0.5135 GB, free: 29.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.3934, allocations: 3.312 kB / 0.5135 GB, free: 29.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/0.3993, allocations: 4.095 MB / 0.5175 GB, free: 27.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003541/0.4029, allocations: 2.637 MB / 0.5201 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.4031, allocations: 45.78 kB / 0.5201 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.4031, allocations: 2.625 kB / 0.5201 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.4032, allocations: 54.45 kB / 0.5202 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.4032, allocations: 7.531 kB / 0.5202 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4032, allocations: 1.188 kB / 0.5202 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005405/0.4087, allocations: 4.087 MB / 0.5242 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.4088, allocations: 145.1 kB / 0.5243 GB, free: 24.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.4091, allocations: 90.22 kB / 0.5244 GB, free: 24.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/0.4097, allocations: 98.83 kB / 0.5245 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005789/0.4103, allocations: 367.8 kB / 0.5248 GB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.4104, allocations: 63.44 kB / 0.5249 GB, free: 24.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002919/0.4107, allocations: 295.3 kB / 0.5252 GB, free: 24.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4107, allocations: 1.406 kB / 0.5252 GB, free: 24.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001226/0.4119, allocations: 407.4 kB / 0.5256 GB, free: 24.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,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.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.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,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],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.005536/0.4175, allocations: 4.91 MB / 0.5304 GB, free: 20.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00273/0.4203, allocations: 2.591 MB / 0.5329 GB, free: 18.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.4203, allocations: 4 kB / 0.5329 GB, free: 18.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.4224, allocations: 3.444 MB / 0.5363 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.4231, allocations: 115.2 kB / 0.5364 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.4342, allocations: 9.783 MB / 0.5459 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.4348, allocations: 1.064 MB / 0.547 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004348/0.4352, allocations: 195.5 kB / 0.5472 GB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.4355, allocations: 271.3 kB / 0.5474 GB, free: 2.488 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4355, allocations: 3.062 kB / 0.5474 GB, free: 2.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05663/0.4921, allocations: 21.95 MB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.191/9.683, allocations: 7.938 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches