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.001858/0.001858, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001913/0.001913, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 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 1.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3279/0.3279, allocations: 29.41 MB / 290.5 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.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.453e-06/1.453e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.774e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01018/0.01021, allocations: 6.803 MB / 375.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.0147, allocations: 2.111 MB / 377.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003705/0.01507, allocations: 35.69 kB / 377.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.0167, allocations: 0.5209 MB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.01822, allocations: 0.5672 MB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000997/0.01921, allocations: 382.9 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.0209, allocations: 1.337 MB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008628/0.02176, allocations: 0.5373 MB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.02297, allocations: 0.7558 MB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.02409, allocations: 0.6742 MB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.02427, allocations: 100 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.02532, allocations: 0.5303 MB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005843/0.02591, allocations: 0.4911 MB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005456/0.02645, allocations: 379.2 kB / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.02853, allocations: 1.55 MB / 385.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.02853, allocations: 0 / 385.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.02854, allocations: 0 / 385.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.02855, allocations: 0 / 385.6 MB, free: 10.49 MB / 362.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.003534/0.03209, allocations: 1.457 MB / 387.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.03213, allocations: 11.98 kB / 387.1 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.0333, allocations: 280.1 kB / 387.4 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.03488, allocations: 0.6311 MB / 388 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003829/0.03526, allocations: 325.8 kB / 388.3 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.0355, allocations: 92.67 kB / 388.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.03766, allocations: 1.013 MB / 389.4 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.03769, allocations: 3.938 kB / 389.4 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.03779, allocations: 32 kB / 389.5 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000176/0.03797, allocations: 65.97 kB / 389.5 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.03974, allocations: 0.6478 MB / 390.2 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008503/0.04824, allocations: 4.96 MB / 395.1 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.04994, allocations: 0.5445 MB / 395.7 MB, free: 48 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008719/0.05082, allocations: 315.4 kB / 396 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.74e-05/0.05088, allocations: 20.59 kB / 396 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.05094, allocations: 46.03 kB / 396.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 3.105e-06/0.05094, allocations: 0 / 396.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.004958/0.0559, allocations: 1.773 MB / 397.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.05598, allocations: 85.77 kB / 397.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.05665, allocations: 0.5064 MB / 398.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.05671, allocations: 41.7 kB / 398.5 MB, free: 13.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.05716, allocations: 475 kB / 398.9 MB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.05748, allocations: 293.7 kB / 399.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.05781, allocations: 176.3 kB / 399.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006889/0.05849, allocations: 0.5821 MB / 400 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.05914, allocations: 221.8 kB / 400.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000949/0.06009, allocations: 0.5184 MB / 400.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.06174, allocations: 0.782 MB / 401.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.06175, allocations: 0 / 401.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00375/0.0655, allocations: 1.206 MB / 402.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.06552, allocations: 8 kB / 402.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003058/0.06858, allocations: 0.9296 MB / 403.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/0.0711, allocations: 0.5963 MB / 404.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.07176, allocations: 151.8 kB / 404.4 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.08226, allocations: 5.788 MB / 410.2 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/0.08298, allocations: 63.92 kB / 410.2 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-05/0.08305, allocations: 31.98 kB / 410.3 MB, free: 0.8711 MB / 378.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.0004425/0.0835, allocations: 244.3 kB / 410.5 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.08371, allocations: 83.62 kB / 410.6 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.08568, allocations: 0.7174 MB / 411.3 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.0857, allocations: 12 kB / 411.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.08571, allocations: 3.938 kB / 411.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.08572, allocations: 3.984 kB / 411.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.08946, allocations: 1.634 MB / 412.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.08946, allocations: 0 / 412.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002387/0.09185, allocations: 407.6 kB / 413.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.09198, allocations: 39.66 kB / 413.4 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/0.09206, allocations: 15.98 kB / 413.4 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.09413, allocations: 2.035 MB / 415.4 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.09413, allocations: 0 / 415.4 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.09686, allocations: 1.141 MB / 416.6 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.09701, allocations: 47.62 kB / 416.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.797e-05/0.09711, allocations: 15.98 kB / 416.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.0976, allocations: 47.94 kB / 416.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.09783, allocations: 80.41 kB / 416.8 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.09789, allocations: 23.97 kB / 416.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004024/0.09829, allocations: 315.1 kB / 417.1 MB, free: 9.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.09829, allocations: 4 kB / 417.1 MB, free: 9.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009899/0.09928, allocations: 235.9 kB / 417.3 MB, free: 9.543 MB / 394.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.0002787/0.09956, allocations: 127 kB / 417.5 MB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.1022, allocations: 1.162 MB / 418.6 MB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.1022, allocations: 4 kB / 418.6 MB, free: 8.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.1045, allocations: 0.6901 MB / 419.3 MB, free: 7.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.1053, allocations: 139.4 kB / 419.4 MB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.1093, allocations: 1.822 MB / 421.3 MB, free: 5.488 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008471/0.1101, allocations: 465.5 kB / 421.7 MB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000515/0.1106, allocations: 157 kB / 421.9 MB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.1109, allocations: 56.48 kB / 421.9 MB, free: 4.801 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1109, allocations: 0 / 421.9 MB, free: 4.801 MB / 394.7 MB Notification: Performance of Templates: time 0.02421/0.1351, allocations: 12.06 MB / 434 MB, free: 8.867 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=240 -emit_protected -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","/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: 5.725210750009865]