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.0009937/0.0009937, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001047/0.001047, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9378/0.9378, allocations: 177.1 MB / 206 MB, free: 4.504 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.116/0.116, allocations: 29.43 MB / 292 MB, free: 2.668 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.643e-06/1.643e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.152e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.00667/0.006691, allocations: 5.855 MB / 376.7 MB, free: 26.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.00928, allocations: 2.095 MB / 378.8 MB, free: 24.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.009602, allocations: 35.69 kB / 378.9 MB, free: 24.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.01039, allocations: 378 kB / 379.2 MB, free: 23.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006914/0.01108, allocations: 0.5595 MB / 379.8 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.01162, allocations: 390.9 kB / 380.2 MB, free: 23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008325/0.01245, allocations: 1.321 MB / 381.5 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.01296, allocations: 0.5334 MB / 382 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006862/0.01364, allocations: 0.8145 MB / 382.9 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005128/0.01416, allocations: 0.6313 MB / 383.5 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.979e-05/0.01425, allocations: 92 kB / 383.6 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.01474, allocations: 0.5265 MB / 384.1 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.015, allocations: 490.8 kB / 384.6 MB, free: 18.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.01525, allocations: 367.2 kB / 384.9 MB, free: 18.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.01611, allocations: 1.048 MB / 386 MB, free: 17.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.01612, allocations: 4 kB / 386 MB, free: 17.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01612, allocations: 0 / 386 MB, free: 17.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.01613, allocations: 0 / 386 MB, free: 17.16 MB / 314.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.00127/0.0174, allocations: 1.312 MB / 387.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.01743, allocations: 16.02 kB / 387.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007362/0.01817, allocations: 240.1 kB / 387.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.01867, allocations: 0.5473 MB / 388.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.01881, allocations: 333.8 kB / 388.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.01894, allocations: 88.73 kB / 388.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.01962, allocations: 0.83 MB / 389.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.01964, allocations: 11.94 kB / 389.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.0197, allocations: 39.98 kB / 389.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.655e-05/0.01979, allocations: 61.97 kB / 389.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.02025, allocations: 384 kB / 389.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.02314, allocations: 4.465 MB / 394.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.02374, allocations: 399.6 kB / 394.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.02398, allocations: 221.2 kB / 394.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.02402, allocations: 12.66 kB / 394.9 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.02404, allocations: 49.98 kB / 395 MB, free: 7.781 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.134e-06/0.02404, allocations: 0 / 395 MB, free: 7.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.001517/0.02556, allocations: 1.161 MB / 396.1 MB, free: 6.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.02558, allocations: 81.77 kB / 396.2 MB, free: 6.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.02577, allocations: 446.2 kB / 396.6 MB, free: 6.027 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.0258, allocations: 37.7 kB / 396.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.02592, allocations: 463 kB / 397.1 MB, free: 5.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.02602, allocations: 273.6 kB / 397.4 MB, free: 5.254 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.02616, allocations: 156.2 kB / 397.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.02623, allocations: 0.5585 MB / 398.1 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.02638, allocations: 129.9 kB / 398.2 MB, free: 4.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.02658, allocations: 418.5 kB / 398.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.02698, allocations: 0.5672 MB / 399.2 MB, free: 3.211 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.02699, allocations: 0 / 399.2 MB, free: 3.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0012/0.02819, allocations: 0.9368 MB / 400.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.0282, allocations: 8 kB / 400.2 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009267/0.02913, allocations: 0.6721 MB / 400.8 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009244/0.03005, allocations: 0.4931 MB / 401.3 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.03032, allocations: 131.7 kB / 401.4 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/0.03402, allocations: 5.068 MB / 406.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.03427, allocations: 35.98 kB / 406.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.03431, allocations: 24.05 kB / 406.6 MB, free: 11.61 MB / 330.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.0001818/0.03449, allocations: 204.4 kB / 406.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.03462, allocations: 95.48 kB / 406.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006589/0.03527, allocations: 0.5379 MB / 407.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.03529, allocations: 20 kB / 407.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.03529, allocations: 0 / 407.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.0353, allocations: 7.984 kB / 407.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.03685, allocations: 1.19 MB / 408.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.03685, allocations: 12.03 kB / 408.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.03786, allocations: 371.5 kB / 409 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-05/0.03792, allocations: 23.67 kB / 409 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.03795, allocations: 20 kB / 409 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007473/0.0387, allocations: 1.977 MB / 411 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.0387, allocations: 8.062 kB / 411 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.03984, allocations: 0.8403 MB / 411.9 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.03988, allocations: 51.61 kB / 411.9 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.03994, allocations: 16 kB / 411.9 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.04013, allocations: 31.97 kB / 412 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.04022, allocations: 56.5 kB / 412 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.04025, allocations: 16 kB / 412 MB, free: 5.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.04038, allocations: 267 kB / 412.3 MB, free: 5.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04038, allocations: 0 / 412.3 MB, free: 5.648 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005451/0.04092, allocations: 228 kB / 412.5 MB, free: 5.426 MB / 330.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.0001794/0.0411, allocations: 127.1 kB / 412.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009214/0.04202, allocations: 0.9518 MB / 413.6 MB, free: 4.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.04203, allocations: 0 / 413.6 MB, free: 4.301 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.04286, allocations: 0.6006 MB / 414.2 MB, free: 3.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.0433, allocations: 134.7 kB / 414.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.0455, allocations: 1.784 MB / 416.1 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.04566, allocations: 247.1 kB / 416.4 MB, free: 1.449 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.04586, allocations: 77.22 kB / 416.4 MB, free: 1.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.04614, allocations: 198.1 kB / 416.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of SimCode: time 6.82e-07/0.04614, allocations: 0 / 416.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of Templates: time 0.01498/0.06112, allocations: 13.04 MB / 429.7 MB, free: 4.293 MB / 346.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.6379794972017407]