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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 97.33 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.21/0.21, allocations: 38.03 MB / 329.3 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002239, allocations: 64.97 kB / 398.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.146, allocations: 58.07 MB / 456.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.006664/0.1527, allocations: 3.666 MB / 459.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.1552, allocations: 1.512 MB / 461.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.1555, allocations: 11.94 kB / 461.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009768/0.1565, allocations: 243.1 kB / 461.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007467/0.1573, allocations: 267.2 kB / 461.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1576, allocations: 95.75 kB / 462 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006417/0.1582, allocations: 0.5612 MB / 462.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.1587, allocations: 142.1 kB / 462.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.1592, allocations: 135.4 kB / 462.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.1595, allocations: 159.5 kB / 462.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.1596, allocations: 8 kB / 462.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007816/0.1604, allocations: 383.1 kB / 463.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.1606, allocations: 91.77 kB / 463.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1607, allocations: 99.47 kB / 463.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007561/0.1615, allocations: 370.9 kB / 463.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.1615, allocations: 0 / 463.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1615, allocations: 0 / 463.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1616, allocations: 0 / 463.9 MB, free: 0.7617 MB / 334.1 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.00107/0.1626, allocations: 0.5065 MB / 464.4 MB, free: 212 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.1627, allocations: 12.03 kB / 464.4 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.1638, allocations: 92.53 kB / 464.5 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.1642, allocations: 256.4 kB / 464.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1643, allocations: 16.33 kB / 464.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.1643, allocations: 23.94 kB / 464.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.1648, allocations: 314.3 kB / 465.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1649, allocations: 0 / 465.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.1649, allocations: 8 kB / 465.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.1649, allocations: 16 kB / 465.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.1654, allocations: 283.8 kB / 465.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.1671, allocations: 1.308 MB / 466.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.1675, allocations: 238.3 kB / 466.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.1676, allocations: 65.64 kB / 467 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1676, allocations: 0 / 467 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1677, allocations: 34.56 kB / 467 MB, free: 13.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1677, allocations: 0 / 467 MB, free: 13.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006715/0.1683, allocations: 283.3 kB / 467.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.1684, allocations: 81.11 kB / 467.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1686, allocations: 194.3 kB / 467.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1686, allocations: 33.83 kB / 467.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1688, allocations: 155.8 kB / 467.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.1688, allocations: 51.3 kB / 467.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-05/0.1689, allocations: 49.55 kB / 467.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.169, allocations: 330.8 kB / 468.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.154e-05/0.1691, allocations: 43.92 kB / 468.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1693, allocations: 145.7 kB / 468.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.1695, allocations: 225.2 kB / 468.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1695, allocations: 4 kB / 468.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003297/0.1699, allocations: 225.3 kB / 468.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1699, allocations: 4 kB / 468.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1699, allocations: 7.938 kB / 468.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1699, allocations: 4 kB / 468.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1701, allocations: 47.91 kB / 468.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1701, allocations: 7.938 kB / 468.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1702, allocations: 12 kB / 468.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.1703, allocations: 12 kB / 468.9 MB, free: 11.32 MB / 350.1 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.1704, allocations: 162.3 kB / 469 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.1705, allocations: 15.81 kB / 469.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.1707, allocations: 155.2 kB / 469.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1708, allocations: 0 / 469.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1708, allocations: 0 / 469.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1708, allocations: 0 / 469.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008234/0.1716, allocations: 0.6653 MB / 469.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1716, allocations: 8.094 kB / 469.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1717, allocations: 31.92 kB / 469.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1717, allocations: 4 kB / 469.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1718, allocations: 7.984 kB / 469.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.1718, allocations: 7.938 kB / 469.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1718, allocations: 4 kB / 469.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.1721, allocations: 335.3 kB / 470.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1722, allocations: 96.86 kB / 470.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.1722, allocations: 8.047 kB / 470.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1724, allocations: 15.97 kB / 470.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.1724, allocations: 27.86 kB / 470.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1724, allocations: 8 kB / 470.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1725, allocations: 140.3 kB / 470.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1725, allocations: 0 / 470.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.1729, allocations: 44 kB / 470.6 MB, free: 9.414 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000114/0.173, allocations: 107.1 kB / 470.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1733, allocations: 135.8 kB / 470.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.1733, allocations: 4 kB / 470.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1734, allocations: 69.09 kB / 470.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1739, allocations: 36.48 kB / 470.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000849/0.1747, allocations: 0.5794 MB / 471.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1751, allocations: 0.7557 MB / 472.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.1752, allocations: 41.5 kB / 472.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.1753, allocations: 19.44 kB / 472.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1753, allocations: 7.938 kB / 472.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of Templates: time 0.003996/0.1793, allocations: 1.266 MB / 473.6 MB, free: 6.301 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches