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.001589/0.001589, allocations: 111.6 kB / 17.29 MB, free: 6.188 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.001829/0.001829, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.61/2.61, allocations: 222.9 MB / 241.9 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.358/0.358, allocations: 38.03 MB / 330.1 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 66.11 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.179, allocations: 58.06 MB / 457 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.008806/0.1879, allocations: 3.678 MB / 460.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003979/0.1919, allocations: 1.5 MB / 462.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.1923, allocations: 11.94 kB / 462.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.1936, allocations: 235.2 kB / 462.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.1947, allocations: 263.1 kB / 462.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.1952, allocations: 103.8 kB / 462.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006927/0.1959, allocations: 335.1 kB / 463.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/0.1964, allocations: 145.9 kB / 463.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.1969, allocations: 155.3 kB / 463.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.1973, allocations: 167.4 kB / 463.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.1974, allocations: 16 kB / 463.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008028/0.1982, allocations: 307.2 kB / 463.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.1985, allocations: 103.7 kB / 464 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.1987, allocations: 99.48 kB / 464.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006624/0.1994, allocations: 263.5 kB / 464.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1994, allocations: 0 / 464.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1994, allocations: 0 / 464.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1994, allocations: 0 / 464.3 MB, free: 1.004 MB / 334.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.0011/0.2005, allocations: 0.5065 MB / 464.8 MB, free: 460 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.2006, allocations: 12.03 kB / 464.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.2021, allocations: 88.55 kB / 464.9 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.2026, allocations: 258.3 kB / 465.2 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.2027, allocations: 20.33 kB / 465.2 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/0.2028, allocations: 24.11 kB / 465.2 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008652/0.2036, allocations: 306.5 kB / 465.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.2037, allocations: 11.92 kB / 465.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.2037, allocations: 4 kB / 465.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.2038, allocations: 16 kB / 465.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007345/0.2045, allocations: 283.8 kB / 465.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.2071, allocations: 1.312 MB / 467.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.2077, allocations: 234.3 kB / 467.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2079, allocations: 61.75 kB / 467.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.208, allocations: 3.938 kB / 467.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.208, allocations: 34.56 kB / 467.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 6.151e-06/0.208, allocations: 3.938 kB / 467.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009929/0.209, allocations: 284.2 kB / 467.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.2091, allocations: 81.11 kB / 467.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.2094, allocations: 198.4 kB / 468 MB, free: 13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.2095, allocations: 33.7 kB / 468.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.2096, allocations: 155.8 kB / 468.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.2097, allocations: 51.31 kB / 468.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2098, allocations: 45.61 kB / 468.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.21, allocations: 326.8 kB / 468.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.2101, allocations: 47.97 kB / 468.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.2104, allocations: 145.7 kB / 468.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.2108, allocations: 225.2 kB / 469.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2108, allocations: 0 / 469.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005805/0.2114, allocations: 229.2 kB / 469.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.2115, allocations: 8 kB / 469.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2115, allocations: 0 / 469.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.2115, allocations: 8 kB / 469.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.2119, allocations: 43.91 kB / 469.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.2119, allocations: 8 kB / 469.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.2121, allocations: 8 kB / 469.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.2122, allocations: 12 kB / 469.4 MB, free: 11.56 MB / 350.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.0002257/0.2124, allocations: 158.4 kB / 469.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.2125, allocations: 19.75 kB / 469.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.2129, allocations: 157.2 kB / 469.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.2129, allocations: 3.984 kB / 469.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.213, allocations: 0 / 469.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.213, allocations: 4 kB / 469.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.2144, allocations: 0.6655 MB / 470.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.2145, allocations: 0 / 470.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.2147, allocations: 31.92 kB / 470.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.2147, allocations: 7.938 kB / 470.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.2147, allocations: 4 kB / 470.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.2147, allocations: 7.984 kB / 470.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.2148, allocations: 7.938 kB / 470.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.2153, allocations: 339.3 kB / 470.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.2154, allocations: 100.8 kB / 470.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.2154, allocations: 4 kB / 470.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.2157, allocations: 12.06 kB / 470.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.2157, allocations: 27.86 kB / 470.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.2158, allocations: 8 kB / 470.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.216, allocations: 144.3 kB / 471 MB, free: 9.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.52e-07/0.216, allocations: 0 / 471 MB, free: 9.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006318/0.2166, allocations: 47.94 kB / 471.1 MB, free: 9.645 MB / 350.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.0001514/0.2168, allocations: 107.2 kB / 471.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004251/0.2172, allocations: 151.7 kB / 471.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2172, allocations: 0 / 471.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.2174, allocations: 65.16 kB / 471.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.2181, allocations: 38.98 kB / 471.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.2195, allocations: 0.6145 MB / 472.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.22, allocations: 0.7632 MB / 472.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.2201, allocations: 23.42 kB / 472.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2201, allocations: 0 / 472.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of Templates: time 0.006846/0.2269, allocations: 2.255 MB / 475.1 MB, free: 5.531 MB / 350.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