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.001857/0.001857, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.471/1.471, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008164/0.0008165, allocations: 90.95 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1642/0.1642, allocations: 38.05 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 8 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3094, allocations: 56.32 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.4397, allocations: 94.06 MB / 0.5609 GB, free: 8.352 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.4401, allocations: 83.95 kB / 0.561 GB, free: 8.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04357/0.4836, allocations: 17.99 MB / 0.5786 GB, free: 6.047 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4837, allocations: 0 / 0.5786 GB, free: 6.047 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.4837, allocations: 4 kB / 0.5786 GB, free: 6.043 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.0008309/0.4845, allocations: 0.5734 MB / 0.5791 GB, free: 5.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4846, allocations: 16.03 kB / 0.5791 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.4857, allocations: 135.5 kB / 0.5793 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.4861, allocations: 295.7 kB / 0.5796 GB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.4862, allocations: 20.5 kB / 0.5796 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.4862, allocations: 31.89 kB / 0.5796 GB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.4869, allocations: 427.6 kB / 0.58 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4869, allocations: 0 / 0.58 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.4869, allocations: 15.98 kB / 0.58 GB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.4871, allocations: 32.53 kB / 0.5801 GB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.4876, allocations: 409.9 kB / 0.5804 GB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.4897, allocations: 1.718 MB / 0.5821 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.4901, allocations: 290.7 kB / 0.5824 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4901, allocations: 192 / 0.5824 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4901, allocations: 38.81 kB / 0.5824 GB, free: 1.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.082e-06/0.4901, allocations: 0 / 0.5824 GB, free: 1.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0016/0.4917, allocations: 0.7746 MB / 0.5832 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.4918, allocations: 93.17 kB / 0.5833 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.492, allocations: 190 kB / 0.5835 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.492, allocations: 25.7 kB / 0.5835 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4921, allocations: 188 kB / 0.5837 GB, free: 464 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.4922, allocations: 74.86 kB / 0.5837 GB, free: 388 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.472e-05/0.4922, allocations: 8 kB / 0.5837 GB, free: 380 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4923, allocations: 334.8 kB / 0.5841 GB, free: 36 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4925, allocations: 104.5 kB / 0.5842 GB, free: 15.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.4927, allocations: 201 kB / 0.5844 GB, free: 15.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.4929, allocations: 151.8 kB / 0.5845 GB, free: 15.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4929, allocations: 0 / 0.5845 GB, free: 15.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006831/0.4936, allocations: 421.7 kB / 0.5849 GB, free: 15.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4936, allocations: 8 kB / 0.5849 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4937, allocations: 0 / 0.5849 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/0.494, allocations: 93.12 kB / 0.585 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.4943, allocations: 59.91 kB / 0.5851 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.4961, allocations: 1.83 MB / 0.5868 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.4963, allocations: 15.98 kB / 0.5869 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.4963, allocations: 16 kB / 0.5869 GB, free: 12.96 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.0001716/0.4965, allocations: 177.8 kB / 0.587 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.4966, allocations: 23.72 kB / 0.5871 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006847/0.4973, allocations: 380 kB / 0.5874 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4973, allocations: 4 kB / 0.5874 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4973, allocations: 0 / 0.5874 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4973, allocations: 11.92 kB / 0.5874 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.4987, allocations: 0.9221 MB / 0.5883 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4987, allocations: 4.062 kB / 0.5884 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.4989, allocations: 39.91 kB / 0.5884 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.4991, allocations: 72.73 kB / 0.5885 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.4992, allocations: 4.375 kB / 0.5885 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.5009, allocations: 1.74 MB / 0.5902 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5009, allocations: 0 / 0.5902 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.5016, allocations: 491.6 kB / 0.5906 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.5017, allocations: 96.83 kB / 0.5907 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.5017, allocations: 11.98 kB / 0.5907 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.5019, allocations: 8 kB / 0.5907 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.5019, allocations: 19.92 kB / 0.5908 GB, free: 8.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.5019, allocations: 12 kB / 0.5908 GB, free: 8.668 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.5021, allocations: 156.4 kB / 0.5909 GB, free: 8.516 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5021, allocations: 3.938 kB / 0.5909 GB, free: 8.512 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004531/0.5025, allocations: 88 kB / 0.591 GB, free: 8.426 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.0001339/0.5027, allocations: 110.8 kB / 0.5911 GB, free: 8.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.5034, allocations: 428.5 kB / 0.5915 GB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5034, allocations: 0 / 0.5915 GB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.5038, allocations: 282.5 kB / 0.5918 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.5041, allocations: 34.53 kB / 0.5918 GB, free: 7.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.5052, allocations: 0.729 MB / 0.5925 GB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.5056, allocations: 0.8109 MB / 0.5933 GB, free: 5.961 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.5057, allocations: 49.91 kB / 0.5934 GB, free: 5.914 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.5058, allocations: 27.44 kB / 0.5934 GB, free: 5.887 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5058, allocations: 0 / 0.5934 GB, free: 5.887 MB / 426.7 MB Notification: Performance of Templates: time 0.005762/0.5116, allocations: 2.719 MB / 0.5961 GB, free: 3.172 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/jenkins/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