Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.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(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001725/0.001725, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.31/0.31, allocations: 38.04 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 59.91 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3552, allocations: 58.04 MB / 0.5047 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006486/0.3617, allocations: 6.112 MB / 0.5107 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.3648, allocations: 1.947 MB / 0.5126 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.3651, allocations: 23.34 kB / 0.5126 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.3667, allocations: 0.6914 MB / 0.5133 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007352/0.3675, allocations: 378 kB / 0.5137 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009928/0.3685, allocations: 401.3 kB / 0.5141 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009758/0.3695, allocations: 0.9395 MB / 0.515 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007653/0.3702, allocations: 0.5005 MB / 0.5155 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005672/0.3708, allocations: 435.6 kB / 0.5159 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000736/0.3716, allocations: 0.5287 MB / 0.5164 GB, free: 328 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3717, allocations: 56.59 kB / 0.5164 GB, free: 328 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.3722, allocations: 239.9 kB / 0.5167 GB, free: 264 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005018/0.3727, allocations: 419.6 kB / 0.5171 GB, free: 128 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.3732, allocations: 429 kB / 0.5175 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.3746, allocations: 1.012 MB / 0.5185 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3747, allocations: 1.812 kB / 0.5185 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3747, allocations: 0 / 0.5185 GB, free: 15.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3747, allocations: 0 / 0.5185 GB, free: 15.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001888/0.3766, allocations: 1.076 MB / 0.5195 GB, free: 14.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3766, allocations: 11.83 kB / 0.5195 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/0.3774, allocations: 133.5 kB / 0.5197 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.3784, allocations: 0.5464 MB / 0.5202 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.3785, allocations: 60.81 kB / 0.5203 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.3786, allocations: 85.86 kB / 0.5203 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.3804, allocations: 1.131 MB / 0.5214 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.3804, allocations: 4.344 kB / 0.5214 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.3805, allocations: 33.12 kB / 0.5215 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.522e-05/0.3806, allocations: 54.61 kB / 0.5215 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.382, allocations: 0.8639 MB / 0.5224 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005825/0.3879, allocations: 5.028 MB / 0.5273 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.3886, allocations: 426.7 kB / 0.5277 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.3889, allocations: 211.8 kB / 0.5279 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.389, allocations: 10.89 kB / 0.5279 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.389, allocations: 38.98 kB / 0.5279 GB, free: 9.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.389, allocations: 0 / 0.5279 GB, free: 9.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.001824/0.3909, allocations: 1.075 MB / 0.529 GB, free: 8.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3909, allocations: 81.55 kB / 0.5291 GB, free: 8.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005514/0.3915, allocations: 0.4926 MB / 0.5295 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.3915, allocations: 31.83 kB / 0.5296 GB, free: 8.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.3919, allocations: 454.6 kB / 0.53 GB, free: 7.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.392, allocations: 158.6 kB / 0.5302 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.3923, allocations: 147.2 kB / 0.5303 GB, free: 7.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3925, allocations: 371.1 kB / 0.5307 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.3929, allocations: 236.8 kB / 0.5309 GB, free: 7.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/0.3936, allocations: 0.618 MB / 0.5315 GB, free: 6.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.3947, allocations: 0.9358 MB / 0.5324 GB, free: 6.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.3947, allocations: 7.594 kB / 0.5324 GB, free: 6.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001359/0.3961, allocations: 0.899 MB / 0.5333 GB, free: 5.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.3961, allocations: 11.11 kB / 0.5333 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.3961, allocations: 17.22 kB / 0.5333 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/0.3962, allocations: 18.97 kB / 0.5333 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/0.3969, allocations: 220.7 kB / 0.5335 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.235e-05/0.3969, allocations: 29.77 kB / 0.5336 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.3973, allocations: 55.27 kB / 0.5336 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.3974, allocations: 44.12 kB / 0.5337 GB, free: 5.621 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * 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.0003479/0.3978, allocations: 311.1 kB / 0.534 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.3979, allocations: 53.31 kB / 0.534 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009433/0.3988, allocations: 0.5533 MB / 0.5346 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3988, allocations: 1.031 kB / 0.5346 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3988, allocations: 0 / 0.5346 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.399, allocations: 131.7 kB / 0.5347 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.399, allocations: 14.38 kB / 0.5347 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.3993, allocations: 34.02 kB / 0.5347 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.3994, allocations: 33.19 kB / 0.5348 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001029/0.4004, allocations: 0.6945 MB / 0.5354 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007836/0.4012, allocations: 0.7498 MB / 0.5362 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002918/0.4015, allocations: 223.4 kB / 0.5364 GB, free: 3.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003583/0.4019, allocations: 328.2 kB / 0.5367 GB, free: 3.629 MB / 398.1 MB Notification: Performance of Backend: time 8.52e-07/0.4019, allocations: 0 / 0.5367 GB, free: 3.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.4033, allocations: 0.5949 MB / 0.5373 GB, free: 3.328 MB / 398.1 MB Notification: Performance of SimCode: time 0.002351/0.4057, allocations: 1.655 MB / 0.5389 GB, free: 2.16 MB / 398.1 MB Notification: Performance of Templates: time 0.01458/0.4202, allocations: 7.346 MB / 0.5461 GB, free: 13.36 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches