Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 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.00121/0.00121, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.222/1.222, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1631/0.1631, allocations: 16.77 MB / 307.1 MB, free: 14.9 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 371.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2423, allocations: 53.46 MB / 425.1 MB, free: 39.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002353/0.2447, allocations: 1.856 MB / 427 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.247, allocations: 1.912 MB / 428.9 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.2471, allocations: 10.62 kB / 428.9 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.2474, allocations: 113.8 kB / 429 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.2477, allocations: 137.5 kB / 429.1 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.2488, allocations: 0.9024 MB / 430 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008511/0.2497, allocations: 1.49 MB / 431.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.2499, allocations: 271.1 kB / 431.8 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.2503, allocations: 0.5692 MB / 432.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.2506, allocations: 494.2 kB / 432.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.2508, allocations: 138.8 kB / 433 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006767/0.2515, allocations: 0.8023 MB / 433.8 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.2516, allocations: 203.3 kB / 434 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003794/0.252, allocations: 0.5704 MB / 434.5 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.2531, allocations: 1.759 MB / 436.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2531, allocations: 3.812 kB / 436.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2531, allocations: 3.938 kB / 436.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.2531, allocations: 3.328 kB / 436.3 MB, free: 35.14 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001443/0.2546, allocations: 1.548 MB / 437.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.2546, allocations: 14.2 kB / 437.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003528/0.255, allocations: 131.6 kB / 438 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.2555, allocations: 0.5405 MB / 438.5 MB, free: 33.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.875e-05/0.2556, allocations: 140.3 kB / 438.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.2558, allocations: 117.5 kB / 438.8 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.258, allocations: 2.025 MB / 440.8 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.258, allocations: 7.031 kB / 440.8 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.2582, allocations: 59.33 kB / 440.9 MB, free: 32.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.2583, allocations: 91.94 kB / 441 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.2601, allocations: 1.429 MB / 442.4 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003724/0.2638, allocations: 4.27 MB / 446.7 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.2656, allocations: 2.411 MB / 449.1 MB, free: 27.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.2672, allocations: 2.305 MB / 451.4 MB, free: 26.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.882e-05/0.2672, allocations: 83.56 kB / 451.5 MB, free: 26.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/0.2687, allocations: 1.307 MB / 452.8 MB, free: 25.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.124e-06/0.2687, allocations: 0 / 452.8 MB, free: 25.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.004549/0.2733, allocations: 3.972 MB / 456.7 MB, free: 24.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002653/0.2736, allocations: 0.6546 MB / 457.4 MB, free: 23.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.274, allocations: 0.5122 MB / 457.9 MB, free: 23.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-05/0.2741, allocations: 73.75 kB / 458 MB, free: 23.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.2743, allocations: 347.4 kB / 458.3 MB, free: 22.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.2745, allocations: 230.6 kB / 458.5 MB, free: 22.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/0.2748, allocations: 307.4 kB / 458.8 MB, free: 22.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.2749, allocations: 329.4 kB / 459.2 MB, free: 22.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.2756, allocations: 0.5485 MB / 459.7 MB, free: 22.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009234/0.2766, allocations: 1.024 MB / 460.7 MB, free: 21.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/0.2795, allocations: 3.2 MB / 463.9 MB, free: 18.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/0.2796, allocations: 5.469 kB / 463.9 MB, free: 18.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002729/0.2823, allocations: 2.221 MB / 466.2 MB, free: 17.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.2825, allocations: 355.9 kB / 466.5 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.2825, allocations: 13.75 kB / 466.5 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.2825, allocations: 20.62 kB / 466.6 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.2829, allocations: 158.1 kB / 466.7 MB, free: 17.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.648e-05/0.283, allocations: 31.41 kB / 466.7 MB, free: 17.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.2835, allocations: 169.8 kB / 466.9 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.2837, allocations: 69.3 kB / 467 MB, free: 17.42 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real 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 ) "priority Index" type: Integer 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.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * 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.001076/0.2847, allocations: 0.8982 MB / 467.9 MB, free: 16.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.2849, allocations: 100.3 kB / 468 MB, free: 16.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/0.2891, allocations: 3.349 MB / 471.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.2892, allocations: 6.922 kB / 471.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2892, allocations: 0.75 kB / 471.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2892, allocations: 6.109 kB / 471.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005893/0.2951, allocations: 4.753 MB / 476.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2951, allocations: 0.5156 kB / 476.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.2953, allocations: 36.48 kB / 476.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2953, allocations: 5.5 kB / 476.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.2954, allocations: 53.97 kB / 476.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.2954, allocations: 1.438 kB / 476.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2954, allocations: 1.562 kB / 476.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004364/0.2998, allocations: 3.472 MB / 479.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3, allocations: 140.2 kB / 479.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.3002, allocations: 93.34 kB / 479.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.3009, allocations: 108.8 kB / 480 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005758/0.3014, allocations: 376.9 kB / 480.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.3016, allocations: 63.52 kB / 480.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.3019, allocations: 304.4 kB / 480.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3019, allocations: 0 / 480.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001313/0.3032, allocations: 484 kB / 481.2 MB, free: 11.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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.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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,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.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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.00074/0.304, allocations: 489.5 kB / 481.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003157/0.3071, allocations: 2.814 MB / 484.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3072, allocations: 4 kB / 484.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.3097, allocations: 4.484 MB / 489 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.3104, allocations: 140.2 kB / 489.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.3133, allocations: 2.255 MB / 491.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3137, allocations: 1.031 MB / 492.4 MB, free: 164 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004443/0.3141, allocations: 217.8 kB / 492.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3142, allocations: 55.36 kB / 492.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3142, allocations: 0 / 492.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Templates: time 0.02645/0.3407, allocations: 18.21 MB / 0.4989 GB, free: 13.58 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & ./PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches