Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001332/0.001332, allocations: 183 kB / 18.62 MB, free: 4.5 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.585/1.585, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2068/0.2068, allocations: 38.03 MB / 330.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 56.97 kB / 400.3 MB, free: 33.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1728, allocations: 58.07 MB / 458.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.006216/0.1791, allocations: 3.464 MB / 461.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.1815, allocations: 1.527 MB / 463.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1817, allocations: 11.94 kB / 463.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1828, allocations: 262.9 kB / 463.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.1834, allocations: 275 kB / 463.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1838, allocations: 131.6 kB / 464 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.1843, allocations: 343 kB / 464.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.1848, allocations: 133.9 kB / 464.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.1851, allocations: 151.4 kB / 464.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.1854, allocations: 155.4 kB / 464.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.1854, allocations: 16 kB / 464.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006466/0.1861, allocations: 319.2 kB / 465.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.1863, allocations: 95.75 kB / 465.2 MB, free: 444 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1864, allocations: 115.5 kB / 465.3 MB, free: 328 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.1871, allocations: 362.9 kB / 465.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.1871, allocations: 0 / 465.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1871, allocations: 0 / 465.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1871, allocations: 0 / 465.6 MB, free: 15.96 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009422/0.1881, allocations: 0.5104 MB / 466.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.1881, allocations: 8.031 kB / 466.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.1893, allocations: 104.5 kB / 466.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.1898, allocations: 279.7 kB / 466.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.1899, allocations: 16.31 kB / 466.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.1899, allocations: 16.38 kB / 466.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005932/0.1905, allocations: 333.9 kB / 466.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.1906, allocations: 0 / 466.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.1906, allocations: 11.98 kB / 466.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/0.1907, allocations: 16 kB / 466.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.1912, allocations: 307.7 kB / 467.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.1933, allocations: 1.26 MB / 468.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.1936, allocations: 169 kB / 468.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.1937, allocations: 105.7 kB / 468.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.1938, allocations: 4 kB / 468.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1938, allocations: 34.5 kB / 468.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.1938, allocations: 0 / 468.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001598/0.1954, allocations: 0.6661 MB / 469.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.1955, allocations: 85.23 kB / 469.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1957, allocations: 190.3 kB / 469.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.1958, allocations: 29.7 kB / 469.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1959, allocations: 156 kB / 469.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.196, allocations: 59.11 kB / 470 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.1961, allocations: 49.7 kB / 470 MB, free: 11.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1962, allocations: 326.8 kB / 470.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1964, allocations: 75.95 kB / 470.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.1966, allocations: 157.3 kB / 470.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.1969, allocations: 259.2 kB / 470.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1969, allocations: 0 / 470.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006044/0.1975, allocations: 357.8 kB / 471.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1975, allocations: 4 kB / 471.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1976, allocations: 7.984 kB / 471.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004372/0.198, allocations: 88.78 kB / 471.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.1982, allocations: 40.19 kB / 471.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.2011, allocations: 2.171 MB / 473.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.2013, allocations: 15.92 kB / 473.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2013, allocations: 12 kB / 473.5 MB, free: 7.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.2015, allocations: 162.1 kB / 473.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.2016, allocations: 19.81 kB / 473.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/0.2022, allocations: 316.1 kB / 474 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2022, allocations: 4 kB / 474 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.2022, allocations: 0 / 474 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.2022, allocations: 3.984 kB / 474 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.2035, allocations: 0.7568 MB / 474.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2035, allocations: 0 / 474.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.2036, allocations: 23.98 kB / 474.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/0.2039, allocations: 72.91 kB / 474.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.2039, allocations: 16.06 kB / 474.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.206, allocations: 2.03 MB / 476.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.206, allocations: 7.969 kB / 476.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.2066, allocations: 414.4 kB / 477.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.2067, allocations: 92.86 kB / 477.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.2067, allocations: 7.984 kB / 477.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.2069, allocations: 8 kB / 477.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.2069, allocations: 19.98 kB / 477.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.2069, allocations: 7.984 kB / 477.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.2071, allocations: 139.1 kB / 477.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2071, allocations: 0 / 477.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004692/0.2076, allocations: 68 kB / 477.6 MB, free: 3.172 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.2077, allocations: 103.2 kB / 477.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007458/0.2085, allocations: 374.3 kB / 478.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.2085, allocations: 4 kB / 478.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004062/0.2089, allocations: 263.2 kB / 478.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.2093, allocations: 39.55 kB / 478.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009409/0.2103, allocations: 0.4984 MB / 478.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/0.2112, allocations: 0.7636 MB / 479.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.2113, allocations: 41.64 kB / 479.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.2114, allocations: 19.44 kB / 479.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2114, allocations: 0 / 479.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of Templates: time 0.007341/0.2188, allocations: 2.965 MB / 482.7 MB, free: 14.04 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:line.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.terminal_p.v[1],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.p[1],load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,source.terminal.v[1],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time