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: translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007171/0.007171, allocations: 100 kB / 15.73 MB, free: 6.055 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.001344/0.001344, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07642/0.07642, allocations: 16.72 MB / 307.2 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 426.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.149, allocations: 53.47 MB / 479.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.004755/0.1539, allocations: 1.979 MB / 481.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00476/0.1587, allocations: 1.556 MB / 483.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005692/0.1593, allocations: 12 kB / 483.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005467/0.1598, allocations: 130.9 kB / 483.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000824/0.1608, allocations: 146.8 kB / 483.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.1634, allocations: 0.6457 MB / 484.2 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.1659, allocations: 1.459 MB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006251/0.1666, allocations: 259.1 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.1677, allocations: 0.553 MB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.1689, allocations: 497.8 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003222/0.1692, allocations: 132 kB / 487.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.1709, allocations: 0.4955 MB / 487.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004924/0.1714, allocations: 235.2 kB / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.1726, allocations: 0.5679 MB / 488.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.1759, allocations: 1.593 MB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.1759, allocations: 0 / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.176, allocations: 0 / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.176, allocations: 0 / 490 MB, free: 10.69 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.003995/0.18, allocations: 1.59 MB / 491.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.385e-05/0.1801, allocations: 15.83 kB / 491.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.1821, allocations: 240.2 kB / 491.8 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.1835, allocations: 0.5416 MB / 492.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/0.184, allocations: 256.2 kB / 492.6 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.1843, allocations: 124 kB / 492.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005738/0.1901, allocations: 1.951 MB / 494.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/0.1901, allocations: 4 kB / 494.7 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.1904, allocations: 55.97 kB / 494.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003688/0.1908, allocations: 109.9 kB / 494.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005085/0.1959, allocations: 1.425 MB / 496.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.2067, allocations: 3.535 MB / 499.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004419/0.2112, allocations: 1.832 MB / 0.4899 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003574/0.2148, allocations: 1.69 MB / 0.4916 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003928/0.2188, allocations: 3.046 MB / 0.4945 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003396/0.2222, allocations: 1.099 MB / 0.4956 GB, free: 8.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 7.665e-06/0.2223, allocations: 0 / 0.4956 GB, free: 8.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.0103/0.2326, allocations: 3.355 MB / 0.4989 GB, free: 4.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007515/0.2334, allocations: 0.6707 MB / 0.4995 GB, free: 3.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.2348, allocations: 0.5014 MB / 0.5 GB, free: 3.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.235, allocations: 73.62 kB / 0.5001 GB, free: 3.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006281/0.2357, allocations: 396.6 kB / 0.5005 GB, free: 2.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005109/0.2362, allocations: 242.2 kB / 0.5007 GB, free: 2.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008572/0.2371, allocations: 302.8 kB / 0.501 GB, free: 2.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002919/0.2374, allocations: 386.8 kB / 0.5014 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.2392, allocations: 0.5537 MB / 0.5019 GB, free: 1.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.2416, allocations: 1.034 MB / 0.5029 GB, free: 200 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.344/0.5856, allocations: 3.112 MB / 0.506 GB, free: 32.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.636e-05/0.5857, allocations: 8.781 kB / 0.506 GB, free: 32.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003792/0.5895, allocations: 2.245 MB / 0.5082 GB, free: 31.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.5897, allocations: 380.7 kB / 0.5085 GB, free: 31.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001876/0.5916, allocations: 1.226 MB / 0.5097 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.88e-05/0.5917, allocations: 23.31 kB / 0.5097 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.5923, allocations: 172.2 kB / 0.5099 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-05/0.5923, allocations: 31.39 kB / 0.5099 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/0.593, allocations: 173.1 kB / 0.5101 GB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.5932, allocations: 70.81 kB / 0.5102 GB, free: 30.92 MB / 382.1 MB Warning: Assuming fixed start value for the following 21 variables: P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 138 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireOut[1],P1.fireIn[1],$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001595/0.5948, allocations: 0.9016 MB / 0.511 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/0.5951, allocations: 94.38 kB / 0.5111 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004738/0.5999, allocations: 2.713 MB / 0.5138 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.5999, allocations: 8.781 kB / 0.5138 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.5999, allocations: 9.453 kB / 0.5138 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.6, allocations: 3.406 kB / 0.5138 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006957/0.6069, allocations: 4.089 MB / 0.5178 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004245/0.6112, allocations: 2.64 MB / 0.5204 GB, free: 26.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.6114, allocations: 47.83 kB / 0.5204 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.6114, allocations: 4.031 kB / 0.5204 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.6115, allocations: 54.62 kB / 0.5205 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.6115, allocations: 4.062 kB / 0.5205 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6116, allocations: 0 / 0.5205 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00674/0.6183, allocations: 4.088 MB / 0.5245 GB, free: 24.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.6185, allocations: 144.9 kB / 0.5246 GB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.6187, allocations: 86.94 kB / 0.5247 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.6194, allocations: 98.95 kB / 0.5248 GB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006497/0.62, allocations: 364.9 kB / 0.5251 GB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.6202, allocations: 58.81 kB / 0.5252 GB, free: 24.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003509/0.6205, allocations: 296.9 kB / 0.5255 GB, free: 24.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6205, allocations: 0 / 0.5255 GB, free: 24.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001563/0.6221, allocations: 403.2 kB / 0.5259 GB, free: 24.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007231/0.6228, allocations: 382.6 kB / 0.5262 GB, free: 23.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002948/0.6258, allocations: 2.594 MB / 0.5288 GB, free: 22.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6258, allocations: 0 / 0.5288 GB, free: 22.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00214/0.6279, allocations: 3.447 MB / 0.5321 GB, free: 18.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.6285, allocations: 109.5 kB / 0.5322 GB, free: 18.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.6316, allocations: 2.185 MB / 0.5344 GB, free: 16.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.632, allocations: 1.06 MB / 0.5354 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.6324, allocations: 192.8 kB / 0.5356 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.6325, allocations: 51.42 kB / 0.5356 GB, free: 15.22 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6325, allocations: 1.688 kB / 0.5356 GB, free: 15.22 MB / 382.1 MB Notification: Performance of Templates: time 0.0231/0.6557, allocations: 16.03 MB / 0.5513 GB, free: 15.07 MB / 398.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.makefile (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 & ./PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches