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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00114/0.00114, allocations: 193 kB / 16.14 MB, free: 6.656 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2306/0.2306, allocations: 16.77 MB / 306.7 MB, free: 15.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.89 kB / 371.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3508, allocations: 53.45 MB / 424.5 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002971/0.3538, allocations: 2.081 MB / 426.6 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.3567, allocations: 1.794 MB / 428.4 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.3569, allocations: 10.66 kB / 428.4 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.3573, allocations: 102.4 kB / 428.5 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.3576, allocations: 105 kB / 428.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.3588, allocations: 0.56 MB / 429.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008564/0.3597, allocations: 1.182 MB / 430.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.36, allocations: 258.1 kB / 430.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.3604, allocations: 465.4 kB / 431.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.3608, allocations: 469.5 kB / 431.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.3609, allocations: 68.59 kB / 431.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005666/0.3615, allocations: 389.2 kB / 432 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.3617, allocations: 221.5 kB / 432.2 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.3621, allocations: 0.5012 MB / 432.7 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.3632, allocations: 1.43 MB / 434.1 MB, free: 35.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3633, allocations: 7.938 kB / 434.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3633, allocations: 0 / 434.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3633, allocations: 0 / 434.1 MB, free: 35.48 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.001855/0.3651, allocations: 1.57 MB / 435.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3652, allocations: 9.156 kB / 435.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001968/0.3654, allocations: 180.2 kB / 435.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009908/0.3664, allocations: 230.8 kB / 436.1 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.3671, allocations: 0.5447 MB / 436.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.3673, allocations: 263.8 kB / 436.9 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.3674, allocations: 124 kB / 437 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.3701, allocations: 1.955 MB / 439 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.3701, allocations: 0 / 439 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.3703, allocations: 59.66 kB / 439.1 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/0.3704, allocations: 102 kB / 439.2 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.3726, allocations: 1.418 MB / 440.6 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.3769, allocations: 3.544 MB / 444.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.3787, allocations: 1.83 MB / 445.9 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.3804, allocations: 1.693 MB / 447.6 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.3806, allocations: 94.84 kB / 447.7 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.382, allocations: 1.095 MB / 448.8 MB, free: 27.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.685e-06/0.382, allocations: 0 / 448.8 MB, free: 27.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004469/0.3864, allocations: 3.341 MB / 452.2 MB, free: 26.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002797/0.3867, allocations: 0.6699 MB / 452.8 MB, free: 25.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005479/0.3873, allocations: 0.5049 MB / 453.3 MB, free: 25.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/0.3874, allocations: 70.12 kB / 453.4 MB, free: 25.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.3876, allocations: 387.1 kB / 453.8 MB, free: 24.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.3878, allocations: 232.1 kB / 454 MB, free: 24.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.3882, allocations: 301.9 kB / 454.3 MB, free: 24.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3883, allocations: 384.4 kB / 454.7 MB, free: 24.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007876/0.3891, allocations: 0.5603 MB / 455.2 MB, free: 24.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3901, allocations: 1.034 MB / 456.3 MB, free: 23.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/0.3935, allocations: 3.133 MB / 459.4 MB, free: 21.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/0.3936, allocations: 8.719 kB / 459.4 MB, free: 21.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003391/0.397, allocations: 2.233 MB / 461.7 MB, free: 19.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002188/0.3972, allocations: 380.9 kB / 462 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/0.3972, allocations: 18.36 kB / 462 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-05/0.3973, allocations: 21.16 kB / 462.1 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.3978, allocations: 163.7 kB / 462.2 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.469e-05/0.3979, allocations: 33.66 kB / 462.3 MB, free: 19.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/0.3986, allocations: 161.8 kB / 462.4 MB, free: 19.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.3988, allocations: 73.48 kB / 462.5 MB, free: 19.46 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.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.enabledByInPlaces[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 (159): * Single equations (assignments): 147 * 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.001569/0.4004, allocations: 0.9 MB / 463.4 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004409/0.4009, allocations: 92.78 kB / 463.5 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00466/0.4055, allocations: 2.725 MB / 466.2 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.4055, allocations: 5 kB / 466.2 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4056, allocations: 1 kB / 466.2 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.4056, allocations: 2.844 kB / 466.2 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006913/0.4125, allocations: 4.084 MB / 470.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.4125, allocations: 4.516 kB / 470.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.4127, allocations: 32.03 kB / 470.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.4127, allocations: 2.812 kB / 470.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.4129, allocations: 50.73 kB / 470.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.4129, allocations: 6.531 kB / 470.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4129, allocations: 5.344 kB / 470.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006821/0.4197, allocations: 4.067 MB / 474.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.4199, allocations: 139.7 kB / 474.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/0.4203, allocations: 86.14 kB / 474.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/0.421, allocations: 97.2 kB / 474.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007266/0.4217, allocations: 369.8 kB / 475.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.4219, allocations: 56.89 kB / 475.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000475/0.4224, allocations: 303.1 kB / 475.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4224, allocations: 0 / 475.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001754/0.4242, allocations: 397.8 kB / 475.9 MB, free: 13.55 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.enabledByInPlaces[1],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.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 (45): * Single equations (assignments): 32 * 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.007672/0.4318, allocations: 4.868 MB / 480.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003493/0.4354, allocations: 2.574 MB / 483.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4354, allocations: 4 kB / 483.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.438, allocations: 3.429 MB / 486.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.4388, allocations: 125.1 kB / 486.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.4554, allocations: 10.09 MB / 497 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009403/0.4563, allocations: 1.053 MB / 498 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005397/0.4569, allocations: 185 kB / 498.2 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.4573, allocations: 251.3 kB / 498.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4573, allocations: 4 kB / 498.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04571/0.503, allocations: 20.87 MB / 0.5071 GB, free: 4.141 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.5033, allocations: 224.2 kB / 0.5074 GB, free: 3.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/2.764, allocations: 0 / 0.5074 GB, free: 3.883 MB / 382.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","../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches