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.001073/0.001073, allocations: 106 kB / 16.35 MB, free: 5.824 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.001114/0.001114, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.371/1.371, allocations: 222.9 MB / 241 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.07658/0.07658, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 62.14 kB / 373 MB, free: 48.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09413/0.09553, allocations: 53.47 MB / 426.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002649/0.09822, allocations: 1.974 MB / 428.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.1006, allocations: 1.567 MB / 430 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.1008, allocations: 11.94 kB / 430.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.1011, allocations: 126.9 kB / 430.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.1015, allocations: 150.8 kB / 430.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1026, allocations: 0.6419 MB / 431 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1038, allocations: 1.451 MB / 432.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.1041, allocations: 271.1 kB / 432.7 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000451/0.1046, allocations: 0.5491 MB / 433.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.105, allocations: 0.4901 MB / 433.7 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.1052, allocations: 132 kB / 433.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000551/0.1057, allocations: 499.5 kB / 434.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.1059, allocations: 243.2 kB / 434.6 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004136/0.1064, allocations: 0.5562 MB / 435.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1074, allocations: 1.578 MB / 436.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1075, allocations: 0 / 436.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1075, allocations: 0 / 436.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1075, allocations: 4 kB / 436.7 MB, free: 1.496 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.001711/0.1092, allocations: 1.568 MB / 438.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1092, allocations: 11.89 kB / 438.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009895/0.1102, allocations: 223.7 kB / 438.5 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008271/0.1111, allocations: 0.5531 MB / 439.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.1113, allocations: 256.2 kB / 439.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.1115, allocations: 124 kB / 439.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/0.1148, allocations: 1.959 MB / 441.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.1149, allocations: 0 / 441.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.115, allocations: 51.98 kB / 441.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/0.1152, allocations: 109.9 kB / 441.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.1177, allocations: 1.421 MB / 443 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005314/0.123, allocations: 3.526 MB / 446.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.1254, allocations: 1.827 MB / 448.3 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.1272, allocations: 1.697 MB / 450 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002255/0.1295, allocations: 3.039 MB / 453.1 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.1312, allocations: 1.095 MB / 454.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=88): time 2.665e-06/0.1312, allocations: 7.938 kB / 454.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=88): time 0.005186/0.1364, allocations: 3.347 MB / 457.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004017/0.1368, allocations: 0.6627 MB / 458.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.1375, allocations: 0.5129 MB / 458.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.1376, allocations: 69.69 kB / 458.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.1379, allocations: 379.4 kB / 459.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.1381, allocations: 237.2 kB / 459.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/0.1386, allocations: 298.8 kB / 459.6 MB, free: 9.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1387, allocations: 386.8 kB / 460 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008765/0.1396, allocations: 0.5498 MB / 460.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.1408, allocations: 1.042 MB / 461.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/0.1443, allocations: 3.127 MB / 464.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.1443, allocations: 7.938 kB / 464.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003117/0.1475, allocations: 2.241 MB / 467 MB, free: 1.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.1477, allocations: 378.6 kB / 467.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001626/0.1494, allocations: 1.233 MB / 468.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/0.1494, allocations: 20 kB / 468.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.1499, allocations: 167.6 kB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/0.1499, allocations: 31.92 kB / 468.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.1506, allocations: 166.6 kB / 469 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.1507, allocations: 64 kB / 469 MB, free: 15.06 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.00119/0.1519, allocations: 0.9108 MB / 469.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.1521, allocations: 91.25 kB / 470 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.1561, allocations: 2.713 MB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.1561, allocations: 4 kB / 472.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1561, allocations: 0 / 472.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1561, allocations: 4 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005786/0.1619, allocations: 4.101 MB / 476.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003722/0.1656, allocations: 2.636 MB / 479.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.1659, allocations: 43.84 kB / 479.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1659, allocations: 4 kB / 479.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.166, allocations: 55.95 kB / 479.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.166, allocations: 4 kB / 479.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.166, allocations: 3.984 kB / 479.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/0.1718, allocations: 4.08 MB / 483.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.172, allocations: 140.3 kB / 483.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.1723, allocations: 79.97 kB / 483.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.1728, allocations: 99.97 kB / 484 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005726/0.1734, allocations: 367.5 kB / 484.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.1736, allocations: 63.95 kB / 484.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003185/0.1739, allocations: 295.1 kB / 484.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1739, allocations: 0 / 484.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001414/0.1753, allocations: 403.2 kB / 485.1 MB, free: 14.62 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.000934/0.1763, allocations: 387.3 kB / 485.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003954/0.1802, allocations: 2.59 MB / 488.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.1803, allocations: 0.8125 kB / 488.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003124/0.1834, allocations: 3.45 MB / 491.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.1841, allocations: 109.5 kB / 491.6 MB, free: 7.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.1878, allocations: 2.149 MB / 493.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.1885, allocations: 1.06 MB / 494.8 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004779/0.189, allocations: 197.5 kB / 495 MB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.747e-05/0.1891, allocations: 51.44 kB / 495.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1891, allocations: 0 / 495.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of Templates: time 0.02679/0.2159, allocations: 15.9 MB / 0.499 GB, free: 4.289 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 cvode -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