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.001173/0.001173, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001729/0.002902, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001121/0.001121, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002656, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09167/1.11, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1293/0.1293, allocations: 29.43 MB / 273.6 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.148/0.2773, allocations: 9.543 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|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="meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.174e-05, allocations: 4.828 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.00643/0.006452, allocations: 5.995 MB / 290.4 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.01026, allocations: 2.169 MB / 292.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/0.01071, allocations: 35.75 kB / 292.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.01189, allocations: 455.6 kB / 293.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.01298, allocations: 0.5722 MB / 293.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008127/0.01379, allocations: 386 kB / 294 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.01529, allocations: 1.364 MB / 295.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007457/0.01604, allocations: 0.538 MB / 295.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.01729, allocations: 0.8543 MB / 296.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008517/0.01814, allocations: 0.6157 MB / 297.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.01829, allocations: 96 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008724/0.01917, allocations: 0.5265 MB / 298 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.01955, allocations: 435.1 kB / 298.5 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.01988, allocations: 299.4 kB / 298.8 MB, free: 380 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.02097, allocations: 0.9541 MB / 299.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.02098, allocations: 0 / 299.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02098, allocations: 0 / 299.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.02101, allocations: 4 kB / 299.7 MB, free: 15.41 MB / 298.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.002002/0.02301, allocations: 1.367 MB / 301.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.02304, allocations: 16.03 kB / 301.1 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.02408, allocations: 301.8 kB / 301.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.0248, allocations: 0.5068 MB / 301.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.02501, allocations: 325.8 kB / 302.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.02518, allocations: 95.92 kB / 302.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000991/0.02617, allocations: 0.7915 MB / 303.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.02619, allocations: 4 kB / 303.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.02626, allocations: 36 kB / 303.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.02638, allocations: 65.91 kB / 303.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.02697, allocations: 356.4 kB / 303.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.03079, allocations: 3.423 MB / 307 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.03143, allocations: 408.4 kB / 307.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.03173, allocations: 202 kB / 307.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.03178, allocations: 12.66 kB / 307.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.03181, allocations: 43.2 kB / 307.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.03181, allocations: 0 / 307.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.002116/0.03393, allocations: 1.037 MB / 308.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.03397, allocations: 89.7 kB / 308.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.03423, allocations: 371.1 kB / 309.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.03427, allocations: 45.83 kB / 309.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.03444, allocations: 361.2 kB / 309.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.0346, allocations: 269.7 kB / 309.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.03479, allocations: 138.5 kB / 309.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.0349, allocations: 370.7 kB / 310.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.0351, allocations: 120.8 kB / 310.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.03538, allocations: 303.9 kB / 310.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.03593, allocations: 0.5035 MB / 311.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.03594, allocations: 0 / 311.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001463/0.0374, allocations: 0.7927 MB / 312 MB, free: 2.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.03742, allocations: 9.562 kB / 312 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.03743, allocations: 4 kB / 312 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.03861, allocations: 499 kB / 312.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.03903, allocations: 155.7 kB / 312.6 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00425/0.04328, allocations: 3.966 MB / 316.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.04359, allocations: 35.97 kB / 316.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.04365, allocations: 28 kB / 316.7 MB, free: 13.64 MB / 314.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.0001945/0.04384, allocations: 156.5 kB / 316.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.04397, allocations: 63.94 kB / 316.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00068/0.04465, allocations: 460.1 kB / 317.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.04467, allocations: 20.03 kB / 317.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.04467, allocations: 4 kB / 317.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.04468, allocations: 7.969 kB / 317.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.04616, allocations: 1.077 MB / 318.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.04617, allocations: 4 kB / 318.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.04752, allocations: 399.6 kB / 318.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.04758, allocations: 51.61 kB / 318.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.337e-05/0.04764, allocations: 24.78 kB / 318.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.0477, allocations: 24 kB / 318.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007103/0.04841, allocations: 1.45 MB / 320.4 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.04841, allocations: 4 kB / 320.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009274/0.04934, allocations: 0.7258 MB / 321.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.04941, allocations: 23.98 kB / 321.1 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.04966, allocations: 23.98 kB / 321.2 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.04978, allocations: 60.52 kB / 321.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.04981, allocations: 12 kB / 321.2 MB, free: 8.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.04995, allocations: 148.7 kB / 321.4 MB, free: 8.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04995, allocations: 0 / 321.4 MB, free: 8.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007131/0.05066, allocations: 239.9 kB / 321.6 MB, free: 8.496 MB / 314.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.0001874/0.05085, allocations: 104.9 kB / 321.7 MB, free: 8.383 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.05213, allocations: 0.8054 MB / 322.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-05/0.05215, allocations: 8 kB / 322.5 MB, free: 7.547 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.05324, allocations: 0.5906 MB / 323.1 MB, free: 6.926 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/0.05412, allocations: 1.119 MB / 324.2 MB, free: 5.605 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.06749, allocations: 1.69 MB / 325.9 MB, free: 3.871 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.06772, allocations: 259.1 kB / 326.2 MB, free: 3.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.06801, allocations: 77.22 kB / 326.2 MB, free: 3.512 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.06832, allocations: 173.2 kB / 326.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of SimCode: time 1.854e-06/0.06832, allocations: 0 / 326.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of Templates: time 0.01581/0.08413, allocations: 12.97 MB / 339.4 MB, free: 6.535 MB / 330.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.399775441735983]