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.001071/0.001071, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2/0.2, allocations: 16.76 MB / 307.1 MB, free: 14.92 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 371.7 MB, free: 3.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 53.45 MB / 425.2 MB, free: 39.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003591/0.3215, allocations: 1.969 MB / 427.2 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.3248, allocations: 1.567 MB / 428.7 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.3253, allocations: 12.62 kB / 428.7 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.3258, allocations: 127 kB / 428.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006578/0.3265, allocations: 143.5 kB / 429 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.3284, allocations: 0.6503 MB / 429.7 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.3302, allocations: 1.443 MB / 431.1 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.3306, allocations: 266.5 kB / 431.4 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008107/0.3315, allocations: 0.5512 MB / 431.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007399/0.3322, allocations: 490.1 kB / 432.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.3326, allocations: 136.8 kB / 432.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008577/0.3334, allocations: 474.6 kB / 433 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.3338, allocations: 240 kB / 433.2 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008191/0.3346, allocations: 0.5605 MB / 433.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.3365, allocations: 1.526 MB / 435.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3365, allocations: 6.75 kB / 435.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3365, allocations: 0 / 435.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.951e-05/0.3366, allocations: 0 / 435.3 MB, free: 35.45 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002844/0.3394, allocations: 1.568 MB / 436.9 MB, free: 34.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3395, allocations: 13.17 kB / 436.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003486/0.3399, allocations: 181.2 kB / 437.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.3413, allocations: 234.2 kB / 437.3 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.3423, allocations: 0.5457 MB / 437.8 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.3426, allocations: 257.4 kB / 438.1 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.3428, allocations: 125.8 kB / 438.2 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.3465, allocations: 1.955 MB / 440.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.3465, allocations: 7.172 kB / 440.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.3467, allocations: 59.3 kB / 440.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/0.3469, allocations: 99.66 kB / 440.3 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003077/0.35, allocations: 1.419 MB / 441.8 MB, free: 32.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006141/0.3562, allocations: 3.551 MB / 445.3 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.3587, allocations: 1.834 MB / 447.1 MB, free: 29.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/0.3609, allocations: 1.689 MB / 448.8 MB, free: 28.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002236/0.3632, allocations: 3.041 MB / 451.9 MB, free: 24.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002/0.3652, allocations: 1.093 MB / 453 MB, free: 24.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 3.868e-06/0.3653, allocations: 3.938 kB / 453 MB, free: 24.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.006337/0.3716, allocations: 3.35 MB / 456.3 MB, free: 22.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003265/0.3719, allocations: 0.6639 MB / 457 MB, free: 22.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.3727, allocations: 0.5029 MB / 457.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.3729, allocations: 70.64 kB / 457.6 MB, free: 21.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.3732, allocations: 385.9 kB / 457.9 MB, free: 21.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.3735, allocations: 235.6 kB / 458.2 MB, free: 21.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005752/0.3741, allocations: 298.8 kB / 458.5 MB, free: 21.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3743, allocations: 391.2 kB / 458.8 MB, free: 20.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.3757, allocations: 0.5554 MB / 459.4 MB, free: 20.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.3775, allocations: 1.029 MB / 460.4 MB, free: 20 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00544/0.383, allocations: 3.147 MB / 463.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.6e-05/0.383, allocations: 3.562 kB / 463.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005303/0.3884, allocations: 2.234 MB / 465.8 MB, free: 16.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.3886, allocations: 381.2 kB / 466.2 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00271/0.3914, allocations: 1.228 MB / 467.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.025e-05/0.3915, allocations: 21.75 kB / 467.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.3922, allocations: 167.6 kB / 467.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.535e-05/0.3923, allocations: 29.88 kB / 467.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.3933, allocations: 157.8 kB / 467.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.3935, allocations: 72.61 kB / 467.8 MB, free: 15.54 MB / 350.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.001585/0.3951, allocations: 0.9123 MB / 468.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/0.3956, allocations: 100.9 kB / 468.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006991/0.4026, allocations: 2.71 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.4026, allocations: 6.484 kB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.4027, allocations: 0 / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.4027, allocations: 3.375 kB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.4133, allocations: 4.091 MB / 475.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007085/0.4204, allocations: 2.645 MB / 478.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.4208, allocations: 44.16 kB / 478.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.4209, allocations: 2.344 kB / 478.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.4211, allocations: 51.31 kB / 478.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.4211, allocations: 2.469 kB / 478.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4211, allocations: 8.969 kB / 478.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.4321, allocations: 4.083 MB / 482.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.4324, allocations: 139.1 kB / 482.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005135/0.433, allocations: 87.88 kB / 482.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.4343, allocations: 94.47 kB / 482.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/0.4354, allocations: 369.7 kB / 483.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002782/0.4357, allocations: 56.11 kB / 483.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000668/0.4364, allocations: 295.5 kB / 483.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4364, allocations: 0 / 483.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002403/0.4389, allocations: 401 kB / 483.9 MB, free: 7.832 MB / 350.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.01256/0.4514, allocations: 4.913 MB / 488.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006648/0.4582, allocations: 2.727 MB / 491.5 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/0.4582, allocations: 0 / 491.5 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00603/0.4643, allocations: 3.446 MB / 495 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.4656, allocations: 120.2 kB / 495.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/0.4848, allocations: 9.905 MB / 0.4932 GB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008983/0.4857, allocations: 1.056 MB / 0.4942 GB, free: 1.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005556/0.4863, allocations: 197.5 kB / 0.4944 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.4867, allocations: 271.3 kB / 0.4947 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of SimCode: time 2.605e-06/0.4868, allocations: 0 / 0.4947 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.539, allocations: 21.78 MB / 0.5159 GB, free: 10.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.697, allocations: 11.19 kB / 0.5159 GB, free: 10.83 MB / 398.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 & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv","/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