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.001277/0.001276, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.615/1.615, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0008212/0.0008213, allocations: 78.67 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.158/0.158, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.967e-05, allocations: 4 kB / 417.7 MB, free: 29.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1238, allocations: 56.32 MB / 474.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4257/0.5496, allocations: 93.91 MB / 0.5547 GB, free: 9.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.5499, allocations: 84.33 kB / 0.5547 GB, free: 9.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02816/0.578, allocations: 13.16 MB / 0.5676 GB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5781, allocations: 0 / 0.5676 GB, free: 14.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.5781, allocations: 8 kB / 0.5676 GB, free: 14.23 MB / 378.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.0006381/0.5787, allocations: 481.8 kB / 0.5681 GB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5788, allocations: 12.03 kB / 0.5681 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008098/0.5796, allocations: 99.56 kB / 0.5682 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.58, allocations: 259.8 kB / 0.5684 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.58, allocations: 15.19 kB / 0.5684 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.5801, allocations: 14.81 kB / 0.5684 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.5805, allocations: 313.5 kB / 0.5687 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.5805, allocations: 3.906 kB / 0.5687 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.5806, allocations: 11.48 kB / 0.5688 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-05/0.5807, allocations: 23.3 kB / 0.5688 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.5811, allocations: 268.9 kB / 0.569 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.5826, allocations: 1.288 MB / 0.5703 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.583, allocations: 222.2 kB / 0.5705 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.5831, allocations: 52.59 kB / 0.5706 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.5831, allocations: 7.984 kB / 0.5706 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.5831, allocations: 30.56 kB / 0.5706 GB, free: 11.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.5831, allocations: 0 / 0.5706 GB, free: 11.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005533/0.5837, allocations: 241.8 kB / 0.5708 GB, free: 11.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.5838, allocations: 85.05 kB / 0.5709 GB, free: 11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.5839, allocations: 178.1 kB / 0.5711 GB, free: 10.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.584, allocations: 25.7 kB / 0.5711 GB, free: 10.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.5841, allocations: 164.1 kB / 0.5713 GB, free: 10.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.5841, allocations: 54.34 kB / 0.5713 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.5841, allocations: 0 / 0.5713 GB, free: 10.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5843, allocations: 328.4 kB / 0.5716 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.05e-05/0.5844, allocations: 41.8 kB / 0.5717 GB, free: 10.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.5845, allocations: 138.1 kB / 0.5718 GB, free: 10.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.5846, allocations: 71.89 kB / 0.5719 GB, free: 10.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5846, allocations: 3.953 kB / 0.5719 GB, free: 10.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002936/0.5849, allocations: 226.6 kB / 0.5721 GB, free: 9.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.585, allocations: 4 kB / 0.5721 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.585, allocations: 4 kB / 0.5721 GB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.585, allocations: 4.438 kB / 0.5721 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.5852, allocations: 43.92 kB / 0.5721 GB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5852, allocations: 8 kB / 0.5721 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.684e-05/0.5853, allocations: 7.5 kB / 0.5721 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.5853, allocations: 12 kB / 0.5722 GB, free: 9.781 MB / 378.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 () * 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 8.551e-05/0.5854, allocations: 120 kB / 0.5723 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.5855, allocations: 19.77 kB / 0.5723 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.5857, allocations: 146.9 kB / 0.5724 GB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5858, allocations: 4 kB / 0.5724 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5858, allocations: 4 kB / 0.5724 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5858, allocations: 0 / 0.5724 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007919/0.5866, allocations: 0.6564 MB / 0.5731 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5866, allocations: 7.984 kB / 0.5731 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-05/0.5867, allocations: 26.75 kB / 0.5731 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.5867, allocations: 8 kB / 0.5731 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.5867, allocations: 7.984 kB / 0.5731 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5867, allocations: 8.391 kB / 0.5731 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5868, allocations: 11.94 kB / 0.5731 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.5872, allocations: 493.9 kB / 0.5736 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.5872, allocations: 92.92 kB / 0.5737 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.5873, allocations: 7.562 kB / 0.5737 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.5874, allocations: 7.984 kB / 0.5737 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.5874, allocations: 23.56 kB / 0.5737 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.5874, allocations: 12 kB / 0.5738 GB, free: 8.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.5876, allocations: 142.5 kB / 0.5739 GB, free: 7.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5876, allocations: 3.938 kB / 0.5739 GB, free: 7.926 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.5879, allocations: 59.67 kB / 0.574 GB, free: 7.871 MB / 378.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 () * 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.0001373/0.588, allocations: 102.8 kB / 0.5741 GB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.5883, allocations: 130.1 kB / 0.5742 GB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5883, allocations: 4 kB / 0.5742 GB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.5884, allocations: 55.11 kB / 0.5742 GB, free: 7.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.5887, allocations: 40.53 kB / 0.5743 GB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.5893, allocations: 362.7 kB / 0.5746 GB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.5897, allocations: 0.7631 MB / 0.5754 GB, free: 6.426 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.5898, allocations: 41.5 kB / 0.5754 GB, free: 6.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.5898, allocations: 19.44 kB / 0.5754 GB, free: 6.367 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5898, allocations: 0 / 0.5754 GB, free: 6.367 MB / 378.7 MB Notification: Performance of Templates: time 0.00368/0.5935, allocations: 1.236 MB / 0.5766 GB, free: 5.141 MB / 378.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/jenkins/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