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.00126/0.00126, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001568/0.001568, allocations: 161 kB / 24.55 MB, free: 16 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 0.9809/0.9809, allocations: 177.1 MB / 205 MB, free: 5.613 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.2216/0.2216, allocations: 29.42 MB / 290.9 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[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="Time|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.784e-06/1.784e-06, allocations: 0 / 369.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.897e-05, allocations: 2.312 kB / 369.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006359/0.006387, allocations: 5.903 MB / 375.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.009813, allocations: 2.111 MB / 377.7 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.01019, allocations: 39.69 kB / 377.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009255/0.01111, allocations: 390 kB / 378.1 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009862/0.0121, allocations: 0.5555 MB / 378.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007599/0.01286, allocations: 383 kB / 379 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.01443, allocations: 1.333 MB / 380.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006832/0.01511, allocations: 0.5333 MB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.01615, allocations: 0.8068 MB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000708/0.01686, allocations: 0.6273 MB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.01699, allocations: 92 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007126/0.0177, allocations: 0.5303 MB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.01807, allocations: 482.8 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.01842, allocations: 371.2 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.01954, allocations: 1.048 MB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01955, allocations: 3.938 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01955, allocations: 0 / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.01956, allocations: 0 / 384.8 MB, free: 11.69 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.00198/0.02154, allocations: 1.375 MB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.02158, allocations: 15.98 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.02262, allocations: 276.1 kB / 386.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/0.0234, allocations: 0.5786 MB / 387.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.02361, allocations: 325.8 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.02379, allocations: 88.7 kB / 387.5 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.02506, allocations: 0.9 MB / 388.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.02508, allocations: 3.938 kB / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/0.02516, allocations: 32 kB / 388.4 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.02527, allocations: 61.97 kB / 388.5 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/0.02621, allocations: 486.9 kB / 388.9 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/0.03097, allocations: 4.718 MB / 393.7 MB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008396/0.03181, allocations: 453.7 kB / 394.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.03226, allocations: 260 kB / 394.4 MB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.03231, allocations: 16.64 kB / 394.4 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.03234, allocations: 49.98 kB / 394.4 MB, free: 1.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.03234, allocations: 0 / 394.4 MB, free: 1.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.00264/0.03498, allocations: 1.511 MB / 395.9 MB, free: 136 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.03502, allocations: 85.77 kB / 396 MB, free: 32 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.03538, allocations: 450.5 kB / 396.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.03543, allocations: 41.69 kB / 396.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.03565, allocations: 451 kB / 396.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.03583, allocations: 277.6 kB / 397.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.03604, allocations: 152.3 kB / 397.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.03621, allocations: 0.5469 MB / 397.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.03653, allocations: 173.9 kB / 398.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.03698, allocations: 450.6 kB / 398.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.0378, allocations: 0.6337 MB / 399.2 MB, free: 12.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.0378, allocations: 4 kB / 399.2 MB, free: 12.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002048/0.03985, allocations: 1.057 MB / 400.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.03987, allocations: 14.33 kB / 400.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001834/0.0417, allocations: 0.7701 MB / 401 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.04305, allocations: 0.5105 MB / 401.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.04347, allocations: 155.7 kB / 401.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004822/0.04829, allocations: 5.291 MB / 407 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.04866, allocations: 63.92 kB / 407 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.04871, allocations: 28.06 kB / 407 MB, free: 4.477 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.0002139/0.04893, allocations: 216.2 kB / 407.3 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.04908, allocations: 83.62 kB / 407.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.05032, allocations: 0.5965 MB / 407.9 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.05034, allocations: 16 kB / 407.9 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.05034, allocations: 11.88 kB / 408 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.05035, allocations: 3.984 kB / 408 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.05234, allocations: 1.384 MB / 409.3 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.05235, allocations: 4.094 kB / 409.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.05374, allocations: 407.4 kB / 409.8 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.828e-05/0.05382, allocations: 35.66 kB / 409.8 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.05387, allocations: 12 kB / 409.8 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008628/0.05473, allocations: 2.004 MB / 411.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.05473, allocations: 4.062 kB / 411.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.05603, allocations: 0.938 MB / 412.7 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.05609, allocations: 55.62 kB / 412.8 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.05616, allocations: 19.98 kB / 412.8 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.05646, allocations: 51.92 kB / 412.9 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.05662, allocations: 76.41 kB / 412.9 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.05666, allocations: 20 kB / 413 MB, free: 14.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.05687, allocations: 279 kB / 413.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05687, allocations: 0 / 413.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007513/0.05762, allocations: 235.9 kB / 413.5 MB, free: 13.81 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.0001929/0.05782, allocations: 119.2 kB / 413.6 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.05918, allocations: 1.037 MB / 414.6 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.05919, allocations: 0 / 414.6 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.06058, allocations: 0.6316 MB / 415.2 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.06116, allocations: 135.1 kB / 415.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.06402, allocations: 1.814 MB / 417.2 MB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.06423, allocations: 247.2 kB / 417.4 MB, free: 9.699 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003608/0.06459, allocations: 161 kB / 417.6 MB, free: 9.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.06476, allocations: 52.5 kB / 417.6 MB, free: 9.488 MB / 394.7 MB Notification: Performance of SimCode: time 7.61e-07/0.06476, allocations: 0 / 417.6 MB, free: 9.488 MB / 394.7 MB Notification: Performance of Templates: time 0.01472/0.07947, allocations: 12.53 MB / 430.2 MB, free: 13.08 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","",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.628289286978543]