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.001231/0.001231, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002669, allocations: 449.8 kB / 10.44 MB, free: 252 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.000791/0.000791, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.001929, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.978/0.978, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09398/1.072, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.1149/0.1149, allocations: 29.45 MB / 273.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1435/0.2584, allocations: 9.537 MB / 283.1 MB, free: 12.83 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.362e-06/1.362e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.206e-05, allocations: 3.625 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005258/0.00528, allocations: 5.452 MB / 289.9 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.007659, allocations: 1.473 MB / 291.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.007993, allocations: 34.81 kB / 291.4 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.008383, allocations: 151.6 kB / 291.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.009011, allocations: 428 kB / 292 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.009428, allocations: 211.3 kB / 292.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.01049, allocations: 1.152 MB / 293.3 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.01077, allocations: 220 kB / 293.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009721/0.01174, allocations: 0.7237 MB / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000604/0.01234, allocations: 457.4 kB / 294.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.522e-05/0.01243, allocations: 62.84 kB / 294.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.01254, allocations: 60 kB / 294.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.01274, allocations: 295.3 kB / 295.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.01292, allocations: 211.6 kB / 295.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.0134, allocations: 0.5256 MB / 295.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.01342, allocations: 0 / 295.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01342, allocations: 0 / 295.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.01343, allocations: 0 / 295.9 MB, free: 3.273 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.00128/0.01471, allocations: 1.027 MB / 296.9 MB, free: 2.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.01474, allocations: 16.02 kB / 296.9 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.01486, allocations: 88.88 kB / 297 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.01537, allocations: 459.3 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.01551, allocations: 216.1 kB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.01558, allocations: 56.38 kB / 297.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.01607, allocations: 499.3 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.01608, allocations: 3.984 kB / 298.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.01612, allocations: 28 kB / 298.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/0.01619, allocations: 24.98 kB / 298.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.01643, allocations: 189.6 kB / 298.4 MB, free: 0.5703 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.001968/0.0184, allocations: 1.815 MB / 300.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.0189, allocations: 377.4 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.01901, allocations: 97.73 kB / 300.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.01904, allocations: 11.98 kB / 300.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.01906, allocations: 38.56 kB / 300.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 1.643e-06/0.01906, allocations: 0 / 300.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007742/0.01984, allocations: 429 kB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.01987, allocations: 81.11 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.02007, allocations: 347.2 kB / 301.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.0201, allocations: 29.7 kB / 301.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.0202, allocations: 281.7 kB / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.02027, allocations: 138.8 kB / 302 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/0.02036, allocations: 78.28 kB / 302.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.02044, allocations: 362.7 kB / 302.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.02051, allocations: 55.8 kB / 302.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.02063, allocations: 160.9 kB / 302.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.02087, allocations: 260.9 kB / 302.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.02088, allocations: 3.938 kB / 302.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003395/0.02122, allocations: 312.1 kB / 303.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.02123, allocations: 8 kB / 303.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02124, allocations: 4 kB / 303.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.0214, allocations: 48.5 kB / 303.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.02194, allocations: 239.8 kB / 303.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.02443, allocations: 5.171 MB / 308.7 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.02461, allocations: 47.66 kB / 308.8 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.02463, allocations: 15.98 kB / 308.8 MB, free: 5.562 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.0001569/0.02479, allocations: 140.8 kB / 308.9 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.02484, allocations: 39.91 kB / 308.9 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.02517, allocations: 273.9 kB / 309.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02517, allocations: 4 kB / 309.2 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.02517, allocations: 4 kB / 309.2 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.02518, allocations: 3.984 kB / 309.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/0.02599, allocations: 0.7605 MB / 310 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.026, allocations: 0 / 310 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.02668, allocations: 239.6 kB / 310.2 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.02673, allocations: 55.59 kB / 310.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.02687, allocations: 48.5 kB / 310.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.02689, allocations: 15.98 kB / 310.3 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.02796, allocations: 2.64 MB / 313 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02796, allocations: 0 / 313 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.02838, allocations: 478.1 kB / 313.4 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.02841, allocations: 11.98 kB / 313.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.02853, allocations: 23.92 kB / 313.5 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.0286, allocations: 31.94 kB / 313.5 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.02862, allocations: 8 kB / 313.5 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.266e-05/0.02871, allocations: 132.7 kB / 313.6 MB, free: 396 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02871, allocations: 0 / 313.6 MB, free: 396 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004065/0.02912, allocations: 171.6 kB / 313.8 MB, free: 224 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.0001244/0.02925, allocations: 100.3 kB / 313.9 MB, free: 112 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.03052, allocations: 0.5922 MB / 314.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/0.03053, allocations: 8 kB / 314.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.03117, allocations: 0.5239 MB / 315 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.03184, allocations: 1.095 MB / 316.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/0.03905, allocations: 1.136 MB / 317.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.03916, allocations: 181.7 kB / 317.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.03934, allocations: 64.34 kB / 317.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.03955, allocations: 149.3 kB / 317.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of SimCode: time 4.308e-06/0.03955, allocations: 0 / 317.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of Templates: time 0.0102/0.04976, allocations: 7.988 MB / 325.6 MB, free: 4.191 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.080622377805412]