Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.0009633/0.0009633, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.0009767/0.0009767, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 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.119/1.119, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2437/0.2437, allocations: 29.42 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 316.9 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.453e-05, allocations: 3.672 kB / 316.9 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001951/0.001966, allocations: 1.604 MB / 318.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006222/0.002588, allocations: 486.5 kB / 318.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.00263, allocations: 0 / 318.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.002837, allocations: 27.78 kB / 319 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.003033, allocations: 79.56 kB / 319 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.00319, allocations: 83.7 kB / 319.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.003309, allocations: 71.75 kB / 319.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.003342, allocations: 4.172 kB / 319.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.636e-05/0.003439, allocations: 39.91 kB / 319.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.003494, allocations: 24.66 kB / 319.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.003505, allocations: 4 kB / 319.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.003639, allocations: 99.73 kB / 319.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.003683, allocations: 23.92 kB / 319.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.003703, allocations: 11.94 kB / 319.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.003875, allocations: 131.6 kB / 319.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.003876, allocations: 0 / 319.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003877, allocations: 0 / 319.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.00388, allocations: 0 / 319.5 MB, free: 13.33 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003002/0.00418, allocations: 308.2 kB / 319.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.004208, allocations: 11.98 kB / 319.8 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.004236, allocations: 8.922 kB / 319.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.004364, allocations: 145.5 kB / 320 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.004371, allocations: 384 / 320 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.004377, allocations: 384 / 320 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.323e-05/0.00446, allocations: 81.67 kB / 320.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.004467, allocations: 4.188 kB / 320.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.004475, allocations: 3.938 kB / 320.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.004479, allocations: 0 / 320.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.0045, allocations: 11.92 kB / 320.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.00468, allocations: 171.1 kB / 320.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.729e-05/0.004728, allocations: 25.41 kB / 320.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/0.004743, allocations: 12.84 kB / 320.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.004757, allocations: 0 / 320.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.004782, allocations: 38.44 kB / 320.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004783, allocations: 0 / 320.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 8.532e-05/0.004868, allocations: 49.69 kB / 320.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.004898, allocations: 77.11 kB / 320.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.004994, allocations: 159.4 kB / 320.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.005004, allocations: 25.7 kB / 320.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.005035, allocations: 96.11 kB / 320.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.005053, allocations: 19.84 kB / 320.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.005075, allocations: 13.7 kB / 320.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.005148, allocations: 322.8 kB / 321.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-06/0.005154, allocations: 4 kB / 321.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.005177, allocations: 47.3 kB / 321.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.005197, allocations: 19.7 kB / 321.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.005198, allocations: 0 / 321.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.035e-05/0.005238, allocations: 45.62 kB / 321.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.005248, allocations: 4 kB / 321.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005251, allocations: 0 / 321.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.005262, allocations: 0 / 321.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.005299, allocations: 8 kB / 321.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.005301, allocations: 0 / 321.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.005316, allocations: 4 kB / 321.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.00532, allocations: 11.92 kB / 321.2 MB, free: 11.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.005368, allocations: 108.7 kB / 321.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.005384, allocations: 11.94 kB / 321.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.005446, allocations: 46.36 kB / 321.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.00545, allocations: 12.02 kB / 321.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.005451, allocations: 0 / 321.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.005453, allocations: 0 / 321.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.167e-05/0.005535, allocations: 73.88 kB / 321.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.005535, allocations: 0 / 321.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.005546, allocations: 4 kB / 321.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005548, allocations: 4 kB / 321.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.005552, allocations: 0 / 321.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005553, allocations: 7.938 kB / 321.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005554, allocations: 0 / 321.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.143e-05/0.005616, allocations: 139.5 kB / 321.6 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.005627, allocations: 11.94 kB / 321.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.005636, allocations: 0 / 321.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.005663, allocations: 3.938 kB / 321.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-06/0.005672, allocations: 0 / 321.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-06/0.005673, allocations: 0 / 321.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.479e-05/0.005708, allocations: 42.62 kB / 321.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005708, allocations: 0 / 321.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001426/0.005851, allocations: 31.86 kB / 321.7 MB, free: 10.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.006995, allocations: 0.5707 MB / 322.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.532e-05/0.00705, allocations: 20.78 kB / 322.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.007053, allocations: 4 kB / 322.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.688e-06/0.007063, allocations: 8.859 kB / 322.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.007205, allocations: 19.98 kB / 322.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.007406, allocations: 154.5 kB / 322.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.313e-05/0.007439, allocations: 63.34 kB / 322.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.357e-05/0.007472, allocations: 15.73 kB / 322.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.007529, allocations: 67.36 kB / 322.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.00753, allocations: 0 / 322.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of Templates: time 0.003304/0.01083, allocations: 1.824 MB / 324.4 MB, free: 8.418 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.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.951477449387312]