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.001588/0.001588, allocations: 174.7 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.804/1.804, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.000997/0.0009973, allocations: 86.72 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1601/0.1601, allocations: 37.98 MB / 353.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.603e-05, allocations: 0 / 417.7 MB, free: 29.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 56.31 MB / 474 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.5101, allocations: 93.96 MB / 0.5547 GB, free: 8.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.5103, allocations: 83.83 kB / 0.5548 GB, free: 8.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04231/0.5526, allocations: 17.91 MB / 0.5723 GB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5527, allocations: 0 / 0.5723 GB, free: 10.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.892e-05/0.5527, allocations: 4 kB / 0.5723 GB, free: 10.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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001006/0.5538, allocations: 0.5488 MB / 0.5728 GB, free: 9.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.5538, allocations: 8.031 kB / 0.5728 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.5551, allocations: 147.4 kB / 0.573 GB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.5556, allocations: 286.2 kB / 0.5732 GB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.5557, allocations: 24.38 kB / 0.5733 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.5558, allocations: 23.92 kB / 0.5733 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.5564, allocations: 431.5 kB / 0.5737 GB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.5565, allocations: 3.984 kB / 0.5737 GB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.5565, allocations: 15.75 kB / 0.5737 GB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.5566, allocations: 40.34 kB / 0.5737 GB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.5572, allocations: 396.1 kB / 0.5741 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.5597, allocations: 1.715 MB / 0.5758 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.5601, allocations: 288.1 kB / 0.5761 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.5603, allocations: 133.8 kB / 0.5762 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.5604, allocations: 8.172 kB / 0.5762 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.5604, allocations: 34.73 kB / 0.5762 GB, free: 6.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.5604, allocations: 0 / 0.5762 GB, free: 6.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001262/0.5617, allocations: 0.5328 MB / 0.5768 GB, free: 6.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.5618, allocations: 81.11 kB / 0.5768 GB, free: 5.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.562, allocations: 185.9 kB / 0.577 GB, free: 5.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.5621, allocations: 29.14 kB / 0.577 GB, free: 5.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.5623, allocations: 183.1 kB / 0.5772 GB, free: 5.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.5623, allocations: 75.97 kB / 0.5773 GB, free: 5.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.5624, allocations: 10.44 kB / 0.5773 GB, free: 5.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5625, allocations: 333.1 kB / 0.5776 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.5627, allocations: 103.4 kB / 0.5777 GB, free: 5.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.563, allocations: 203.9 kB / 0.5779 GB, free: 4.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.5632, allocations: 136.4 kB / 0.578 GB, free: 4.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5632, allocations: 0 / 0.578 GB, free: 4.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007778/0.564, allocations: 418 kB / 0.5784 GB, free: 4.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.564, allocations: 8.031 kB / 0.5784 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.5641, allocations: 4 kB / 0.5785 GB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/0.5645, allocations: 82.11 kB / 0.5785 GB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.5647, allocations: 62.95 kB / 0.5786 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.5668, allocations: 1.805 MB / 0.5804 GB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.567, allocations: 27.28 kB / 0.5804 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.567, allocations: 11.95 kB / 0.5804 GB, free: 2.617 MB / 378.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 () * 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.0001156/0.5671, allocations: 121.2 kB / 0.5805 GB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.5672, allocations: 23.7 kB / 0.5805 GB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007683/0.568, allocations: 389.1 kB / 0.5809 GB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.568, allocations: 0 / 0.5809 GB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.568, allocations: 4 kB / 0.5809 GB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.568, allocations: 0 / 0.5809 GB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.5696, allocations: 0.917 MB / 0.5818 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5696, allocations: 0 / 0.5818 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.5698, allocations: 35.92 kB / 0.5818 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/0.57, allocations: 77.59 kB / 0.5819 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.5701, allocations: 11.19 kB / 0.5819 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.572, allocations: 1.703 MB / 0.5836 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.572, allocations: 4 kB / 0.5836 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.5728, allocations: 0.4886 MB / 0.5841 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.5728, allocations: 96.81 kB / 0.5842 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.5729, allocations: 7.25 kB / 0.5842 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.573, allocations: 11.23 kB / 0.5842 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.5731, allocations: 23.06 kB / 0.5842 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.5731, allocations: 8 kB / 0.5842 GB, free: 14.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.5733, allocations: 153.9 kB / 0.5843 GB, free: 14.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5733, allocations: 0 / 0.5843 GB, free: 14.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005259/0.5738, allocations: 92.61 kB / 0.5844 GB, free: 14.73 MB / 394.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 () * 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.000169/0.574, allocations: 106.2 kB / 0.5845 GB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.5747, allocations: 417.2 kB / 0.5849 GB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5747, allocations: 0 / 0.5849 GB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.5751, allocations: 291.8 kB / 0.5852 GB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.5754, allocations: 29.8 kB / 0.5852 GB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007599/0.5762, allocations: 443.4 kB / 0.5857 GB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.5766, allocations: 0.8055 MB / 0.5865 GB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.5767, allocations: 58.06 kB / 0.5865 GB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.5768, allocations: 23.42 kB / 0.5865 GB, free: 12.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5768, allocations: 0 / 0.5865 GB, free: 12.7 MB / 394.7 MB Notification: Performance of Templates: time 0.005751/0.5826, allocations: 2.729 MB / 0.5892 GB, free: 9.988 MB / 394.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