Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.0009005/0.0009005, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001237/0.002138, 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.0009771/0.0009771, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003776/0.004753, 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 1.016/1.016, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09698/1.112, allocations: 53.66 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.1213/0.1213, allocations: 29.44 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.161/0.2823, 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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 284.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.655e-05, allocations: 3.859 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.009315/0.009331, allocations: 4.62 MB / 289.1 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005299/0.01463, allocations: 1.326 MB / 290.4 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.01489, allocations: 21.44 kB / 290.4 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.01539, allocations: 109.2 kB / 290.5 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.01596, allocations: 335.2 kB / 290.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.01941, allocations: 174.1 kB / 291 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008782/0.02029, allocations: 0.6835 MB / 291.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.02052, allocations: 108 kB / 291.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009316/0.02145, allocations: 0.4888 MB / 292.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000512/0.02197, allocations: 366.2 kB / 292.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.717e-05/0.02204, allocations: 37.91 kB / 292.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.02216, allocations: 44.34 kB / 292.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003312/0.02547, allocations: 209.5 kB / 292.9 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.02572, allocations: 147.5 kB / 293.1 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.02624, allocations: 407.1 kB / 293.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.196e-05/0.02625, allocations: 0 / 293.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.02625, allocations: 0 / 293.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.02627, allocations: 3.344 kB / 293.5 MB, free: 5.5 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001389/0.02766, allocations: 0.8249 MB / 294.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.02769, allocations: 12.03 kB / 294.3 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.02782, allocations: 60.89 kB / 294.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00385/0.03167, allocations: 415.8 kB / 294.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.0317, allocations: 20.66 kB / 294.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/0.03178, allocations: 40 kB / 294.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.03226, allocations: 348 kB / 295.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.03227, allocations: 0 / 295.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.03231, allocations: 15.94 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/0.03248, allocations: 32.62 kB / 295.2 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.03271, allocations: 115.2 kB / 295.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/0.03755, allocations: 1.336 MB / 296.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.03803, allocations: 227.8 kB / 296.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.03834, allocations: 142.7 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.03837, allocations: 8 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.0384, allocations: 38.56 kB / 297.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.0384, allocations: 0 / 297.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.004831/0.04323, allocations: 0.664 MB / 297.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.04327, allocations: 85.11 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.04354, allocations: 327.2 kB / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.0437, allocations: 33.7 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.04382, allocations: 217.5 kB / 298.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.04392, allocations: 134.9 kB / 298.5 MB, free: 368 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.04405, allocations: 94.08 kB / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.04418, allocations: 354.7 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.0443, allocations: 59.92 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.04446, allocations: 161.3 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.0448, allocations: 260.8 kB / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.0448, allocations: 4 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000714/0.04551, allocations: 380 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.04553, allocations: 8 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.04554, allocations: 4 kB / 299.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003612/0.04915, allocations: 155.2 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.04943, allocations: 87.89 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.05524, allocations: 3.292 MB / 303.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.05548, allocations: 35.73 kB / 303.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.05551, allocations: 19.98 kB / 303.4 MB, free: 11.16 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 (47): * Single equations (assignments): 45 * Array equations: 0 * 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): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.05568, allocations: 132.5 kB / 303.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/0.05576, allocations: 35.97 kB / 303.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007275/0.05649, allocations: 394.6 kB / 304 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.05649, allocations: 4 kB / 304 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.0565, allocations: 4 kB / 304 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.05651, allocations: 7.922 kB / 304 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.05689, allocations: 233.8 kB / 304.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.05689, allocations: 4 kB / 304.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.05705, allocations: 39.92 kB / 304.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.0571, allocations: 39.66 kB / 304.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007595/0.05786, allocations: 261.4 kB / 304.5 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003069/0.06093, allocations: 32.03 kB / 304.6 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006267/0.0672, allocations: 4.889 MB / 309.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.0672, allocations: 0 / 309.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008977/0.0681, allocations: 0.5796 MB / 310 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.06818, allocations: 31.97 kB / 310.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.06837, allocations: 4 kB / 310.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.06846, allocations: 43.81 kB / 310.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.06849, allocations: 11.97 kB / 310.1 MB, free: 3.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.06863, allocations: 128.7 kB / 310.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06863, allocations: 0 / 310.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006644/0.06929, allocations: 175.8 kB / 310.4 MB, free: 3.598 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (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.0001622/0.06946, allocations: 104.4 kB / 310.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003955/0.07341, allocations: 0.4989 MB / 311 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/0.07343, allocations: 8.469 kB / 311 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008766/0.07431, allocations: 0.6852 MB / 311.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.07535, allocations: 0.9706 MB / 312.7 MB, free: 1.055 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.08684, allocations: 0.9877 MB / 313.7 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.08696, allocations: 153.7 kB / 313.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.08712, allocations: 52.36 kB / 313.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.08729, allocations: 133.3 kB / 314 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.413e-06/0.08729, allocations: 0 / 314 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.009597/0.09689, allocations: 8.581 MB / 322.6 MB, free: 7.246 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.0140669401735067]