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.00169/0.00169, 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.002083/0.002082, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.505/1.505, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1925/0.1925, allocations: 16.77 MB / 307.2 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.89 kB / 371.8 MB, free: 3.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3844, allocations: 53.45 MB / 425.2 MB, free: 39.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002825/0.3873, allocations: 1.965 MB / 427.2 MB, free: 38.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.3899, allocations: 1.569 MB / 428.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.3902, allocations: 5.875 kB / 428.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.3906, allocations: 133.5 kB / 428.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004633/0.3911, allocations: 139.7 kB / 429 MB, free: 38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.3927, allocations: 0.6647 MB / 429.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.394, allocations: 1.442 MB / 431.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.3943, allocations: 263.8 kB / 431.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.3948, allocations: 0.5484 MB / 431.9 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.3952, allocations: 493.6 kB / 432.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.3954, allocations: 135.2 kB / 432.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005841/0.396, allocations: 465.7 kB / 433 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.3962, allocations: 242 kB / 433.2 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000437/0.3967, allocations: 0.5651 MB / 433.8 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3981, allocations: 1.53 MB / 435.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3981, allocations: 0 / 435.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3981, allocations: 0 / 435.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.3982, allocations: 4 kB / 435.3 MB, free: 35.25 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.00199/0.4002, allocations: 1.568 MB / 436.9 MB, free: 34.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4002, allocations: 12.95 kB / 436.9 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.4004, allocations: 180.5 kB / 437.1 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.4014, allocations: 232 kB / 437.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/0.4021, allocations: 0.5519 MB / 437.9 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.4023, allocations: 257.6 kB / 438.1 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.4025, allocations: 118.1 kB / 438.2 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.4052, allocations: 1.954 MB / 440.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.4053, allocations: 0 / 440.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.4054, allocations: 61.06 kB / 440.2 MB, free: 32.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/0.4056, allocations: 109.7 kB / 440.3 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.4078, allocations: 1.415 MB / 441.8 MB, free: 31.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/0.4119, allocations: 3.557 MB / 445.3 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.4137, allocations: 1.832 MB / 447.2 MB, free: 28.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.4151, allocations: 1.685 MB / 448.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.4165, allocations: 3.045 MB / 451.9 MB, free: 24.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.4179, allocations: 1.102 MB / 453 MB, free: 24.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.224e-06/0.4179, allocations: 0 / 453 MB, free: 24.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004648/0.4226, allocations: 3.346 MB / 456.3 MB, free: 22.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003108/0.4229, allocations: 0.6659 MB / 457 MB, free: 22.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.4235, allocations: 0.507 MB / 457.5 MB, free: 21.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.233e-05/0.4236, allocations: 66.2 kB / 457.6 MB, free: 21.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.4238, allocations: 383.7 kB / 457.9 MB, free: 21.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.4239, allocations: 235.2 kB / 458.2 MB, free: 21.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/0.4243, allocations: 302.2 kB / 458.5 MB, free: 21.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4244, allocations: 384.9 kB / 458.8 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008538/0.4253, allocations: 0.5559 MB / 459.4 MB, free: 20.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.4265, allocations: 1.04 MB / 460.4 MB, free: 19.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/0.4302, allocations: 3.125 MB / 463.6 MB, free: 17.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/0.4302, allocations: 3.469 kB / 463.6 MB, free: 17.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003785/0.434, allocations: 2.253 MB / 465.8 MB, free: 16.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.4342, allocations: 380.3 kB / 466.2 MB, free: 16.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001993/0.4362, allocations: 1.22 MB / 467.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.477e-05/0.4363, allocations: 25.28 kB / 467.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.4368, allocations: 169.7 kB / 467.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-05/0.4369, allocations: 31.41 kB / 467.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.4377, allocations: 158.6 kB / 467.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.4378, allocations: 73.23 kB / 467.9 MB, free: 15.33 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.001791/0.4396, allocations: 0.9044 MB / 468.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.44, allocations: 91.94 kB / 468.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004285/0.4443, allocations: 2.713 MB / 471.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.4443, allocations: 5.875 kB / 471.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4443, allocations: 2.109 kB / 471.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4443, allocations: 2.016 kB / 471.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007078/0.4514, allocations: 4.099 MB / 475.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003912/0.4553, allocations: 2.644 MB / 478.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.4556, allocations: 44.45 kB / 478.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.4556, allocations: 6.906 kB / 478.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.4557, allocations: 50.36 kB / 478.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.4557, allocations: 3.844 kB / 478.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4557, allocations: 5.031 kB / 478.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005731/0.4615, allocations: 4.082 MB / 482.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.4616, allocations: 143.5 kB / 482.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.4619, allocations: 82.94 kB / 482.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/0.4625, allocations: 98.52 kB / 482.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005581/0.4631, allocations: 361.6 kB / 483.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.4632, allocations: 64.23 kB / 483.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004254/0.4636, allocations: 295.5 kB / 483.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4636, allocations: 0 / 483.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001347/0.465, allocations: 400.8 kB / 483.9 MB, free: 7.574 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.006787/0.4718, allocations: 4.911 MB / 488.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003564/0.4754, allocations: 2.731 MB / 491.6 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4754, allocations: 8.188 kB / 491.6 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004637/0.4801, allocations: 3.434 MB / 495 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.4813, allocations: 119.8 kB / 495.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.4969, allocations: 9.901 MB / 0.4932 GB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.4976, allocations: 1.06 MB / 0.4942 GB, free: 1.102 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004959/0.4981, allocations: 197.5 kB / 0.4944 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.4984, allocations: 267.3 kB / 0.4947 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4984, allocations: 0 / 0.4947 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05487/0.5533, allocations: 21.77 MB / 0.5159 GB, free: 10.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.79, allocations: 10.25 kB / 0.5159 GB, free: 10.8 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 & /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