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.001758/0.001758, allocations: 71.12 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.00162/0.00162, allocations: 158.9 kB / 24.5 MB, free: 3.719 MB / 14.72 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.562/1.562, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 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.1846/0.1846, allocations: 29.44 MB / 290.7 MB, free: 3.293 MB / 270.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 63.89 kB / 431.2 MB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3742, allocations: 62.45 MB / 493.6 MB, free: 37.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006536/0.3808, allocations: 6.475 MB / 0.4884 GB, free: 33.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003384/0.3842, allocations: 2.044 MB / 0.4904 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.3847, allocations: 35.91 kB / 0.4904 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.3861, allocations: 0.5024 MB / 0.4909 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.3873, allocations: 0.5586 MB / 0.4915 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008625/0.3881, allocations: 383.2 kB / 0.4918 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.3893, allocations: 1.3 MB / 0.4931 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006383/0.3899, allocations: 0.5346 MB / 0.4936 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007432/0.3907, allocations: 0.5728 MB / 0.4942 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00083/0.3915, allocations: 0.7042 MB / 0.4949 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.3916, allocations: 100.2 kB / 0.495 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000805/0.3924, allocations: 0.5194 MB / 0.4955 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.3928, allocations: 473.5 kB / 0.4959 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003948/0.3931, allocations: 442.5 kB / 0.4963 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.3943, allocations: 1.485 MB / 0.4978 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3944, allocations: 4 kB / 0.4978 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3944, allocations: 0 / 0.4978 GB, free: 28.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.3944, allocations: 0 / 0.4978 GB, free: 28.93 MB / 446.1 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.002325/0.3967, allocations: 1.304 MB / 0.4991 GB, free: 28.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3967, allocations: 13.36 kB / 0.4991 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000878/0.3976, allocations: 182.3 kB / 0.4993 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3987, allocations: 0.6165 MB / 0.4999 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.3989, allocations: 329.9 kB / 0.5002 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.3991, allocations: 95.36 kB / 0.5003 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.4008, allocations: 1.36 MB / 0.5016 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.4008, allocations: 6.812 kB / 0.5016 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.4009, allocations: 30.5 kB / 0.5016 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.4011, allocations: 66.02 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.403, allocations: 1.292 MB / 0.503 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.4082, allocations: 4.502 MB / 0.5074 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.4099, allocations: 1.002 MB / 0.5083 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008749/0.4108, allocations: 0.5757 MB / 0.5089 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.4108, allocations: 10.59 kB / 0.5089 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.4109, allocations: 54.45 kB / 0.509 GB, free: 22.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.4109, allocations: 0 / 0.509 GB, free: 22.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=73): time 0.005065/0.4159, allocations: 2.955 MB / 0.5118 GB, free: 21.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.416, allocations: 88.8 kB / 0.5119 GB, free: 21.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.4163, allocations: 417.6 kB / 0.5123 GB, free: 21.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.4164, allocations: 40.59 kB / 0.5124 GB, free: 21.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4165, allocations: 406.4 kB / 0.5128 GB, free: 21.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.4167, allocations: 273.7 kB / 0.513 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.4169, allocations: 154.5 kB / 0.5132 GB, free: 20.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.417, allocations: 371.7 kB / 0.5135 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008155/0.4178, allocations: 0.4929 MB / 0.514 GB, free: 20.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/0.4186, allocations: 0.6875 MB / 0.5147 GB, free: 19.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.4203, allocations: 1.208 MB / 0.5158 GB, free: 19.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4203, allocations: 2.656 kB / 0.5159 GB, free: 19.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004157/0.4245, allocations: 1.888 MB / 0.5177 GB, free: 18.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4245, allocations: 7.594 kB / 0.5177 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003917/0.4284, allocations: 1.623 MB / 0.5193 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/0.4303, allocations: 0.6644 MB / 0.5199 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/0.431, allocations: 155.6 kB / 0.5201 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.4423, allocations: 7.094 MB / 0.527 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008472/0.4432, allocations: 72.81 kB / 0.5271 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.4433, allocations: 32.72 kB / 0.5271 GB, free: 13.84 MB / 446.1 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.000609/0.4439, allocations: 319.1 kB / 0.5274 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.4441, allocations: 59.2 kB / 0.5275 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.4465, allocations: 1.222 MB / 0.5287 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/0.4465, allocations: 17.42 kB / 0.5287 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4466, allocations: 1.156 kB / 0.5287 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4466, allocations: 3.281 kB / 0.5287 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/0.451, allocations: 2.086 MB / 0.5307 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.451, allocations: 1 kB / 0.5307 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/0.4538, allocations: 0.4916 MB / 0.5312 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/0.4539, allocations: 43.12 kB / 0.5312 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.454, allocations: 16.73 kB / 0.5313 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.4552, allocations: 1.494 MB / 0.5327 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4552, allocations: 1.094 kB / 0.5327 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/0.4589, allocations: 1.936 MB / 0.5346 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.4591, allocations: 54.09 kB / 0.5347 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.4592, allocations: 19.2 kB / 0.5347 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.4598, allocations: 62.61 kB / 0.5347 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.46, allocations: 68.89 kB / 0.5348 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/0.46, allocations: 18.7 kB / 0.5348 GB, free: 9.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.4604, allocations: 274 kB / 0.5351 GB, free: 9.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4604, allocations: 0 / 0.5351 GB, free: 9.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001259/0.4617, allocations: 236.9 kB / 0.5353 GB, free: 9.695 MB / 446.1 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.0002479/0.4619, allocations: 126.1 kB / 0.5354 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.465, allocations: 1.518 MB / 0.5369 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.465, allocations: 0 / 0.5369 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002691/0.4677, allocations: 0.9658 MB / 0.5379 GB, free: 8.633 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/0.4685, allocations: 132.1 kB / 0.538 GB, free: 8.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.4725, allocations: 2.285 MB / 0.5402 GB, free: 7.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.4731, allocations: 479.4 kB / 0.5407 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005844/0.4737, allocations: 202 kB / 0.5409 GB, free: 7.223 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.4739, allocations: 53.3 kB / 0.5409 GB, free: 7.211 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4739, allocations: 0 / 0.5409 GB, free: 7.211 MB / 446.1 MB Notification: Performance of Templates: time 0.01868/0.4926, allocations: 11.96 MB / 0.5526 GB, free: 12.61 MB / 462.1 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=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins1/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: 6.0026739810127765]