Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.0007673/0.0007673, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001159/0.001926, 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.000695/0.000695, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008726/0.001568, 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.9699/0.9699, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0881/1.058, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.1342/0.1342, allocations: 29.44 MB / 273.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1188/0.253, allocations: 9.525 MB / 283 MB, free: 12.86 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.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.287e-05, allocations: 4.312 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00532/0.005333, allocations: 5.434 MB / 289.7 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.007302, allocations: 1.469 MB / 291.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.007524, allocations: 33.97 kB / 291.2 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.007828, allocations: 151.5 kB / 291.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.008336, allocations: 428.5 kB / 291.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.008668, allocations: 214.3 kB / 292 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008461/0.009514, allocations: 1.144 MB / 293.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.009772, allocations: 225.2 kB / 293.3 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007763/0.01055, allocations: 0.7149 MB / 294 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.01112, allocations: 468.8 kB / 294.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.461e-05/0.01121, allocations: 61.03 kB / 294.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.01132, allocations: 65.91 kB / 294.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.01152, allocations: 291.3 kB / 294.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.01171, allocations: 207.6 kB / 295.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.01214, allocations: 0.5255 MB / 295.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.01215, allocations: 4 kB / 295.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.01215, allocations: 0 / 295.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.01217, allocations: 4 kB / 295.6 MB, free: 3.402 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001077/0.01324, allocations: 1.02 MB / 296.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.01327, allocations: 8.031 kB / 296.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.01338, allocations: 96.86 kB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.01386, allocations: 459.3 kB / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.01399, allocations: 216.1 kB / 297.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.01405, allocations: 56.38 kB / 297.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.01452, allocations: 495.4 kB / 298 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.01453, allocations: 3.938 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.01456, allocations: 27.98 kB / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/0.01462, allocations: 24.94 kB / 298 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.01486, allocations: 193.6 kB / 298.2 MB, free: 0.707 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.01653, allocations: 1.823 MB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.01699, allocations: 360.2 kB / 300.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.01709, allocations: 104.2 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.01712, allocations: 8 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.01714, allocations: 46.48 kB / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 1.563e-06/0.01714, allocations: 0 / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007191/0.01786, allocations: 401.1 kB / 300.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.0179, allocations: 81.11 kB / 301 MB, free: 13.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.01811, allocations: 347.2 kB / 301.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.01813, allocations: 33.7 kB / 301.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.01825, allocations: 277.7 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.01832, allocations: 138.8 kB / 301.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.0184, allocations: 74.16 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.01849, allocations: 362.8 kB / 302.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.01856, allocations: 63.75 kB / 302.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.01868, allocations: 156.9 kB / 302.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.01889, allocations: 260.9 kB / 302.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.01889, allocations: 3.938 kB / 302.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003161/0.01921, allocations: 304.2 kB / 303 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01922, allocations: 8 kB / 303 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01923, allocations: 7.938 kB / 303 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.01937, allocations: 44.52 kB / 303 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.01989, allocations: 231.9 kB / 303.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.02208, allocations: 5.171 MB / 308.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.02222, allocations: 55.64 kB / 308.5 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.02224, allocations: 19.94 kB / 308.5 MB, free: 5.734 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.02236, allocations: 144.7 kB / 308.6 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.02241, allocations: 43.91 kB / 308.7 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.02274, allocations: 277.9 kB / 309 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.02274, allocations: 4 kB / 309 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.02274, allocations: 0 / 309 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.02275, allocations: 7.984 kB / 309 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.02348, allocations: 0.749 MB / 309.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.02348, allocations: 0 / 309.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/0.02442, allocations: 239.6 kB / 310 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.02453, allocations: 43.61 kB / 310 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/0.02475, allocations: 56.5 kB / 310.1 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.02479, allocations: 15.98 kB / 310.1 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.02591, allocations: 2.644 MB / 312.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.02592, allocations: 0 / 312.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.02637, allocations: 474.3 kB / 313.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.02641, allocations: 16 kB / 313.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.02654, allocations: 15.98 kB / 313.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.02659, allocations: 31.94 kB / 313.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.02661, allocations: 12 kB / 313.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.438e-05/0.0267, allocations: 140.7 kB / 313.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0267, allocations: 0 / 313.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000412/0.02711, allocations: 175.6 kB / 313.6 MB, free: 388 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.02721, allocations: 92.3 kB / 313.7 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007942/0.02801, allocations: 0.595 MB / 314.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.02802, allocations: 8 kB / 314.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.02858, allocations: 0.5009 MB / 314.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.02894, allocations: 178 kB / 314.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007059/0.036, allocations: 1.15 MB / 316.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.03612, allocations: 173.7 kB / 316.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.0363, allocations: 56.36 kB / 316.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.03651, allocations: 145.3 kB / 316.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.03651, allocations: 0 / 316.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of Templates: time 0.009932/0.04644, allocations: 8.004 MB / 324.4 MB, free: 5.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.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: 2.8666873471811414]