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.001516/0.001516, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001613/0.001613, allocations: 165 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.39/1.39, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 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.1708/0.1708, allocations: 29.42 MB / 290.1 MB, free: 3.297 MB / 270.1 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 1.213e-06/1.213e-06, allocations: 0 / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.939e-05, allocations: 2.281 kB / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007654/0.007673, allocations: 6.293 MB / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.01085, allocations: 1.908 MB / 438.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.01108, allocations: 31.75 kB / 438.9 MB, free: 9.691 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.01294, allocations: 0.7184 MB / 439.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.01409, allocations: 0.5905 MB / 440.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.01469, allocations: 259.3 kB / 440.5 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.0159, allocations: 1.168 MB / 441.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000656/0.01656, allocations: 477.5 kB / 442.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.01744, allocations: 0.6932 MB / 442.8 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008739/0.01831, allocations: 0.5961 MB / 443.4 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.01844, allocations: 68 kB / 443.5 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005288/0.01897, allocations: 279.6 kB / 443.8 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005018/0.01947, allocations: 0.5026 MB / 444.3 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.0199, allocations: 343.2 kB / 444.6 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.02119, allocations: 1.195 MB / 445.8 MB, free: 2.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.02119, allocations: 0 / 445.8 MB, free: 2.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.02119, allocations: 0 / 445.8 MB, free: 2.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.0212, allocations: 0 / 445.8 MB, free: 2.809 MB / 366.1 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.001961/0.02316, allocations: 1.158 MB / 447 MB, free: 1.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.0232, allocations: 11.98 kB / 447 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009355/0.02413, allocations: 168.2 kB / 447.1 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.0252, allocations: 0.5581 MB / 447.7 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.02528, allocations: 66.36 kB / 447.8 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.0255, allocations: 100.9 kB / 447.8 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1508/0.1763, allocations: 1.156 MB / 449 MB, free: 29.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.1764, allocations: 3.078 kB / 449 MB, free: 29.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/0.1765, allocations: 37.06 kB / 449 MB, free: 29.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001655/0.1766, allocations: 86.47 kB / 449.1 MB, free: 29.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.1781, allocations: 0.993 MB / 450.1 MB, free: 29.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/0.1823, allocations: 3.745 MB / 453.9 MB, free: 27.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1834, allocations: 0.5912 MB / 454.5 MB, free: 27.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.1838, allocations: 289.5 kB / 454.7 MB, free: 26.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.1839, allocations: 10.45 kB / 454.8 MB, free: 26.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1839, allocations: 43.12 kB / 454.8 MB, free: 26.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.755e-06/0.1839, allocations: 2.719 kB / 454.8 MB, free: 26.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002675/0.1866, allocations: 1.68 MB / 456.5 MB, free: 26.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1866, allocations: 84.64 kB / 456.6 MB, free: 26.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.1871, allocations: 0.5473 MB / 457.1 MB, free: 25.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.1872, allocations: 38.84 kB / 457.1 MB, free: 25.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.1874, allocations: 458.4 kB / 457.6 MB, free: 25.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1875, allocations: 225.7 kB / 457.8 MB, free: 25.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.1877, allocations: 188.6 kB / 458 MB, free: 25.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.1878, allocations: 385.9 kB / 458.4 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.1882, allocations: 285.6 kB / 458.7 MB, free: 24.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.1888, allocations: 0.6105 MB / 459.3 MB, free: 24.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.1898, allocations: 0.9678 MB / 460.2 MB, free: 23.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.1898, allocations: 3.875 kB / 460.2 MB, free: 23.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00211/0.192, allocations: 1.172 MB / 461.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.192, allocations: 11.05 kB / 461.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001286/0.1933, allocations: 0.7117 MB / 462.1 MB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007204/0.194, allocations: 215.6 kB / 462.3 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/0.1947, allocations: 226.9 kB / 462.6 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/0.1984, allocations: 4.964 MB / 467.5 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.1989, allocations: 28.44 kB / 467.6 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/0.199, allocations: 45.11 kB / 467.6 MB, free: 18.52 MB / 366.1 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.0004193/0.1994, allocations: 350.8 kB / 467.9 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.531e-05/0.1995, allocations: 70.28 kB / 468 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.2006, allocations: 0.6552 MB / 468.7 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2006, allocations: 6.547 kB / 468.7 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2006, allocations: 3.844 kB / 468.7 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.2006, allocations: 3 kB / 468.7 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.2028, allocations: 1.333 MB / 470 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2028, allocations: 1.125 kB / 470 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007666/0.2036, allocations: 177.6 kB / 470.2 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.2036, allocations: 3.781 kB / 470.2 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.2037, allocations: 17.25 kB / 470.2 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.2037, allocations: 8.766 kB / 470.2 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2037, allocations: 6.688 kB / 470.2 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.205, allocations: 1.019 MB / 471.2 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.2051, allocations: 101.5 kB / 471.3 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.2052, allocations: 20.44 kB / 471.4 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.2055, allocations: 20.66 kB / 471.4 MB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.2056, allocations: 52 kB / 471.4 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.2057, allocations: 23.34 kB / 471.5 MB, free: 16.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003391/0.206, allocations: 350.6 kB / 471.8 MB, free: 16.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.206, allocations: 0 / 471.8 MB, free: 16.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007784/0.2068, allocations: 221.5 kB / 472 MB, free: 16.57 MB / 366.1 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.0001115/0.2069, allocations: 122.9 kB / 472.1 MB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.2083, allocations: 1.076 MB / 473.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2083, allocations: 1.562 kB / 473.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.2087, allocations: 293.6 kB / 473.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.2095, allocations: 168.3 kB / 473.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.2117, allocations: 1.809 MB / 475.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.2121, allocations: 474.6 kB / 475.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004457/0.2125, allocations: 227.9 kB / 476.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.2127, allocations: 61.27 kB / 476.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2127, allocations: 0 / 476.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Templates: time 0.01222/0.2249, allocations: 8.326 MB / 484.5 MB, free: 7.414 MB / 366.1 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: 4.710566725581884]