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.001145/0.001145, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001825/0.00297, allocations: 449.7 kB / 10.37 MB, free: 328 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.001235/0.001235, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002697, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9973/0.9973, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0889/1.086, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.1191/0.1191, allocations: 29.45 MB / 273.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1148/0.2339, allocations: 9.53 MB / 283 MB, free: 12.83 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.312e-06/1.312e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.125e-05, allocations: 5.094 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006206/0.006227, allocations: 5.971 MB / 290.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.009305, allocations: 2.174 MB / 292.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.009589, allocations: 34.81 kB / 292.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008047/0.01039, allocations: 451.6 kB / 292.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008985/0.01129, allocations: 0.5768 MB / 293.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.01198, allocations: 377.3 kB / 293.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.01312, allocations: 1.364 MB / 295.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.01371, allocations: 0.5493 MB / 295.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008898/0.0146, allocations: 0.8426 MB / 296.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.01521, allocations: 0.6157 MB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.01531, allocations: 92 kB / 297.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007035/0.01601, allocations: 0.5304 MB / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.0163, allocations: 435.1 kB / 298.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.01658, allocations: 303.4 kB / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008232/0.0174, allocations: 0.9502 MB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.01741, allocations: 8 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.01741, allocations: 0 / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.471e-05/0.01744, allocations: 0 / 299.5 MB, free: 15.52 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.001536/0.01897, allocations: 1.367 MB / 300.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.019, allocations: 8.031 kB / 300.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005912/0.01959, allocations: 301.8 kB / 301.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.02017, allocations: 0.5069 MB / 301.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.02033, allocations: 329.8 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.02047, allocations: 95.92 kB / 302.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007637/0.02123, allocations: 0.7876 MB / 302.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.02125, allocations: 4 kB / 302.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/0.02131, allocations: 39.94 kB / 302.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.561e-05/0.02139, allocations: 65.95 kB / 303 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.02185, allocations: 360.4 kB / 303.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.02522, allocations: 3.415 MB / 306.7 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.02575, allocations: 413.5 kB / 307.1 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.02599, allocations: 190.1 kB / 307.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.02604, allocations: 16.66 kB / 307.3 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.02606, allocations: 39.22 kB / 307.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.983e-06/0.02607, allocations: 0 / 307.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.001556/0.02762, allocations: 1.022 MB / 308.4 MB, free: 6.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.466e-05/0.02766, allocations: 85.77 kB / 308.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.02786, allocations: 375.2 kB / 308.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.0279, allocations: 37.69 kB / 308.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.02804, allocations: 369.2 kB / 309.2 MB, free: 5.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.02817, allocations: 257.7 kB / 309.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.02832, allocations: 142.5 kB / 309.6 MB, free: 4.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.02842, allocations: 382.6 kB / 310 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.02858, allocations: 112.8 kB / 310.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.02878, allocations: 303.9 kB / 310.4 MB, free: 4.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.02918, allocations: 0.4918 MB / 310.9 MB, free: 3.477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.02918, allocations: 0 / 310.9 MB, free: 3.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001129/0.03031, allocations: 0.8044 MB / 311.7 MB, free: 2.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.03033, allocations: 8 kB / 311.7 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008543/0.03118, allocations: 0.5639 MB / 312.3 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008885/0.03207, allocations: 0.4906 MB / 312.8 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.03238, allocations: 147.8 kB / 312.9 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.0355, allocations: 3.961 MB / 316.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.03572, allocations: 39.97 kB / 316.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.03575, allocations: 27.98 kB / 317 MB, free: 13.23 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.0001467/0.0359, allocations: 152.5 kB / 317.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.03599, allocations: 59.89 kB / 317.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.03652, allocations: 480 kB / 317.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.03653, allocations: 12 kB / 317.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.03653, allocations: 0 / 317.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.03654, allocations: 3.984 kB / 317.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.03765, allocations: 1.077 MB / 318.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.03765, allocations: 0 / 318.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.03866, allocations: 403.6 kB / 319.1 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.0387, allocations: 47.75 kB / 319.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.134e-05/0.03875, allocations: 28.92 kB / 319.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.03879, allocations: 19.98 kB / 319.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005595/0.03935, allocations: 1.462 MB / 320.7 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.03935, allocations: 4 kB / 320.7 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/0.04007, allocations: 0.7259 MB / 321.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.04012, allocations: 20 kB / 321.4 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.0403, allocations: 27.97 kB / 321.4 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.04039, allocations: 48.56 kB / 321.5 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.04042, allocations: 15.98 kB / 321.5 MB, free: 8.473 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.098e-05/0.04051, allocations: 148.7 kB / 321.7 MB, free: 8.324 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04051, allocations: 4 kB / 321.7 MB, free: 8.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.04097, allocations: 239.9 kB / 321.9 MB, free: 8.086 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.0001492/0.04112, allocations: 112.2 kB / 322 MB, free: 7.969 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007761/0.0419, allocations: 0.7777 MB / 322.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/0.04191, allocations: 12.31 kB / 322.8 MB, free: 7.152 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.04267, allocations: 0.549 MB / 323.3 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.04309, allocations: 210.9 kB / 323.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009905/0.053, allocations: 1.702 MB / 325.2 MB, free: 4.621 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.05317, allocations: 255.2 kB / 325.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.05337, allocations: 77.22 kB / 325.6 MB, free: 4.273 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.05364, allocations: 173.3 kB / 325.7 MB, free: 4.102 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.05365, allocations: 0 / 325.7 MB, free: 4.102 MB / 314.7 MB Notification: Performance of Templates: time 0.01423/0.06787, allocations: 13.11 MB / 338.9 MB, free: 7.145 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2875469345599413]