Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.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.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009779/0.0009781, allocations: 180.7 kB / 16.39 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.528/1.528, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0008532/0.0008529, allocations: 89.62 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1661/0.1661, allocations: 38.05 MB / 357.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 8 kB / 424 MB, free: 37.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3466, allocations: 56.31 MB / 480.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.4945, allocations: 95.36 MB / 0.5622 GB, free: 7.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4948, allocations: 83.95 kB / 0.5623 GB, free: 7.008 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03455/0.5294, allocations: 14.68 MB / 0.5766 GB, free: 8.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5294, allocations: 0 / 0.5766 GB, free: 8.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.5294, allocations: 4 kB / 0.5766 GB, free: 8.152 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.0007297/0.5302, allocations: 0.4988 MB / 0.5771 GB, free: 7.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5302, allocations: 8.031 kB / 0.5771 GB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000953/0.5312, allocations: 111.7 kB / 0.5772 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.5316, allocations: 275.1 kB / 0.5775 GB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.5317, allocations: 12 kB / 0.5775 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.5317, allocations: 16 kB / 0.5775 GB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.5322, allocations: 319.7 kB / 0.5778 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5322, allocations: 0 / 0.5778 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.5323, allocations: 8 kB / 0.5778 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.5323, allocations: 16 kB / 0.5778 GB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.5328, allocations: 287.7 kB / 0.5781 GB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.5344, allocations: 1.297 MB / 0.5793 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.5348, allocations: 198.5 kB / 0.5795 GB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.5348, allocations: 4.062 kB / 0.5795 GB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.5348, allocations: 34.56 kB / 0.5796 GB, free: 4.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.5348, allocations: 0 / 0.5796 GB, free: 4.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003236/0.5352, allocations: 141.3 kB / 0.5797 GB, free: 4.688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.5352, allocations: 85.05 kB / 0.5798 GB, free: 4.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.5354, allocations: 183 kB / 0.58 GB, free: 4.402 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.5355, allocations: 29.7 kB / 0.58 GB, free: 4.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.5356, allocations: 167.6 kB / 0.5802 GB, free: 4.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.5356, allocations: 43.44 kB / 0.5802 GB, free: 4.156 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.5356, allocations: 4.125 kB / 0.5802 GB, free: 4.152 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5358, allocations: 326.8 kB / 0.5805 GB, free: 3.824 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.5358, allocations: 43.97 kB / 0.5806 GB, free: 3.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.536, allocations: 132.7 kB / 0.5807 GB, free: 3.605 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.5361, allocations: 63.92 kB / 0.5807 GB, free: 3.543 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5361, allocations: 3.953 kB / 0.5807 GB, free: 3.539 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002989/0.5364, allocations: 205.4 kB / 0.5809 GB, free: 3.332 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5364, allocations: 8.094 kB / 0.5809 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5365, allocations: 4 kB / 0.5809 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.5365, allocations: 8 kB / 0.581 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.5367, allocations: 47.98 kB / 0.581 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.5367, allocations: 11.97 kB / 0.581 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.5368, allocations: 23.78 kB / 0.581 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.5368, allocations: 8 kB / 0.581 GB, free: 3.223 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 (23): * Single equations (assignments): 23 * 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.0001444/0.537, allocations: 153.8 kB / 0.5812 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.537, allocations: 24.23 kB / 0.5812 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.5372, allocations: 118.9 kB / 0.5813 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.5373, allocations: 4 kB / 0.5813 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5373, allocations: 0 / 0.5813 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5373, allocations: 0 / 0.5813 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.538, allocations: 0.5797 MB / 0.5819 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.538, allocations: 0 / 0.5819 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.5381, allocations: 20 kB / 0.5819 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.5381, allocations: 4 kB / 0.5819 GB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5381, allocations: 11.92 kB / 0.5819 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.5382, allocations: 8.25 kB / 0.5819 GB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5382, allocations: 8 kB / 0.5819 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.5385, allocations: 404 kB / 0.5823 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.5386, allocations: 88.92 kB / 0.5824 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.5386, allocations: 7.984 kB / 0.5824 GB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.5387, allocations: 8 kB / 0.5824 GB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.5388, allocations: 19.89 kB / 0.5825 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.5388, allocations: 7.984 kB / 0.5825 GB, free: 1.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.5389, allocations: 153.5 kB / 0.5826 GB, free: 1.402 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.539, allocations: 0 / 0.5826 GB, free: 1.402 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.5393, allocations: 55.84 kB / 0.5827 GB, free: 1.348 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.0001288/0.5394, allocations: 107.2 kB / 0.5828 GB, free: 1.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.5397, allocations: 119.7 kB / 0.5829 GB, free: 1.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5397, allocations: 0 / 0.5829 GB, free: 1.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.5398, allocations: 43.86 kB / 0.5829 GB, free: 1.074 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.5401, allocations: 36.45 kB / 0.583 GB, free: 1.043 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.5408, allocations: 0.5138 MB / 0.5835 GB, free: 484 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.5412, allocations: 0.7596 MB / 0.5842 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.5413, allocations: 37.52 kB / 0.5842 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.5414, allocations: 15.44 kB / 0.5842 GB, free: 15.63 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5414, allocations: 0 / 0.5842 GB, free: 15.63 MB / 426.7 MB Notification: Performance of Templates: time 0.003774/0.5451, allocations: 1.134 MB / 0.5854 GB, free: 14.5 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.PMeterTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches