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.001317/0.001317, allocations: 110.3 kB / 17.75 MB, free: 5.359 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.001374/0.001374, allocations: 181.4 kB / 18.67 MB, free: 4.441 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1935/0.1935, allocations: 38.04 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 67.89 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3145, allocations: 58.05 MB / 0.5047 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005761/0.3203, allocations: 6.1 MB / 0.5107 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.323, allocations: 1.956 MB / 0.5126 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.3233, allocations: 25.94 kB / 0.5126 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.3248, allocations: 0.6913 MB / 0.5133 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007373/0.3255, allocations: 373.5 kB / 0.5137 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3266, allocations: 403.1 kB / 0.5141 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008757/0.3275, allocations: 0.9387 MB / 0.515 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005866/0.3281, allocations: 0.5012 MB / 0.5155 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.3286, allocations: 436.5 kB / 0.5159 GB, free: 500 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006197/0.3292, allocations: 0.5278 MB / 0.5164 GB, free: 300 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.366e-05/0.3293, allocations: 57.94 kB / 0.5165 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.3298, allocations: 230.7 kB / 0.5167 GB, free: 244 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.3302, allocations: 416.2 kB / 0.5171 GB, free: 112 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004882/0.3307, allocations: 429.3 kB / 0.5175 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.3321, allocations: 1.015 MB / 0.5185 GB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3321, allocations: 5.375 kB / 0.5185 GB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3321, allocations: 4 kB / 0.5185 GB, free: 15.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.3321, allocations: 0 / 0.5185 GB, free: 15.48 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.001871/0.334, allocations: 1.067 MB / 0.5195 GB, free: 14.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3341, allocations: 13.11 kB / 0.5195 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007471/0.3348, allocations: 139.8 kB / 0.5197 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009434/0.3358, allocations: 0.5418 MB / 0.5202 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.3358, allocations: 57.91 kB / 0.5202 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.336, allocations: 85.02 kB / 0.5203 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.3375, allocations: 1.131 MB / 0.5214 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.3376, allocations: 8.094 kB / 0.5214 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.3376, allocations: 33.03 kB / 0.5215 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.9e-05/0.3377, allocations: 52.23 kB / 0.5215 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.3392, allocations: 0.8631 MB / 0.5224 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005244/0.3444, allocations: 5.031 MB / 0.5273 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.3452, allocations: 425.7 kB / 0.5277 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.3455, allocations: 215.1 kB / 0.5279 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.3455, allocations: 7.625 kB / 0.5279 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.3456, allocations: 37.41 kB / 0.5279 GB, free: 9.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.745e-06/0.3456, allocations: 0 / 0.5279 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.001943/0.3476, allocations: 1.068 MB / 0.529 GB, free: 8.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3476, allocations: 82.03 kB / 0.5291 GB, free: 8.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005747/0.3482, allocations: 0.4961 MB / 0.5295 GB, free: 8.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.3482, allocations: 39.27 kB / 0.5296 GB, free: 8.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.3486, allocations: 459.4 kB / 0.53 GB, free: 7.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.3487, allocations: 150.1 kB / 0.5302 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.3489, allocations: 153.3 kB / 0.5303 GB, free: 7.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3491, allocations: 365.3 kB / 0.5307 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.3495, allocations: 236.9 kB / 0.5309 GB, free: 7.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/0.3501, allocations: 0.6203 MB / 0.5315 GB, free: 6.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.3512, allocations: 0.9368 MB / 0.5324 GB, free: 6.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.3512, allocations: 7.719 kB / 0.5324 GB, free: 6.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001359/0.3525, allocations: 0.8953 MB / 0.5333 GB, free: 5.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.3526, allocations: 15.34 kB / 0.5333 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.3526, allocations: 14.14 kB / 0.5333 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.568e-05/0.3526, allocations: 22.41 kB / 0.5333 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007299/0.3534, allocations: 220.6 kB / 0.5335 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.114e-05/0.3534, allocations: 25.67 kB / 0.5336 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.3539, allocations: 53.31 kB / 0.5336 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.3539, allocations: 45.28 kB / 0.5337 GB, free: 5.609 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.000368/0.3543, allocations: 306.3 kB / 0.534 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.3544, allocations: 56.39 kB / 0.534 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008964/0.3553, allocations: 0.5626 MB / 0.5346 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3553, allocations: 3.984 kB / 0.5346 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3553, allocations: 1.188 kB / 0.5346 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3554, allocations: 127.6 kB / 0.5347 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.3555, allocations: 6.312 kB / 0.5347 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.3558, allocations: 33.02 kB / 0.5347 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.3558, allocations: 30.11 kB / 0.5347 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000984/0.3568, allocations: 0.7063 MB / 0.5354 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007644/0.3576, allocations: 0.7449 MB / 0.5362 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002874/0.3579, allocations: 227.2 kB / 0.5364 GB, free: 3.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003347/0.3583, allocations: 324.6 kB / 0.5367 GB, free: 3.645 MB / 398.1 MB Notification: Performance of Backend: time 7.41e-07/0.3583, allocations: 4.031 kB / 0.5367 GB, free: 3.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.3596, allocations: 0.5888 MB / 0.5373 GB, free: 3.348 MB / 398.1 MB Notification: Performance of SimCode: time 0.00208/0.3616, allocations: 1.656 MB / 0.5389 GB, free: 2.176 MB / 398.1 MB Notification: Performance of Templates: time 0.01263/0.3743, allocations: 7.345 MB / 0.5461 GB, free: 13.38 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