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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002353, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006897/0.0006897, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009119/0.001602, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09938/1.114, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.04826/0.04826, allocations: 12.65 MB / 256.8 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00947/0.05773, allocations: 4.699 MB / 261.5 MB, free: 13.55 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 262.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.594e-05, allocations: 2.312 kB / 262.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003304/0.00333, allocations: 1.884 MB / 264.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003311/0.006641, allocations: 1.574 MB / 266.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.007025, allocations: 11.94 kB / 266.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.007397, allocations: 138.8 kB / 266.4 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.00788, allocations: 174.8 kB / 266.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.009562, allocations: 0.6584 MB / 267.2 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.01133, allocations: 1.412 MB / 268.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.01164, allocations: 125.7 kB / 268.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.01268, allocations: 0.8327 MB / 269.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007267/0.01341, allocations: 474.6 kB / 270 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.01362, allocations: 135.9 kB / 270.2 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.01482, allocations: 0.6123 MB / 270.8 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.01503, allocations: 203.2 kB / 271 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.01535, allocations: 323.5 kB / 271.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.01667, allocations: 1.215 MB / 272.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.759e-05/0.01668, allocations: 4 kB / 272.5 MB, free: 2.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.01669, allocations: 0 / 272.5 MB, free: 2.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.01672, allocations: 0 / 272.5 MB, free: 2.465 MB / 266.7 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.001981/0.0187, allocations: 1.676 MB / 274.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.01874, allocations: 11.98 kB / 274.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/0.0195, allocations: 437.6 kB / 274.6 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1293/0.1488, allocations: 330.7 kB / 275 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.149, allocations: 414 kB / 275.4 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.1491, allocations: 127.2 kB / 275.5 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.1508, allocations: 1.801 MB / 277.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.1509, allocations: 1.438 kB / 277.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.254e-05/0.1509, allocations: 54.14 kB / 277.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.1511, allocations: 105.2 kB / 277.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1521, allocations: 1.017 MB / 278.5 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.155, allocations: 2.405 MB / 280.9 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.1558, allocations: 0.92 MB / 281.8 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.1564, allocations: 0.8144 MB / 282.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/0.157, allocations: 364.7 kB / 283 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009345/0.158, allocations: 1.161 MB / 284.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of pre-optimization done (n=88): time 2.004e-06/0.158, allocations: 3.906 kB / 284.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=88): time 0.002086/0.1601, allocations: 2.519 MB / 286.6 MB, free: 3.785 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.1602, allocations: 434.4 kB / 287.1 MB, free: 3.371 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.1606, allocations: 432.2 kB / 287.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.661e-05/0.1607, allocations: 71.56 kB / 287.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1608, allocations: 377.1 kB / 287.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.161, allocations: 243.9 kB / 288.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.1612, allocations: 301.3 kB / 288.5 MB, free: 2.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.1613, allocations: 386.6 kB / 288.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.1617, allocations: 0.5868 MB / 289.4 MB, free: 1.949 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.1622, allocations: 1.183 MB / 290.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.1633, allocations: 2.033 MB / 292.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.1634, allocations: 3.844 kB / 292.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00115/0.1645, allocations: 1.613 MB / 294.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.1647, allocations: 371.7 kB / 294.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005793/0.1653, allocations: 0.8203 MB / 295.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.715e-05/0.1653, allocations: 22.94 kB / 295.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.1657, allocations: 229.4 kB / 295.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.1657, allocations: 29.23 kB / 295.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.1662, allocations: 161.6 kB / 295.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.1662, allocations: 60.72 kB / 295.9 MB, free: 13.09 MB / 282.7 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: 136 ($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,$PRE.T1.firingTime,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[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,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.reStart,P1.outTransition[1].tint,P1.outTransition[1].minTokensint,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 147 * 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.0008248/0.1671, allocations: 0.7462 MB / 296.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.1673, allocations: 152.7 kB / 296.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.1686, allocations: 1.647 MB / 298.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.1686, allocations: 8 kB / 298.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1686, allocations: 0.5625 kB / 298.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1686, allocations: 0 / 298.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.171, allocations: 2.444 MB / 300.9 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001086/0.1721, allocations: 1.584 MB / 302.5 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1723, allocations: 47.92 kB / 302.6 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.1723, allocations: 66.08 kB / 302.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1723, allocations: 4 kB / 302.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/0.1724, allocations: 47.97 kB / 302.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1724, allocations: 0 / 302.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1724, allocations: 0 / 302.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.1747, allocations: 3.122 MB / 305.8 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.1749, allocations: 83.97 kB / 305.9 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.1752, allocations: 91.92 kB / 306 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/0.1756, allocations: 399 kB / 306.4 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003107/0.1759, allocations: 51.91 kB / 306.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.176, allocations: 122 kB / 306.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.176, allocations: 0 / 306.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001238/0.1773, allocations: 407.2 kB / 306.9 MB, free: 1.672 MB / 282.7 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.0006872/0.178, allocations: 420.8 kB / 307.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.1798, allocations: 2.464 MB / 309.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.443e-05/0.1798, allocations: 19.95 kB / 309.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.1808, allocations: 1.62 MB / 311.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1813, allocations: 382.7 kB / 311.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.1839, allocations: 2.298 MB / 314.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.1841, allocations: 224.1 kB / 314.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.1842, allocations: 85.2 kB / 314.4 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006687/0.1849, allocations: 371.2 kB / 314.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1849, allocations: 0 / 314.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of Templates: time 0.02186/0.2068, allocations: 17.33 MB / 332.1 MB, free: 8.039 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.029501497745514]