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.001433/0.001433, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001664/0.001664, allocations: 191 kB / 18 MB, free: 5.207 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.478/1.478, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1764/0.1764, allocations: 38.05 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 68.09 kB / 458.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4383, allocations: 58.04 MB / 0.5041 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004645/0.443, allocations: 3.435 MB / 0.5075 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.4448, allocations: 1.442 MB / 0.5089 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.445, allocations: 10.06 kB / 0.5089 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008615/0.4458, allocations: 248.7 kB / 0.5091 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006139/0.4465, allocations: 285.1 kB / 0.5094 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.4468, allocations: 118.1 kB / 0.5095 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.4472, allocations: 343.5 kB / 0.5098 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.4475, allocations: 136.5 kB / 0.5099 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.4477, allocations: 151.8 kB / 0.5101 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.4479, allocations: 156.7 kB / 0.5102 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.448, allocations: 13.53 kB / 0.5103 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.4484, allocations: 304.6 kB / 0.5105 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.4486, allocations: 99.69 kB / 0.5106 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.4487, allocations: 112.6 kB / 0.5107 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.4491, allocations: 341.3 kB / 0.5111 GB, free: 3.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4492, allocations: 2.266 kB / 0.5111 GB, free: 3.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4492, allocations: 0 / 0.5111 GB, free: 3.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.4492, allocations: 3.938 kB / 0.5111 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.0005566/0.4497, allocations: 0.5029 MB / 0.5116 GB, free: 2.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.4498, allocations: 9.141 kB / 0.5116 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008387/0.4506, allocations: 95.38 kB / 0.5117 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.4509, allocations: 273.9 kB / 0.5119 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.451, allocations: 12.47 kB / 0.5119 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.451, allocations: 23.47 kB / 0.512 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.4515, allocations: 320.7 kB / 0.5123 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.4515, allocations: 1.031 kB / 0.5123 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.4516, allocations: 6.703 kB / 0.5123 GB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.4516, allocations: 15.94 kB / 0.5123 GB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.452, allocations: 290.7 kB / 0.5126 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.4535, allocations: 1.282 MB / 0.5138 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.4539, allocations: 238.7 kB / 0.5141 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.454, allocations: 51.64 kB / 0.5141 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.454, allocations: 6.125 kB / 0.5141 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.4541, allocations: 40.47 kB / 0.5141 GB, free: 1.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.4541, allocations: 4.969 kB / 0.5141 GB, free: 1.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006059/0.4547, allocations: 286 kB / 0.5144 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.4547, allocations: 80.59 kB / 0.5145 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.4549, allocations: 198.1 kB / 0.5147 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.4549, allocations: 25.7 kB / 0.5147 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.455, allocations: 166.2 kB / 0.5149 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.4551, allocations: 42.03 kB / 0.5149 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.4551, allocations: 48.53 kB / 0.515 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.4552, allocations: 329.5 kB / 0.5153 GB, free: 204 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.4553, allocations: 49.47 kB / 0.5153 GB, free: 188 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4554, allocations: 143.3 kB / 0.5155 GB, free: 44 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.4557, allocations: 217 kB / 0.5157 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4557, allocations: 0.9688 kB / 0.5157 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003659/0.4561, allocations: 233.6 kB / 0.5159 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4561, allocations: 7.219 kB / 0.5159 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.4561, allocations: 7.234 kB / 0.5159 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.4561, allocations: 5.203 kB / 0.5159 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.4563, allocations: 44.58 kB / 0.5159 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.4563, allocations: 13.77 kB / 0.516 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.4565, allocations: 13.12 kB / 0.516 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.4565, allocations: 9.781 kB / 0.516 GB, free: 15.72 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.0001478/0.4566, allocations: 156 kB / 0.5161 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.4567, allocations: 19.62 kB / 0.5162 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.457, allocations: 151.2 kB / 0.5163 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-06/0.457, allocations: 2.922 kB / 0.5163 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.457, allocations: 1.188 kB / 0.5163 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.457, allocations: 8.969 kB / 0.5163 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000954/0.458, allocations: 0.6627 MB / 0.517 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.458, allocations: 3.375 kB / 0.517 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.4581, allocations: 28.95 kB / 0.517 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.4581, allocations: 8.594 kB / 0.517 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.4582, allocations: 9.781 kB / 0.517 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.4582, allocations: 13.31 kB / 0.517 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.4582, allocations: 5.062 kB / 0.517 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.4586, allocations: 336 kB / 0.5173 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.4587, allocations: 104.4 kB / 0.5174 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.4587, allocations: 9.703 kB / 0.5174 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.4588, allocations: 4.859 kB / 0.5175 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.4589, allocations: 27.52 kB / 0.5175 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.4589, allocations: 8.75 kB / 0.5175 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.459, allocations: 145.6 kB / 0.5176 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.459, allocations: 0 / 0.5176 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.4595, allocations: 47.41 kB / 0.5177 GB, free: 14.42 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.0001497/0.4596, allocations: 111.8 kB / 0.5178 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.46, allocations: 144.1 kB / 0.5179 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.4601, allocations: 1.938 kB / 0.5179 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.4602, allocations: 67.14 kB / 0.518 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.4607, allocations: 33.5 kB / 0.518 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.4616, allocations: 0.4952 MB / 0.5185 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.4621, allocations: 0.7587 MB / 0.5192 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.4622, allocations: 48.86 kB / 0.5193 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.4622, allocations: 17.22 kB / 0.5193 GB, free: 13.15 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4623, allocations: 1.031 kB / 0.5193 GB, free: 13.15 MB / 398.1 MB Notification: Performance of Templates: time 0.004766/0.467, allocations: 1.362 MB / 0.5206 GB, free: 13.01 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches