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.001084/0.001084, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1751/0.1751, allocations: 16.75 MB / 307.1 MB, free: 14.95 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 371.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2336, allocations: 53.46 MB / 425.1 MB, free: 39.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002564/0.2362, allocations: 1.97 MB / 427.1 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2383, allocations: 1.569 MB / 428.6 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.2385, allocations: 5.875 kB / 428.6 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.2387, allocations: 137.9 kB / 428.8 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.2391, allocations: 144 kB / 428.9 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.2401, allocations: 0.6468 MB / 429.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009118/0.2411, allocations: 1.445 MB / 431 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.2413, allocations: 259.7 kB / 431.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.2417, allocations: 0.5473 MB / 431.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.2421, allocations: 493.8 kB / 432.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.2422, allocations: 138.1 kB / 432.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.2427, allocations: 472.3 kB / 432.9 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.2429, allocations: 239.1 kB / 433.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.2433, allocations: 0.5636 MB / 433.7 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.2443, allocations: 1.53 MB / 435.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2443, allocations: 2.875 kB / 435.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2443, allocations: 3.422 kB / 435.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2443, allocations: 0 / 435.2 MB, free: 35.43 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.001524/0.2459, allocations: 1.566 MB / 436.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.2459, allocations: 12.42 kB / 436.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009449/0.2469, allocations: 231.4 kB / 437 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.2475, allocations: 0.5502 MB / 437.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.2476, allocations: 260.7 kB / 437.8 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.2478, allocations: 120.2 kB / 437.9 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.2502, allocations: 1.951 MB / 439.9 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.2503, allocations: 3.938 kB / 439.9 MB, free: 32.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.2504, allocations: 62.91 kB / 440 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.2505, allocations: 103.7 kB / 440.1 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.2525, allocations: 1.416 MB / 441.5 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.2563, allocations: 3.56 MB / 445 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.2578, allocations: 1.829 MB / 446.9 MB, free: 29.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.2591, allocations: 1.689 MB / 448.6 MB, free: 28.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.2604, allocations: 3.044 MB / 451.6 MB, free: 24.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.2616, allocations: 1.092 MB / 452.7 MB, free: 24.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.205e-06/0.2617, allocations: 0 / 452.7 MB, free: 24.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.003995/0.2657, allocations: 3.355 MB / 456 MB, free: 22.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000218/0.2659, allocations: 0.6635 MB / 456.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.2663, allocations: 0.5039 MB / 457.2 MB, free: 22.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/0.2664, allocations: 70.83 kB / 457.3 MB, free: 21.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.2666, allocations: 380.7 kB / 457.7 MB, free: 21.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.2667, allocations: 236.5 kB / 457.9 MB, free: 21.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.2671, allocations: 306.2 kB / 458.2 MB, free: 21.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.2671, allocations: 382.6 kB / 458.6 MB, free: 21.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007449/0.2679, allocations: 0.5551 MB / 459.1 MB, free: 20.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009432/0.2688, allocations: 1.029 MB / 460.1 MB, free: 20.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.2717, allocations: 3.133 MB / 463.3 MB, free: 17.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.2718, allocations: 8.125 kB / 463.3 MB, free: 17.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.0028/0.2746, allocations: 2.246 MB / 465.5 MB, free: 16.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.2747, allocations: 376.4 kB / 465.9 MB, free: 16.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001529/0.2763, allocations: 1.224 MB / 467.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.712e-05/0.2763, allocations: 21.14 kB / 467.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.2768, allocations: 172.1 kB / 467.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.432e-05/0.2768, allocations: 29.88 kB / 467.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.2774, allocations: 167.4 kB / 467.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.936e-05/0.2775, allocations: 71.91 kB / 467.6 MB, free: 15.61 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.0009279/0.2784, allocations: 0.9083 MB / 468.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.2786, allocations: 92.7 kB / 468.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.2822, allocations: 2.713 MB / 471.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.2823, allocations: 6.719 kB / 471.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2823, allocations: 4 kB / 471.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2823, allocations: 3.656 kB / 471.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005237/0.2875, allocations: 4.091 MB / 475.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003414/0.291, allocations: 2.644 MB / 478 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.2912, allocations: 47.62 kB / 478.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.2912, allocations: 2.703 kB / 478.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.2913, allocations: 52.11 kB / 478.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2913, allocations: 2.344 kB / 478.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2913, allocations: 5.953 kB / 478.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005499/0.2968, allocations: 4.086 MB / 482.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.297, allocations: 143 kB / 482.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.2972, allocations: 86.14 kB / 482.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/0.2978, allocations: 97.06 kB / 482.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004997/0.2983, allocations: 365.2 kB / 482.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.2985, allocations: 60.48 kB / 483 MB, free: 8.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.2987, allocations: 295.8 kB / 483.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2987, allocations: 4 kB / 483.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001099/0.2998, allocations: 392.5 kB / 483.6 MB, free: 7.949 MB / 350.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.0005894/0.3004, allocations: 378 kB / 484 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002904/0.3033, allocations: 2.733 MB / 486.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3034, allocations: 3.938 kB / 486.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.3055, allocations: 3.435 MB / 490.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.306, allocations: 120 kB / 490.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.309, allocations: 2.182 MB / 492.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.3096, allocations: 1.056 MB / 493.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00043/0.3101, allocations: 197.1 kB / 493.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-05/0.3102, allocations: 51.44 kB / 493.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3102, allocations: 0 / 493.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Templates: time 0.02276/0.333, allocations: 15.9 MB / 0.4977 GB, free: 13.86 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 -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