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.001009/0.001009, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00807/0.00807, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2053/0.2053, allocations: 16.73 MB / 308.2 MB, free: 15.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 11.94 kB / 373.5 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2735, allocations: 54.47 MB / 428 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.001803/0.2753, allocations: 1.714 MB / 429.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.2783, allocations: 1.771 MB / 431.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004852/0.2789, allocations: 10.84 kB / 431.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.2792, allocations: 102.1 kB / 431.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006252/0.2799, allocations: 103.3 kB / 431.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.2814, allocations: 0.5606 MB / 432.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.2825, allocations: 1.177 MB / 433.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.2829, allocations: 259 kB / 433.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.2835, allocations: 427 kB / 434.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.2842, allocations: 420.6 kB / 434.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002653/0.2845, allocations: 52.41 kB / 434.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007569/0.2852, allocations: 377.2 kB / 434.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.2855, allocations: 199.5 kB / 435.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005086/0.286, allocations: 0.4978 MB / 435.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.2871, allocations: 1.392 MB / 437 MB, free: 35.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2871, allocations: 4 kB / 437 MB, free: 35.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2871, allocations: 7.422 kB / 437 MB, free: 35.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.2872, allocations: 0 / 437 MB, free: 35.75 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.00146/0.2886, allocations: 1.354 MB / 438.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2887, allocations: 12.16 kB / 438.4 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000205/0.2889, allocations: 184.2 kB / 438.6 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.2899, allocations: 230.9 kB / 438.8 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.2905, allocations: 0.5446 MB / 439.3 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.2907, allocations: 257.8 kB / 439.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.2909, allocations: 123.7 kB / 439.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.2935, allocations: 1.954 MB / 441.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.2936, allocations: 14.92 kB / 441.7 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.2937, allocations: 58.27 kB / 441.7 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.2939, allocations: 103.2 kB / 441.8 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.296, allocations: 1.432 MB / 443.3 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.3002, allocations: 3.547 MB / 446.8 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.3021, allocations: 1.848 MB / 448.7 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.3037, allocations: 1.697 MB / 450.4 MB, free: 28.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.3038, allocations: 89.3 kB / 450.4 MB, free: 28.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/0.3052, allocations: 1.096 MB / 451.5 MB, free: 27.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.265e-06/0.3052, allocations: 0 / 451.5 MB, free: 27.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004531/0.3097, allocations: 3.368 MB / 454.9 MB, free: 26.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002753/0.31, allocations: 0.6673 MB / 455.6 MB, free: 25.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.3106, allocations: 0.4978 MB / 456.1 MB, free: 25.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-05/0.3107, allocations: 66.66 kB / 456.1 MB, free: 25.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.3109, allocations: 384 kB / 456.5 MB, free: 25.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.3111, allocations: 235.3 kB / 456.7 MB, free: 25.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.3113, allocations: 181.6 kB / 456.9 MB, free: 25.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.3114, allocations: 382.2 kB / 457.3 MB, free: 24.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007871/0.3122, allocations: 0.5624 MB / 457.9 MB, free: 24.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.3133, allocations: 1.04 MB / 458.9 MB, free: 23.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/0.3166, allocations: 3.159 MB / 462.1 MB, free: 21.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.3167, allocations: 11.28 kB / 462.1 MB, free: 21.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003194/0.3199, allocations: 2.24 MB / 464.3 MB, free: 20.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.3201, allocations: 380.8 kB / 464.7 MB, free: 20.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.31e-05/0.3201, allocations: 20.83 kB / 464.7 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.812e-05/0.3202, allocations: 21.41 kB / 464.7 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.3207, allocations: 165.3 kB / 464.9 MB, free: 19.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.508e-05/0.3207, allocations: 31.22 kB / 464.9 MB, free: 19.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.3214, allocations: 175.5 kB / 465.1 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.3215, allocations: 71.86 kB / 465.2 MB, free: 19.87 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.001226/0.3227, allocations: 0.9039 MB / 466.1 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.323, allocations: 91.53 kB / 466.2 MB, free: 19.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.3272, allocations: 2.733 MB / 468.9 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.3272, allocations: 6.969 kB / 468.9 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3273, allocations: 0 / 468.9 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3273, allocations: 4.188 kB / 468.9 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.3333, allocations: 4.092 MB / 473 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.3333, allocations: 4.781 kB / 473 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.3335, allocations: 37.89 kB / 473 MB, free: 16.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.3335, allocations: 7.312 kB / 473 MB, free: 16.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.3336, allocations: 55.34 kB / 473.1 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.3337, allocations: 2 kB / 473.1 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.3337, allocations: 12.88 kB / 473.1 MB, free: 16.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/0.3397, allocations: 4.074 MB / 477.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3399, allocations: 143.5 kB / 477.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.3401, allocations: 82.47 kB / 477.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006669/0.3408, allocations: 108.9 kB / 477.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006219/0.3414, allocations: 367.7 kB / 477.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.3416, allocations: 67.45 kB / 477.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003326/0.3419, allocations: 294.9 kB / 478.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3419, allocations: 1.094 kB / 478.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00132/0.3433, allocations: 394 kB / 478.6 MB, free: 13.95 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.00677/0.35, allocations: 4.889 MB / 483.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.3531, allocations: 2.585 MB / 486.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3531, allocations: 1.75 kB / 486.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002408/0.3555, allocations: 3.44 MB / 489.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.3562, allocations: 118.5 kB / 489.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.3686, allocations: 10.13 MB / 499.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.3693, allocations: 1.068 MB / 0.4891 GB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004654/0.3697, allocations: 185.4 kB / 0.4893 GB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.37, allocations: 251.4 kB / 0.4895 GB, free: 8.926 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3701, allocations: 4 kB / 0.4895 GB, free: 8.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.4058, allocations: 20.69 MB / 0.5097 GB, free: 4.223 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.4061, allocations: 224 kB / 0.5099 GB, free: 3.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.7, allocations: 0 / 0.5099 GB, free: 3.965 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