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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001677/0.001676, allocations: 176.4 kB / 17.4 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007249/0.0007249, allocations: 97.45 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.18/0.18, allocations: 38.08 MB / 358.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005121/0.0005122, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3171, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4463, allocations: 94.04 MB / 0.5621 GB, free: 8.242 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4466, allocations: 91.81 kB / 0.5622 GB, free: 8.156 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03111/0.4777, allocations: 13.24 MB / 0.5751 GB, free: 10.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4777, allocations: 0 / 0.5751 GB, free: 10.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4778, allocations: 4 kB / 0.5751 GB, free: 10.73 MB / 410.7 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.0007278/0.4785, allocations: 0.495 MB / 0.5756 GB, free: 10.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4786, allocations: 8.031 kB / 0.5756 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008611/0.4794, allocations: 96.55 kB / 0.5757 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.4798, allocations: 268.4 kB / 0.576 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.4798, allocations: 16.36 kB / 0.576 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.4799, allocations: 24.31 kB / 0.576 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.4803, allocations: 310.5 kB / 0.5763 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.4804, allocations: 3.984 kB / 0.5763 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4804, allocations: 11.98 kB / 0.5763 GB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-05/0.4805, allocations: 23.92 kB / 0.5763 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.4809, allocations: 275.7 kB / 0.5766 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.4824, allocations: 1.285 MB / 0.5779 GB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.4828, allocations: 226.3 kB / 0.5781 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.4829, allocations: 53.77 kB / 0.5781 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.4829, allocations: 0 / 0.5781 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.483, allocations: 42.48 kB / 0.5782 GB, free: 7.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.483, allocations: 0 / 0.5782 GB, free: 7.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000558/0.4835, allocations: 276.3 kB / 0.5784 GB, free: 7.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.4836, allocations: 77.11 kB / 0.5785 GB, free: 6.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.4838, allocations: 198.3 kB / 0.5787 GB, free: 6.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4838, allocations: 25.7 kB / 0.5787 GB, free: 6.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4839, allocations: 167.7 kB / 0.5789 GB, free: 6.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.4839, allocations: 43.36 kB / 0.5789 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.484, allocations: 4 kB / 0.5789 GB, free: 6.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4841, allocations: 326.8 kB / 0.5792 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.667e-05/0.4842, allocations: 48.09 kB / 0.5793 GB, free: 6.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4843, allocations: 136.8 kB / 0.5794 GB, free: 5.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.4845, allocations: 217.2 kB / 0.5796 GB, free: 5.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4846, allocations: 3.938 kB / 0.5796 GB, free: 5.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002827/0.4848, allocations: 225 kB / 0.5798 GB, free: 5.492 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4849, allocations: 4 kB / 0.5798 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4849, allocations: 4.047 kB / 0.5799 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4849, allocations: 11.98 kB / 0.5799 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.4851, allocations: 47.91 kB / 0.5799 GB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4851, allocations: 8.438 kB / 0.5799 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.4852, allocations: 8 kB / 0.5799 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.4852, allocations: 12 kB / 0.5799 GB, free: 5.398 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.4853, allocations: 157.7 kB / 0.5801 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.4854, allocations: 19.75 kB / 0.5801 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.4856, allocations: 142.6 kB / 0.5802 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4856, allocations: 4 kB / 0.5802 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.4856, allocations: 0 / 0.5802 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4856, allocations: 3.984 kB / 0.5802 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007989/0.4864, allocations: 0.6611 MB / 0.5809 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4864, allocations: 64 / 0.5809 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4866, allocations: 39.92 kB / 0.5809 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4866, allocations: 4 kB / 0.5809 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4866, allocations: 7.938 kB / 0.5809 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4866, allocations: 4 kB / 0.5809 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4866, allocations: 8.375 kB / 0.581 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.4869, allocations: 331.2 kB / 0.5813 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.487, allocations: 96.92 kB / 0.5814 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.487, allocations: 11.94 kB / 0.5814 GB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.4871, allocations: 11.98 kB / 0.5814 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.4871, allocations: 19.92 kB / 0.5814 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.4872, allocations: 7.938 kB / 0.5814 GB, free: 3.699 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.4873, allocations: 152.1 kB / 0.5816 GB, free: 3.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4873, allocations: 0 / 0.5816 GB, free: 3.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.4876, allocations: 48 kB / 0.5816 GB, free: 3.504 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001311/0.4878, allocations: 115.1 kB / 0.5817 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.488, allocations: 127.7 kB / 0.5818 GB, free: 3.258 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.488, allocations: 0.875 kB / 0.5818 GB, free: 3.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.963e-05/0.4881, allocations: 68.22 kB / 0.5819 GB, free: 3.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.4886, allocations: 35.92 kB / 0.5819 GB, free: 3.156 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000816/0.4894, allocations: 0.5695 MB / 0.5825 GB, free: 2.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4898, allocations: 0.7596 MB / 0.5832 GB, free: 1.734 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.4899, allocations: 41.52 kB / 0.5833 GB, free: 1.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.49, allocations: 23.42 kB / 0.5833 GB, free: 1.668 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.49, allocations: 0 / 0.5833 GB, free: 1.668 MB / 410.7 MB Notification: Performance of Templates: time 0.003762/0.4938, allocations: 1.233 MB / 0.5845 GB, free: 452 kB / 410.7 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","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches