Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.0007681/0.0007681, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003381/0.003381, allocations: 165.3 kB / 24.7 MB, free: 9.426 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.7987/0.7987, allocations: 177.1 MB / 205 MB, free: 5.723 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.1946/0.1946, allocations: 29.42 MB / 290.8 MB, free: 2.422 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.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 431.4 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.236e-05, allocations: 4.812 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007678/0.00771, allocations: 6.281 MB / 437.7 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.01111, allocations: 1.916 MB / 439.7 MB, free: 4.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.0114, allocations: 31.75 kB / 439.7 MB, free: 4.828 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.01243, allocations: 0.7108 MB / 440.4 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008067/0.01324, allocations: 0.5983 MB / 441 MB, free: 3.516 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.01364, allocations: 255.3 kB / 441.2 MB, free: 3.266 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007415/0.01438, allocations: 1.172 MB / 442.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004908/0.01487, allocations: 481.5 kB / 442.9 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005949/0.01547, allocations: 0.6932 MB / 443.6 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.01599, allocations: 0.5999 MB / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/0.01605, allocations: 68 kB / 444.2 MB, free: 252 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1505/0.1665, allocations: 278.9 kB / 444.5 MB, free: 45.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005316/0.1671, allocations: 0.5022 MB / 445 MB, free: 45.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.1674, allocations: 346.3 kB / 445.4 MB, free: 45.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008772/0.1683, allocations: 1.196 MB / 446.6 MB, free: 45.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1683, allocations: 1.688 kB / 446.6 MB, free: 45.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1683, allocations: 0 / 446.6 MB, free: 45.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1683, allocations: 0 / 446.6 MB, free: 45.21 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001148/0.1694, allocations: 1.15 MB / 447.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1695, allocations: 13.27 kB / 447.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000515/0.17, allocations: 167.1 kB / 447.9 MB, free: 44.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.1706, allocations: 0.5503 MB / 448.4 MB, free: 44.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.1706, allocations: 72.84 kB / 448.5 MB, free: 44.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.1707, allocations: 99.95 kB / 448.6 MB, free: 44.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.1717, allocations: 1.16 MB / 449.8 MB, free: 44.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.1717, allocations: 6.953 kB / 449.8 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.1717, allocations: 29.41 kB / 449.8 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.969e-05/0.1718, allocations: 88.62 kB / 449.9 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.1727, allocations: 0.9886 MB / 450.9 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.1752, allocations: 3.756 MB / 454.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/0.1758, allocations: 0.5957 MB / 455.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.1761, allocations: 280.9 kB / 455.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1761, allocations: 10.41 kB / 455.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.1761, allocations: 41.66 kB / 455.5 MB, free: 41.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 2.314e-06/0.1761, allocations: 0 / 455.5 MB, free: 41.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001569/0.1777, allocations: 1.684 MB / 457.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1777, allocations: 89.45 kB / 457.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.178, allocations: 0.5498 MB / 457.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1781, allocations: 33.7 kB / 457.9 MB, free: 40.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1782, allocations: 452.3 kB / 458.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.1783, allocations: 234.5 kB / 458.6 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.1784, allocations: 187.3 kB / 458.8 MB, free: 40.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.1784, allocations: 382.3 kB / 459.1 MB, free: 39.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.1787, allocations: 285.3 kB / 459.4 MB, free: 39.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.179, allocations: 0.6125 MB / 460 MB, free: 39.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.1796, allocations: 0.9724 MB / 461 MB, free: 38.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1796, allocations: 7.5 kB / 461 MB, free: 38.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001078/0.1807, allocations: 1.167 MB / 462.2 MB, free: 38.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1807, allocations: 12.84 kB / 462.2 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006641/0.1814, allocations: 0.7061 MB / 462.9 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003719/0.1818, allocations: 213.8 kB / 463.1 MB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.1821, allocations: 221.7 kB / 463.3 MB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.1843, allocations: 4.965 MB / 468.3 MB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.1845, allocations: 38.3 kB / 468.3 MB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.1846, allocations: 41.72 kB / 468.4 MB, free: 33.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.1849, allocations: 359.1 kB / 468.7 MB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.1849, allocations: 68.52 kB / 468.8 MB, free: 33.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000563/0.1855, allocations: 0.6518 MB / 469.4 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1855, allocations: 9.062 kB / 469.4 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.1855, allocations: 0 / 469.4 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1855, allocations: 3.328 kB / 469.4 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.1867, allocations: 1.328 MB / 470.8 MB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1867, allocations: 4.156 kB / 470.8 MB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.187, allocations: 172.5 kB / 470.9 MB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.187, allocations: 3.156 kB / 470.9 MB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.1871, allocations: 21.5 kB / 471 MB, free: 32.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1871, allocations: 5.844 kB / 471 MB, free: 32.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1871, allocations: 3.344 kB / 471 MB, free: 32.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/0.1878, allocations: 1.026 MB / 472 MB, free: 32.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1879, allocations: 109.1 kB / 472.1 MB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.188, allocations: 17.28 kB / 472.1 MB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1881, allocations: 17.25 kB / 472.1 MB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.1882, allocations: 57.5 kB / 472.2 MB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1882, allocations: 16.38 kB / 472.2 MB, free: 31.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1884, allocations: 350.7 kB / 472.5 MB, free: 31.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1884, allocations: 0 / 472.5 MB, free: 31.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000506/0.1889, allocations: 216.7 kB / 472.8 MB, free: 31.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * 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.00011/0.189, allocations: 135.4 kB / 472.9 MB, free: 31.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008737/0.1899, allocations: 1.065 MB / 474 MB, free: 31.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1899, allocations: 3.25 kB / 474 MB, free: 31.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.1901, allocations: 292.4 kB / 474.2 MB, free: 31.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.1906, allocations: 159.4 kB / 474.4 MB, free: 31.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1922, allocations: 1.888 MB / 476.3 MB, free: 30.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1925, allocations: 475.5 kB / 476.8 MB, free: 29.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.1926, allocations: 64.88 kB / 476.8 MB, free: 29.87 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1926, allocations: 0 / 476.8 MB, free: 29.87 MB / 410.7 MB Notification: Performance of Templates: time 0.01487/0.2075, allocations: 14.55 MB / 491.4 MB, free: 28.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.497866584919393]