Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001089/0.001089, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002687, allocations: 449.7 kB / 10.37 MB, free: 324 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.001068/0.001068, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009662/0.002034, allocations: 455.6 kB / 11.71 MB, free: 2.457 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.9465/0.9465, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07661/1.023, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.1132/0.1132, allocations: 29.45 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1296/0.2427, allocations: 9.524 MB / 283 MB, free: 12.85 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 1.312 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.518e-06/1.13e-05, allocations: 2.969 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004366/0.004377, allocations: 4.303 MB / 288.5 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.005712, allocations: 1.245 MB / 289.8 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.005837, allocations: 17.06 kB / 289.8 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.006414, allocations: 380.2 kB / 290.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.006865, allocations: 267.6 kB / 290.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.007139, allocations: 164.7 kB / 290.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.007578, allocations: 0.6017 MB / 291.2 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.007859, allocations: 232.9 kB / 291.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004298/0.008289, allocations: 420 kB / 291.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.008553, allocations: 245.9 kB / 292.1 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.008589, allocations: 28.91 kB / 292.1 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.008814, allocations: 129 kB / 292.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.008975, allocations: 201.3 kB / 292.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.009096, allocations: 125 kB / 292.6 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.009434, allocations: 369.6 kB / 292.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.409e-05/0.009448, allocations: 0 / 292.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.009449, allocations: 0 / 292.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.009467, allocations: 1.781 kB / 292.9 MB, free: 5.77 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007417/0.01021, allocations: 0.6897 MB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.01024, allocations: 8.906 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003811/0.01062, allocations: 188.6 kB / 293.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.01092, allocations: 312.1 kB / 294.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.01094, allocations: 29.38 kB / 294.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.902e-05/0.01102, allocations: 40.73 kB / 294.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.01131, allocations: 311.7 kB / 294.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.01133, allocations: 3.984 kB / 294.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.01135, allocations: 12 kB / 294.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.725e-05/0.01141, allocations: 28.98 kB / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.01156, allocations: 121.6 kB / 294.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.01282, allocations: 1.147 MB / 295.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.01295, allocations: 128.9 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.01301, allocations: 45.75 kB / 296 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.01302, allocations: 8 kB / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.01304, allocations: 38.5 kB / 296 MB, free: 2.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.01304, allocations: 0 / 296 MB, free: 2.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.000607/0.01365, allocations: 394.7 kB / 296.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.01369, allocations: 88.98 kB / 296.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.01383, allocations: 267 kB / 296.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.01384, allocations: 33.7 kB / 296.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.01393, allocations: 236.4 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.01396, allocations: 67.42 kB / 297.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.01402, allocations: 57.94 kB / 297.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.0141, allocations: 338.8 kB / 297.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.01414, allocations: 35.09 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.01421, allocations: 125.4 kB / 297.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.01436, allocations: 198.2 kB / 297.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.01436, allocations: 4 kB / 297.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000332/0.01469, allocations: 275.4 kB / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.0147, allocations: 4 kB / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/0.01488, allocations: 137.6 kB / 298.2 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.01517, allocations: 107.6 kB / 298.3 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.01531, allocations: 66.16 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.01648, allocations: 1.758 MB / 300.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.086e-05/0.01657, allocations: 11.94 kB / 300.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.01658, allocations: 8 kB / 300.2 MB, free: 14.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 8.865e-05/0.01667, allocations: 132.5 kB / 300.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.0167, allocations: 19.98 kB / 300.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.01686, allocations: 139.5 kB / 300.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01686, allocations: 7.938 kB / 300.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.01686, allocations: 7.984 kB / 300.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01687, allocations: 0 / 300.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.01732, allocations: 445.2 kB / 300.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.01732, allocations: 7.922 kB / 300.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.01747, allocations: 56.56 kB / 301 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.0175, allocations: 31.78 kB / 301 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.094e-05/0.01756, allocations: 30.56 kB / 301 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01757, allocations: 4 kB / 301 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01758, allocations: 8 kB / 301 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01758, allocations: 4.156 kB / 301 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.0178, allocations: 323 kB / 301.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.01783, allocations: 11.98 kB / 301.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.01789, allocations: 4 kB / 301.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.01791, allocations: 11.98 kB / 301.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.01792, allocations: 4 kB / 301.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.473e-05/0.01798, allocations: 104.5 kB / 301.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01798, allocations: 0 / 301.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.01823, allocations: 92 kB / 301.6 MB, free: 12.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.343e-05/0.0183, allocations: 84.36 kB / 301.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.0186, allocations: 279.2 kB / 301.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/0.01862, allocations: 11.98 kB / 301.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.01869, allocations: 61.56 kB / 302 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.01893, allocations: 101 kB / 302.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/0.02527, allocations: 0.7614 MB / 302.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.951e-05/0.02535, allocations: 136.5 kB / 303 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.681e-05/0.02544, allocations: 39 kB / 303 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.02555, allocations: 103.3 kB / 303.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02555, allocations: 0 / 303.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of Templates: time 0.005729/0.03128, allocations: 4.256 MB / 307.4 MB, free: 7.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.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.734456433914602]