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.001617/0.001617, allocations: 111.3 kB / 16.37 MB, free: 6.012 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.002069/0.002069, allocations: 191.7 kB / 17.3 MB, free: 5.613 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07587/0.07587, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 61.66 kB / 373 MB, free: 48.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09822/0.09953, allocations: 53.47 MB / 426.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002955/0.1025, allocations: 1.967 MB / 428.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.1052, allocations: 1.571 MB / 430.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.1056, allocations: 8 kB / 430.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.106, allocations: 126.9 kB / 430.2 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.1064, allocations: 142.8 kB / 430.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1077, allocations: 0.6456 MB / 431 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.1087, allocations: 1.455 MB / 432.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.1091, allocations: 267.1 kB / 432.7 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.1095, allocations: 0.5531 MB / 433.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/0.11, allocations: 497.8 kB / 433.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.1101, allocations: 135.9 kB / 433.9 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006102/0.1107, allocations: 0.4955 MB / 434.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.1109, allocations: 239.2 kB / 434.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.1114, allocations: 0.5523 MB / 435.1 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.1124, allocations: 1.574 MB / 436.7 MB, free: 1.484 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1124, allocations: 0 / 436.7 MB, free: 1.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1124, allocations: 0 / 436.7 MB, free: 1.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1125, allocations: 0 / 436.7 MB, free: 1.484 MB / 302.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.001741/0.1142, allocations: 1.572 MB / 438.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1143, allocations: 15.88 kB / 438.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.1153, allocations: 227.7 kB / 438.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008607/0.1162, allocations: 0.5491 MB / 439.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.1164, allocations: 260.2 kB / 439.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.1166, allocations: 124 kB / 439.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/0.1195, allocations: 1.951 MB / 441.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1195, allocations: 0 / 441.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.1197, allocations: 59.97 kB / 441.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.1198, allocations: 101.9 kB / 441.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/0.1222, allocations: 1.425 MB / 443 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005357/0.1275, allocations: 3.518 MB / 446.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.1301, allocations: 1.831 MB / 448.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.1319, allocations: 1.694 MB / 450 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002089/0.134, allocations: 3.046 MB / 453.1 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/0.1356, allocations: 1.091 MB / 454.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=88): time 2.925e-06/0.1356, allocations: 0 / 454.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=88): time 0.005043/0.1407, allocations: 3.351 MB / 457.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003917/0.1411, allocations: 0.6704 MB / 458.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005849/0.1417, allocations: 0.5052 MB / 458.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/0.1418, allocations: 69.69 kB / 458.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.1421, allocations: 379.4 kB / 459.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.1423, allocations: 241.2 kB / 459.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.1426, allocations: 294.8 kB / 459.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1428, allocations: 386.8 kB / 460 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008482/0.1436, allocations: 0.5576 MB / 460.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.1448, allocations: 1.038 MB / 461.6 MB, free: 7.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/0.1483, allocations: 3.123 MB / 464.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.1483, allocations: 7.938 kB / 464.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003061/0.1514, allocations: 2.249 MB / 467 MB, free: 1.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.1516, allocations: 374.6 kB / 467.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001683/0.1533, allocations: 1.229 MB / 468.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/0.1533, allocations: 20.5 kB / 468.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.1538, allocations: 175.6 kB / 468.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.45e-05/0.1539, allocations: 35.84 kB / 468.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.1545, allocations: 162.6 kB / 469 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.1546, allocations: 72 kB / 469.1 MB, free: 15.03 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.001006/0.1556, allocations: 0.8992 MB / 470 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.1558, allocations: 91.25 kB / 470 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/0.1597, allocations: 2.713 MB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.1597, allocations: 7.938 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1597, allocations: 0 / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.1598, allocations: 7.984 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005922/0.1657, allocations: 4.093 MB / 476.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003796/0.1695, allocations: 2.64 MB / 479.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.1697, allocations: 47.91 kB / 479.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.1697, allocations: 0 / 479.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.1699, allocations: 55.95 kB / 479.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1699, allocations: 4 kB / 479.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1699, allocations: 0 / 479.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006002/0.1759, allocations: 4.084 MB / 483.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.1761, allocations: 140.2 kB / 483.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.1763, allocations: 87.97 kB / 483.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/0.1769, allocations: 91.98 kB / 484 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005906/0.1775, allocations: 363.6 kB / 484.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.1777, allocations: 63.95 kB / 484.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.178, allocations: 295.1 kB / 484.7 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.178, allocations: 0 / 484.7 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001199/0.1792, allocations: 403.3 kB / 485.1 MB, free: 14.6 MB / 366.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.0007303/0.18, allocations: 395.5 kB / 485.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003332/0.1833, allocations: 2.59 MB / 488.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1833, allocations: 7.938 kB / 488.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003056/0.1864, allocations: 3.439 MB / 491.5 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.187, allocations: 118.4 kB / 491.6 MB, free: 7.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.1908, allocations: 2.149 MB / 493.8 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007198/0.1916, allocations: 1.064 MB / 494.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004637/0.192, allocations: 193.5 kB / 495 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1922, allocations: 47.44 kB / 495.1 MB, free: 4.305 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1922, allocations: 4 kB / 495.1 MB, free: 4.301 MB / 366.1 MB Notification: Performance of Templates: time 0.02685/0.219, allocations: 15.89 MB / 0.499 GB, free: 4.273 MB / 382.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches