Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,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.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,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.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009084/0.0009085, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.361/1.361, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0007382/0.0007382, allocations: 89.53 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.235/0.235, allocations: 38.07 MB / 358.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 12 kB / 425.3 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2952, allocations: 56.31 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4206, allocations: 94.08 MB / 0.5622 GB, free: 8.195 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4209, allocations: 91.81 kB / 0.5622 GB, free: 8.109 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04308/0.464, allocations: 18.03 MB / 0.5798 GB, free: 5.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.464, allocations: 0 / 0.5798 GB, free: 5.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.464, allocations: 8 kB / 0.5799 GB, free: 5.844 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009508/0.465, allocations: 0.5696 MB / 0.5804 GB, free: 5.219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.465, allocations: 8.031 kB / 0.5804 GB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.4663, allocations: 132.5 kB / 0.5805 GB, free: 5.082 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.4668, allocations: 304.9 kB / 0.5808 GB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.4669, allocations: 12.94 kB / 0.5809 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/0.467, allocations: 28.38 kB / 0.5809 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.4677, allocations: 432.2 kB / 0.5813 GB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4677, allocations: 4.125 kB / 0.5813 GB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.4678, allocations: 19.92 kB / 0.5813 GB, free: 4.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.4679, allocations: 36.52 kB / 0.5813 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.4685, allocations: 405.9 kB / 0.5817 GB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.4709, allocations: 1.721 MB / 0.5834 GB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.4713, allocations: 286.2 kB / 0.5837 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.4715, allocations: 133.7 kB / 0.5838 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.4715, allocations: 7.984 kB / 0.5838 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.4716, allocations: 30.56 kB / 0.5839 GB, free: 1.449 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/0.4716, allocations: 0 / 0.5839 GB, free: 1.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001659/0.4732, allocations: 0.7912 MB / 0.5846 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.4733, allocations: 85.05 kB / 0.5847 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.4735, allocations: 203 kB / 0.5849 GB, free: 328 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.4735, allocations: 33.7 kB / 0.5849 GB, free: 288 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.4736, allocations: 176 kB / 0.5851 GB, free: 108 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/0.4737, allocations: 86.83 kB / 0.5852 GB, free: 20 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/0.4737, allocations: 8.125 kB / 0.5852 GB, free: 12 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4739, allocations: 334.9 kB / 0.5855 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.474, allocations: 104.5 kB / 0.5856 GB, free: 15.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.4742, allocations: 205 kB / 0.5858 GB, free: 15.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.4746, allocations: 335.7 kB / 0.5861 GB, free: 14.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4746, allocations: 0 / 0.5861 GB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007561/0.4754, allocations: 430.3 kB / 0.5865 GB, free: 14.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4754, allocations: 8 kB / 0.5865 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4754, allocations: 0 / 0.5865 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003641/0.4758, allocations: 93.19 kB / 0.5866 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.476, allocations: 59.91 kB / 0.5867 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.4779, allocations: 1.803 MB / 0.5884 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.4781, allocations: 19.98 kB / 0.5885 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.4781, allocations: 12 kB / 0.5885 GB, free: 12.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.4783, allocations: 181.7 kB / 0.5887 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.4784, allocations: 23.72 kB / 0.5887 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007649/0.4791, allocations: 380 kB / 0.589 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4791, allocations: 4 kB / 0.589 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4792, allocations: 0 / 0.589 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4792, allocations: 7.938 kB / 0.5891 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.4806, allocations: 0.9221 MB / 0.59 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4806, allocations: 4 kB / 0.59 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.4808, allocations: 39.91 kB / 0.59 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/0.481, allocations: 64.8 kB / 0.5901 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.481, allocations: 8 kB / 0.5901 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.4828, allocations: 1.721 MB / 0.5917 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4828, allocations: 0 / 0.5917 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.4835, allocations: 458.4 kB / 0.5922 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.4836, allocations: 104.8 kB / 0.5923 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.4836, allocations: 11.98 kB / 0.5923 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.4838, allocations: 11.98 kB / 0.5923 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.4838, allocations: 23.91 kB / 0.5923 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.4839, allocations: 8 kB / 0.5923 GB, free: 8.168 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.484, allocations: 148.4 kB / 0.5925 GB, free: 8.023 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.553e-06/0.484, allocations: 0 / 0.5925 GB, free: 8.023 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000499/0.4845, allocations: 99.92 kB / 0.5926 GB, free: 7.926 MB / 426.7 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 (22): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001715/0.4847, allocations: 103.2 kB / 0.5927 GB, free: 7.816 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007312/0.4854, allocations: 427.7 kB / 0.5931 GB, free: 7.387 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4854, allocations: 0 / 0.5931 GB, free: 7.387 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.4859, allocations: 282.4 kB / 0.5933 GB, free: 7.098 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.4862, allocations: 38.11 kB / 0.5934 GB, free: 7.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4874, allocations: 0.729 MB / 0.5941 GB, free: 6.297 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.4878, allocations: 0.7987 MB / 0.5949 GB, free: 5.473 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.4879, allocations: 53.91 kB / 0.5949 GB, free: 5.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.488, allocations: 19.44 kB / 0.5949 GB, free: 5.398 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.488, allocations: 0 / 0.5949 GB, free: 5.398 MB / 426.7 MB Notification: Performance of Templates: time 0.005859/0.4939, allocations: 2.738 MB / 0.5976 GB, free: 2.664 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches