Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.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.0007679/0.0007679, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001827, 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.0006878/0.0006878, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009017/0.00159, 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.9793/0.9793, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09183/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.1169/0.1169, allocations: 29.45 MB / 273.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.141/0.2579, allocations: 9.537 MB / 283.2 MB, free: 12.82 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.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="generator.p.[0-9,]+.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="generator.p.[0-9,]+.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 1.406 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.503e-05, allocations: 2.312 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.005874/0.005899, allocations: 3.561 MB / 288 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.007773, allocations: 1.051 MB / 289.1 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.007933, allocations: 13.59 kB / 289.1 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.0085, allocations: 189.7 kB / 289.3 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.00897, allocations: 186.8 kB / 289.4 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.009334, allocations: 130.1 kB / 289.6 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004674/0.009802, allocations: 298 kB / 289.9 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.01009, allocations: 117.5 kB / 290 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.01052, allocations: 189.9 kB / 290.2 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.01077, allocations: 103.9 kB / 290.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.0108, allocations: 17.66 kB / 290.3 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.0112, allocations: 188.6 kB / 290.5 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.01129, allocations: 58.38 kB / 290.5 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.01139, allocations: 56.53 kB / 290.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.01186, allocations: 224 kB / 290.8 MB, free: 7.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-05/0.01188, allocations: 0 / 290.8 MB, free: 7.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01188, allocations: 1.375 kB / 290.8 MB, free: 7.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.01189, allocations: 0 / 290.8 MB, free: 7.172 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000769/0.01266, allocations: 469.7 kB / 291.2 MB, free: 6.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.0127, allocations: 12.25 kB / 291.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006799/0.01338, allocations: 193 kB / 291.5 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.01361, allocations: 194.6 kB / 291.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.01362, allocations: 15.58 kB / 291.7 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.01365, allocations: 15.38 kB / 291.7 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.01385, allocations: 181.4 kB / 291.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.01386, allocations: 5.438 kB / 291.9 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.01387, allocations: 14.73 kB / 291.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.0139, allocations: 12.62 kB / 291.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.01401, allocations: 84.06 kB / 292 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.01482, allocations: 0.8882 MB / 292.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.01494, allocations: 135 kB / 293 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.01497, allocations: 21.12 kB / 293 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.01498, allocations: 1.625 kB / 293 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.01501, allocations: 41.86 kB / 293 MB, free: 5.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.01501, allocations: 0 / 293 MB, free: 5.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001679/0.01518, allocations: 83.08 kB / 293.1 MB, free: 5.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.01521, allocations: 79.48 kB / 293.2 MB, free: 5.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.01531, allocations: 189.8 kB / 293.4 MB, free: 4.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.01532, allocations: 31.11 kB / 293.4 MB, free: 4.953 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.01538, allocations: 152.6 kB / 293.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.01541, allocations: 52.34 kB / 293.6 MB, free: 4.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.01545, allocations: 39.91 kB / 293.7 MB, free: 4.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.01553, allocations: 330.8 kB / 294 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.01555, allocations: 18.38 kB / 294 MB, free: 4.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-05/0.01561, allocations: 102.4 kB / 294.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.01573, allocations: 142.2 kB / 294.2 MB, free: 4.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01573, allocations: 0.8125 kB / 294.2 MB, free: 4.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001378/0.01587, allocations: 139.2 kB / 294.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01588, allocations: 6.25 kB / 294.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.01589, allocations: 2.875 kB / 294.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.0159, allocations: 4.031 kB / 294.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.01611, allocations: 61.36 kB / 294.4 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005664/0.01668, allocations: 1.227 MB / 295.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.01675, allocations: 27.08 kB / 295.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01676, allocations: 10.03 kB / 295.7 MB, free: 2.754 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.168e-05/0.01683, allocations: 123.7 kB / 295.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.01685, allocations: 12.8 kB / 295.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.01697, allocations: 91.47 kB / 295.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01697, allocations: 2 kB / 295.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01698, allocations: 3.938 kB / 295.9 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01698, allocations: 5.938 kB / 295.9 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.01729, allocations: 339.5 kB / 296.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01729, allocations: 2.062 kB / 296.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.0174, allocations: 39.98 kB / 296.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.01742, allocations: 17.16 kB / 296.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.01742, allocations: 2.156 kB / 296.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01743, allocations: 8.984 kB / 296.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006616/0.01809, allocations: 1.224 MB / 297.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01809, allocations: 4.969 kB / 297.6 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.01825, allocations: 264 kB / 297.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.01827, allocations: 6.406 kB / 297.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.695e-05/0.01831, allocations: 3.5 kB / 297.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.01833, allocations: 16.33 kB / 297.9 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.01834, allocations: 3.25 kB / 297.9 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.058e-05/0.01838, allocations: 49.59 kB / 297.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01838, allocations: 3.938 kB / 297.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.01857, allocations: 55.98 kB / 298 MB, free: 0.5703 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * 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 (13): * Single equations (assignments): 11 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.713e-05/0.01866, allocations: 84.39 kB / 298.1 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.01881, allocations: 90.36 kB / 298.1 MB, free: 392 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.01882, allocations: 4 kB / 298.1 MB, free: 388 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.935e-05/0.01891, allocations: 108.8 kB / 298.2 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.0192, allocations: 264.2 kB / 298.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.023, allocations: 450.4 kB / 298.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.296e-05/0.02305, allocations: 79.97 kB / 299 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.02311, allocations: 25.52 kB / 299 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.02319, allocations: 75.36 kB / 299.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.704e-06/0.02319, allocations: 4 kB / 299.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of Templates: time 0.003457/0.02665, allocations: 1.596 MB / 300.7 MB, free: 13.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.GeneratorTest.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: 2.8154989248141646]