Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.0007984/0.0007984, 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.003428/0.003428, allocations: 163.2 kB / 24.7 MB, free: 8.906 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.8378/0.8378, allocations: 177.1 MB / 205 MB, free: 5.742 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.2168/0.2168, allocations: 29.41 MB / 290.8 MB, free: 2.434 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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.174e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.005305/0.005336, allocations: 6.415 MB / 437.9 MB, free: 6.641 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.00803, allocations: 2.06 MB / 440 MB, free: 4.574 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003273/0.008357, allocations: 35.69 kB / 440 MB, free: 4.539 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009644/0.009322, allocations: 0.5054 MB / 440.5 MB, free: 4.031 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008478/0.01017, allocations: 0.575 MB / 441.1 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.01076, allocations: 382.9 kB / 441.5 MB, free: 3.078 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.01167, allocations: 1.337 MB / 442.8 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005447/0.01221, allocations: 0.5294 MB / 443.3 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007162/0.01293, allocations: 0.7558 MB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1612/0.1742, allocations: 0.6583 MB / 444.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.1744, allocations: 102 kB / 444.8 MB, free: 45.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008044/0.1752, allocations: 0.5259 MB / 445.4 MB, free: 45.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.1755, allocations: 493.7 kB / 445.8 MB, free: 45.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.1759, allocations: 380.3 kB / 446.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.177, allocations: 1.542 MB / 447.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.177, allocations: 0 / 447.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.177, allocations: 0 / 447.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.177, allocations: 5.656 kB / 447.8 MB, free: 45.01 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001601/0.1786, allocations: 1.289 MB / 449 MB, free: 44.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1786, allocations: 13.45 kB / 449.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005151/0.1791, allocations: 189.1 kB / 449.2 MB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.1799, allocations: 0.6172 MB / 449.9 MB, free: 44.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.18, allocations: 328.4 kB / 450.2 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.1802, allocations: 88.03 kB / 450.3 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.1813, allocations: 1.366 MB / 451.6 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.1814, allocations: 5.625 kB / 451.6 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.1814, allocations: 31.69 kB / 451.7 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.299e-05/0.1815, allocations: 64.08 kB / 451.7 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.1827, allocations: 1.293 MB / 453 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.1861, allocations: 4.494 MB / 457.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1872, allocations: 1.01 MB / 458.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/0.1877, allocations: 0.5856 MB / 459.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.1878, allocations: 6.906 kB / 459.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1878, allocations: 44.92 kB / 459.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 2.886e-06/0.1878, allocations: 3.188 kB / 459.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.003092/0.1909, allocations: 2.957 MB / 462.1 MB, free: 39.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.1909, allocations: 88.17 kB / 462.2 MB, free: 39.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1912, allocations: 417.3 kB / 462.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.1912, allocations: 36.83 kB / 462.7 MB, free: 38.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1913, allocations: 405.5 kB / 463.1 MB, free: 38.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.1914, allocations: 264.8 kB / 463.3 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.1915, allocations: 153.6 kB / 463.5 MB, free: 38.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.1916, allocations: 370.9 kB / 463.8 MB, free: 37.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.1921, allocations: 0.491 MB / 464.3 MB, free: 37.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.1926, allocations: 0.6851 MB / 465 MB, free: 37.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.1936, allocations: 1.213 MB / 466.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1936, allocations: 3.062 kB / 466.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002194/0.1958, allocations: 1.898 MB / 468.1 MB, free: 36.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1958, allocations: 6.625 kB / 468.1 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001873/0.1977, allocations: 1.627 MB / 469.7 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009015/0.1986, allocations: 0.6558 MB / 470.4 MB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.1989, allocations: 150.6 kB / 470.6 MB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005515/0.2044, allocations: 7.09 MB / 477.6 MB, free: 31.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.2048, allocations: 73.72 kB / 477.7 MB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.2049, allocations: 35.97 kB / 477.7 MB, free: 31.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003554/0.2052, allocations: 321.7 kB / 478.1 MB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/0.2053, allocations: 63.42 kB / 478.1 MB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.2066, allocations: 1.208 MB / 479.3 MB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.2066, allocations: 12.69 kB / 479.3 MB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2066, allocations: 4.172 kB / 479.3 MB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.2066, allocations: 9.172 kB / 479.4 MB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.2088, allocations: 2.088 MB / 481.4 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2088, allocations: 1.031 kB / 481.4 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.21, allocations: 497.3 kB / 481.9 MB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.351e-05/0.2101, allocations: 42.94 kB / 482 MB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.2102, allocations: 14.59 kB / 482 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005145/0.2107, allocations: 1.495 MB / 483.5 MB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2107, allocations: 6.094 kB / 483.5 MB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.2126, allocations: 1.932 MB / 485.4 MB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.047e-05/0.2127, allocations: 57.44 kB / 485.5 MB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.2127, allocations: 16.97 kB / 485.5 MB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.213, allocations: 61.84 kB / 485.6 MB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.2131, allocations: 67.36 kB / 485.6 MB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.2131, allocations: 25.08 kB / 485.6 MB, free: 27.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.2133, allocations: 273.5 kB / 485.9 MB, free: 27.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2133, allocations: 1.375 kB / 485.9 MB, free: 27.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007121/0.214, allocations: 236.2 kB / 486.1 MB, free: 27.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/0.2142, allocations: 125.7 kB / 486.3 MB, free: 27.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.2159, allocations: 1.511 MB / 487.8 MB, free: 26.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2159, allocations: 1.125 kB / 487.8 MB, free: 26.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.2173, allocations: 0.9514 MB / 488.7 MB, free: 26.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.2178, allocations: 134.7 kB / 488.9 MB, free: 26.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.2203, allocations: 2.185 MB / 491 MB, free: 25.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.2207, allocations: 476.1 kB / 491.5 MB, free: 25.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.2209, allocations: 58.95 kB / 491.6 MB, free: 25.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.2209, allocations: 0 / 491.6 MB, free: 25.18 MB / 410.7 MB Notification: Performance of Templates: time 0.01744/0.2383, allocations: 20.33 MB / 0.4999 GB, free: 16.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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: 6.256762113422155]