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.005501/0.005501, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001227/0.001227, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1908/0.1908, allocations: 16.75 MB / 307.3 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 66.27 kB / 426.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1205, allocations: 53.47 MB / 479.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.00272/0.1232, allocations: 1.966 MB / 481.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1258, allocations: 1.564 MB / 483.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.1261, allocations: 6.312 kB / 483.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.1264, allocations: 130.9 kB / 483.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.1269, allocations: 138.1 kB / 483.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.1282, allocations: 0.6458 MB / 484.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.1294, allocations: 1.459 MB / 485.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.1298, allocations: 255.2 kB / 486 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.1304, allocations: 0.559 MB / 486.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.1309, allocations: 0.4915 MB / 487 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.1311, allocations: 132 kB / 487.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007678/0.1319, allocations: 0.4936 MB / 487.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.1321, allocations: 239.2 kB / 487.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.1325, allocations: 0.564 MB / 488.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.1339, allocations: 1.593 MB / 490 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1339, allocations: 0 / 490 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1339, allocations: 0 / 490 MB, free: 2.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1339, allocations: 0 / 490 MB, free: 2.535 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.001778/0.1357, allocations: 1.568 MB / 491.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1357, allocations: 11.89 kB / 491.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.1367, allocations: 231.7 kB / 491.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/0.1374, allocations: 0.5453 MB / 492.4 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.1377, allocations: 260.2 kB / 492.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.1379, allocations: 135.8 kB / 492.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.1408, allocations: 1.947 MB / 494.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.1409, allocations: 8 kB / 494.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.141, allocations: 55.97 kB / 494.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/0.1412, allocations: 101.9 kB / 494.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.1436, allocations: 1.421 MB / 496.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005061/0.1487, allocations: 3.522 MB / 499.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.1508, allocations: 1.82 MB / 0.4899 GB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.1527, allocations: 1.7 MB / 0.4915 GB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/0.1552, allocations: 3.05 MB / 0.4945 GB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/0.157, allocations: 1.095 MB / 0.4956 GB, free: 15.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 2.755e-06/0.157, allocations: 4 kB / 0.4956 GB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.005107/0.1621, allocations: 3.343 MB / 0.4989 GB, free: 12.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004035/0.1625, allocations: 0.6704 MB / 0.4995 GB, free: 11.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.1631, allocations: 0.5049 MB / 0.5 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.375e-05/0.1632, allocations: 73.94 kB / 0.5001 GB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.1635, allocations: 383.4 kB / 0.5005 GB, free: 10.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.1637, allocations: 233.3 kB / 0.5007 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.1641, allocations: 302.7 kB / 0.501 GB, free: 10.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1643, allocations: 382.8 kB / 0.5013 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008565/0.1652, allocations: 0.5537 MB / 0.5019 GB, free: 9.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.1664, allocations: 1.038 MB / 0.5029 GB, free: 8.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.17, allocations: 3.127 MB / 0.5059 GB, free: 4.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/0.17, allocations: 7.938 kB / 0.5059 GB, free: 4.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003149/0.1732, allocations: 2.238 MB / 0.5081 GB, free: 2.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.1734, allocations: 382.6 kB / 0.5085 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00172/0.1751, allocations: 1.225 MB / 0.5097 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.822e-05/0.1752, allocations: 20 kB / 0.5097 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.1757, allocations: 167.9 kB / 0.5099 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.849e-05/0.1757, allocations: 35.86 kB / 0.5099 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.1764, allocations: 166.6 kB / 0.5101 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.1766, allocations: 71.98 kB / 0.5101 GB, free: 84 kB / 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.001339/0.1779, allocations: 0.9026 MB / 0.511 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.1782, allocations: 95.25 kB / 0.5111 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/0.1821, allocations: 2.717 MB / 0.5138 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.1822, allocations: 4 kB / 0.5138 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1822, allocations: 0 / 0.5138 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1822, allocations: 7.922 kB / 0.5138 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005785/0.188, allocations: 4.081 MB / 0.5178 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00365/0.1917, allocations: 2.652 MB / 0.5203 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.1919, allocations: 39.91 kB / 0.5204 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.1919, allocations: 4 kB / 0.5204 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.192, allocations: 51.97 kB / 0.5204 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.192, allocations: 0 / 0.5204 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.192, allocations: 4 kB / 0.5204 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005769/0.1978, allocations: 4.08 MB / 0.5244 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.198, allocations: 140.2 kB / 0.5246 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.1982, allocations: 91.97 kB / 0.5246 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/0.1988, allocations: 99.92 kB / 0.5247 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005767/0.1994, allocations: 371.6 kB / 0.5251 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.1995, allocations: 55.97 kB / 0.5251 GB, free: 336 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.1999, allocations: 295.1 kB / 0.5254 GB, free: 36 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1999, allocations: 0 / 0.5254 GB, free: 36 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001358/0.2012, allocations: 399.4 kB / 0.5258 GB, free: 15.64 MB / 414.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.0007418/0.202, allocations: 373.6 kB / 0.5262 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003521/0.2055, allocations: 2.597 MB / 0.5287 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2055, allocations: 1.875 kB / 0.5287 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003305/0.2088, allocations: 3.438 MB / 0.5321 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.2095, allocations: 117.7 kB / 0.5322 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.2133, allocations: 2.172 MB / 0.5343 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006871/0.214, allocations: 1.056 MB / 0.5353 GB, free: 5.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004988/0.2145, allocations: 201.6 kB / 0.5355 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.2146, allocations: 51.44 kB / 0.5356 GB, free: 5.344 MB / 414.1 MB Notification: Performance of SimCode: time 1.663e-06/0.2146, allocations: 0 / 0.5356 GB, free: 5.344 MB / 414.1 MB Notification: Performance of Templates: time 0.02879/0.2434, allocations: 16.43 MB / 0.5516 GB, free: 4.77 MB / 430.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