Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007961/0.0007961, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002982/0.002982, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8292/0.8292, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2098/0.2098, allocations: 29.41 MB / 290.8 MB, free: 2.406 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.635e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005033/0.00506, allocations: 5.789 MB / 437.2 MB, free: 7.281 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.007183, allocations: 1.881 MB / 439.1 MB, free: 5.395 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.0074, allocations: 31.75 kB / 439.2 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.008311, allocations: 0.6806 MB / 439.8 MB, free: 4.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005465/0.008858, allocations: 393.7 kB / 440.2 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007459/0.009603, allocations: 422.6 kB / 440.6 MB, free: 3.879 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008738/0.01048, allocations: 0.9587 MB / 441.6 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.01087, allocations: 400.2 kB / 442 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.01137, allocations: 0.5609 MB / 442.5 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.01183, allocations: 0.5026 MB / 443 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/0.01188, allocations: 60 kB / 443.1 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.01222, allocations: 259.4 kB / 443.4 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.01247, allocations: 442.9 kB / 443.8 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.01267, allocations: 295.4 kB / 444.1 MB, free: 420 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1513/0.164, allocations: 1.044 MB / 445.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.164, allocations: 0 / 445.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.164, allocations: 0 / 445.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.164, allocations: 3.156 kB / 445.1 MB, free: 45.68 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001025/0.165, allocations: 1.005 MB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.165, allocations: 16.83 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005225/0.1656, allocations: 209 kB / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.166, allocations: 494.2 kB / 446.8 MB, free: 44.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.1661, allocations: 56.28 kB / 446.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.1661, allocations: 74.28 kB / 447 MB, free: 44.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007643/0.1669, allocations: 1.131 MB / 448.1 MB, free: 44.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.1669, allocations: 7.062 kB / 448.1 MB, free: 44.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.167, allocations: 36.27 kB / 448.1 MB, free: 44.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.167, allocations: 49.17 kB / 448.2 MB, free: 44.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.1677, allocations: 0.8621 MB / 449 MB, free: 44.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.17, allocations: 4.697 MB / 453.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.1703, allocations: 395.8 kB / 454.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1705, allocations: 197.1 kB / 454.3 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.1705, allocations: 6.656 kB / 454.3 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.1705, allocations: 37.5 kB / 454.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.1705, allocations: 0 / 454.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009981/0.1715, allocations: 1.08 MB / 455.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1715, allocations: 89.22 kB / 455.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.1718, allocations: 0.4904 MB / 456 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1718, allocations: 32.98 kB / 456.1 MB, free: 40.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.172, allocations: 465.3 kB / 456.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.172, allocations: 163.1 kB / 456.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.1721, allocations: 152 kB / 456.8 MB, free: 40.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.1722, allocations: 366.9 kB / 457.2 MB, free: 39.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.1724, allocations: 240.2 kB / 457.4 MB, free: 39.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.1727, allocations: 0.6172 MB / 458 MB, free: 39.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.1733, allocations: 0.9359 MB / 459 MB, free: 38.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1733, allocations: 3.156 kB / 459 MB, free: 38.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007588/0.1741, allocations: 0.8889 MB / 459.9 MB, free: 38.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.1741, allocations: 14.19 kB / 459.9 MB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.1741, allocations: 17 kB / 459.9 MB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.1742, allocations: 20.47 kB / 459.9 MB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.1745, allocations: 222.8 kB / 460.1 MB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.1745, allocations: 26.36 kB / 460.1 MB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.1748, allocations: 56.02 kB / 460.2 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.1748, allocations: 39.59 kB / 460.2 MB, free: 38.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.0001994/0.175, allocations: 305 kB / 460.5 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.175, allocations: 54.7 kB / 460.6 MB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.1755, allocations: 0.5666 MB / 461.2 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1755, allocations: 6.281 kB / 461.2 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1755, allocations: 0 / 461.2 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1755, allocations: 3.188 kB / 461.2 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00094/0.1765, allocations: 1.152 MB / 462.3 MB, free: 37.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1765, allocations: 11.22 kB / 462.3 MB, free: 37.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.1767, allocations: 108.2 kB / 462.4 MB, free: 37.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1767, allocations: 3.375 kB / 462.4 MB, free: 37.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1767, allocations: 14.72 kB / 462.5 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1767, allocations: 8.547 kB / 462.5 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1767, allocations: 6.562 kB / 462.5 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.1771, allocations: 0.6416 MB / 463.1 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.1771, allocations: 48.22 kB / 463.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.1772, allocations: 11.16 kB / 463.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1773, allocations: 28 kB / 463.2 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1773, allocations: 40.94 kB / 463.2 MB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1773, allocations: 15.91 kB / 463.2 MB, free: 36.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.1775, allocations: 312 kB / 463.6 MB, free: 36.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1775, allocations: 0 / 463.6 MB, free: 36.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.1779, allocations: 156.4 kB / 463.7 MB, free: 36.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (51): * Single equations (assignments): 50 * 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 8.196e-05/0.1779, allocations: 111.4 kB / 463.8 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004658/0.1784, allocations: 0.5912 MB / 464.4 MB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1784, allocations: 3.5 kB / 464.4 MB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1786, allocations: 214.3 kB / 464.6 MB, free: 36.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.179, allocations: 114.9 kB / 464.7 MB, free: 36.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1801, allocations: 1.436 MB / 466.2 MB, free: 35.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1804, allocations: 414 kB / 466.6 MB, free: 35.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.1804, allocations: 53.69 kB / 466.6 MB, free: 35.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1805, allocations: 0 / 466.6 MB, free: 35.39 MB / 410.7 MB Notification: Performance of Templates: time 0.006547/0.187, allocations: 8.63 MB / 475.3 MB, free: 34.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.193867549300194]