Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001395, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001408/0.001408, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1845/0.1845, allocations: 38.03 MB / 330.6 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 64.14 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3955, allocations: 58.05 MB / 0.5048 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004752/0.4003, allocations: 3.44 MB / 0.5081 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.4022, allocations: 1.443 MB / 0.5095 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.4023, allocations: 10.34 kB / 0.5095 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.4031, allocations: 243.7 kB / 0.5098 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.4037, allocations: 287.4 kB / 0.51 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.404, allocations: 118.2 kB / 0.5102 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.4044, allocations: 348 kB / 0.5105 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.4048, allocations: 130.6 kB / 0.5106 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.405, allocations: 155.5 kB / 0.5108 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.4053, allocations: 157.3 kB / 0.5109 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.4053, allocations: 17.38 kB / 0.5109 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.4058, allocations: 304 kB / 0.5112 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.4059, allocations: 100.2 kB / 0.5113 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.406, allocations: 102.3 kB / 0.5114 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.4065, allocations: 351.9 kB / 0.5117 GB, free: 3.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4065, allocations: 1.281 kB / 0.5117 GB, free: 3.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4065, allocations: 0 / 0.5117 GB, free: 3.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.4066, allocations: 0 / 0.5117 GB, free: 3.395 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006441/0.4072, allocations: 0.503 MB / 0.5122 GB, free: 2.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.4072, allocations: 10.03 kB / 0.5122 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.4081, allocations: 89.72 kB / 0.5123 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.4084, allocations: 270.8 kB / 0.5126 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.4085, allocations: 15.97 kB / 0.5126 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.4085, allocations: 24.78 kB / 0.5126 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.409, allocations: 312.4 kB / 0.5129 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.409, allocations: 5.062 kB / 0.5129 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.4091, allocations: 10.25 kB / 0.5129 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.4091, allocations: 15.23 kB / 0.513 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.4095, allocations: 287.9 kB / 0.5132 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.411, allocations: 1.288 MB / 0.5145 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.4114, allocations: 236.7 kB / 0.5147 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.4115, allocations: 55.7 kB / 0.5148 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4115, allocations: 5.812 kB / 0.5148 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.4115, allocations: 37.64 kB / 0.5148 GB, free: 1.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.474e-06/0.4115, allocations: 0 / 0.5148 GB, free: 1.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005897/0.4121, allocations: 292.7 kB / 0.5151 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.4122, allocations: 79.52 kB / 0.5152 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.4123, allocations: 193.7 kB / 0.5153 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.4124, allocations: 30.8 kB / 0.5154 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.4124, allocations: 162.2 kB / 0.5155 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.4125, allocations: 50.31 kB / 0.5156 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.4126, allocations: 43.53 kB / 0.5156 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.4126, allocations: 329.2 kB / 0.5159 GB, free: 208 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.4127, allocations: 46.41 kB / 0.516 GB, free: 196 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.4128, allocations: 146 kB / 0.5161 GB, free: 48 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.4131, allocations: 217.8 kB / 0.5163 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4131, allocations: 3.938 kB / 0.5163 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003492/0.4135, allocations: 227 kB / 0.5165 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4135, allocations: 7.094 kB / 0.5166 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4135, allocations: 7.719 kB / 0.5166 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4136, allocations: 5.812 kB / 0.5166 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.4137, allocations: 49.27 kB / 0.5166 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4137, allocations: 4.812 kB / 0.5166 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.4139, allocations: 9.188 kB / 0.5166 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.4139, allocations: 13.44 kB / 0.5166 GB, free: 15.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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.0001388/0.414, allocations: 151.2 kB / 0.5168 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.4141, allocations: 24.98 kB / 0.5168 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.4144, allocations: 160.1 kB / 0.517 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4144, allocations: 2.219 kB / 0.517 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4144, allocations: 1.031 kB / 0.517 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.4144, allocations: 2.375 kB / 0.517 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009091/0.4153, allocations: 0.6618 MB / 0.5176 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.4153, allocations: 3.656 kB / 0.5176 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.4155, allocations: 29.33 kB / 0.5176 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.4155, allocations: 12.66 kB / 0.5177 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.4155, allocations: 10.03 kB / 0.5177 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.4155, allocations: 5.359 kB / 0.5177 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.4155, allocations: 7.844 kB / 0.5177 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.4159, allocations: 339.8 kB / 0.518 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.4159, allocations: 98.06 kB / 0.5181 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.416, allocations: 11.83 kB / 0.5181 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.4161, allocations: 8.859 kB / 0.5181 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.4162, allocations: 23.02 kB / 0.5181 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.4162, allocations: 11.88 kB / 0.5181 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.4163, allocations: 142.8 kB / 0.5183 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4163, allocations: 0.5 kB / 0.5183 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.4167, allocations: 47 kB / 0.5183 GB, free: 14.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001168/0.4168, allocations: 103.5 kB / 0.5184 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.4172, allocations: 152 kB / 0.5186 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4172, allocations: 1.125 kB / 0.5186 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.4173, allocations: 62.14 kB / 0.5186 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.4178, allocations: 43.8 kB / 0.5187 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.4186, allocations: 0.5307 MB / 0.5192 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.419, allocations: 0.7547 MB / 0.5199 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.4191, allocations: 19.75 kB / 0.5199 GB, free: 13.13 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4191, allocations: 0 / 0.5199 GB, free: 13.13 MB / 398.1 MB Notification: Performance of Templates: time 0.004635/0.4237, allocations: 2.287 MB / 0.5222 GB, free: 12.92 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches