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.001228/0.001228, 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.001394/0.001394, allocations: 169.9 kB / 24.91 MB, free: 9.199 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.051/1.051, 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.2369/0.2369, allocations: 29.43 MB / 291.2 MB, free: 2.48 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 3.426e-06/3.426e-06, allocations: 0 / 316.8 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.433e-05, allocations: 7.672 kB / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002406/0.00244, allocations: 1.556 MB / 318.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006227/0.003063, allocations: 486.6 kB / 318.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.003115, allocations: 3.938 kB / 318.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.00333, allocations: 31.72 kB / 318.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.003579, allocations: 75.69 kB / 319 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.003766, allocations: 83.69 kB / 319 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.003898, allocations: 71.72 kB / 319.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.003938, allocations: 4.172 kB / 319.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.004065, allocations: 43.83 kB / 319.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.004133, allocations: 23.91 kB / 319.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.004151, allocations: 4 kB / 319.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.004275, allocations: 87.83 kB / 319.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.004331, allocations: 27.91 kB / 319.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.004354, allocations: 15.92 kB / 319.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.004548, allocations: 131.5 kB / 319.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00455, allocations: 0 / 319.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004551, allocations: 0 / 319.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004555, allocations: 0 / 319.4 MB, free: 13.39 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.0003367/0.004892, allocations: 304.2 kB / 319.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.004926, allocations: 11.98 kB / 319.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.004959, allocations: 16.92 kB / 319.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.005097, allocations: 137.6 kB / 319.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.005104, allocations: 384 / 319.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.005115, allocations: 8.375 kB / 319.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.505e-05/0.005211, allocations: 81.61 kB / 320 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.005217, allocations: 192 / 320 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.005225, allocations: 3.938 kB / 320 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.005229, allocations: 0 / 320 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.005249, allocations: 7.984 kB / 320 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.005451, allocations: 171.1 kB / 320.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.005513, allocations: 29.34 kB / 320.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.005528, allocations: 8.859 kB / 320.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.005545, allocations: 4.047 kB / 320.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.005567, allocations: 46.5 kB / 320.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.005568, allocations: 0 / 320.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 9.714e-05/0.005665, allocations: 41.81 kB / 320.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.005701, allocations: 81.11 kB / 320.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.005809, allocations: 155.4 kB / 320.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.00582, allocations: 33.64 kB / 320.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.005854, allocations: 96.11 kB / 320.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.00587, allocations: 15.84 kB / 320.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.005894, allocations: 13.72 kB / 320.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.00597, allocations: 318.8 kB / 321 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-06/0.005978, allocations: 8 kB / 321 MB, free: 11.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.006005, allocations: 39.42 kB / 321 MB, free: 11.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.00603, allocations: 23.66 kB / 321.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006032, allocations: 0 / 321.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.248e-05/0.006084, allocations: 45.62 kB / 321.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.006096, allocations: 7.938 kB / 321.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.006101, allocations: 0 / 321.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.006111, allocations: 0 / 321.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/0.006157, allocations: 7.938 kB / 321.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.00616, allocations: 0 / 321.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.006179, allocations: 4 kB / 321.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.006182, allocations: 4.031 kB / 321.1 MB, free: 11.51 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 5.745e-05/0.00624, allocations: 112.7 kB / 321.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.006255, allocations: 7.938 kB / 321.2 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.922e-05/0.006334, allocations: 50.03 kB / 321.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006336, allocations: 0 / 321.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.006338, allocations: 0 / 321.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006341, allocations: 0 / 321.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.36e-05/0.006434, allocations: 73.88 kB / 321.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.006436, allocations: 4 kB / 321.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.006456, allocations: 15.92 kB / 321.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.006458, allocations: 8 kB / 321.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-06/0.006462, allocations: 0 / 321.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.006465, allocations: 3.938 kB / 321.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006465, allocations: 0 / 321.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.643e-05/0.006532, allocations: 131.5 kB / 321.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.006545, allocations: 7.953 kB / 321.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-06/0.006555, allocations: 3.984 kB / 321.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.006583, allocations: 3.938 kB / 321.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.006594, allocations: 0 / 321.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.006595, allocations: 0 / 321.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.828e-05/0.006633, allocations: 42.47 kB / 321.6 MB, free: 11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.006633, allocations: 4 kB / 321.6 MB, free: 11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000153/0.006786, allocations: 35.86 kB / 321.6 MB, free: 10.96 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.001237/0.008024, allocations: 0.5638 MB / 322.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.303e-05/0.008107, allocations: 12.86 kB / 322.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.008112, allocations: 8 kB / 322.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.566e-06/0.00812, allocations: 12.84 kB / 322.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.00828, allocations: 18.94 kB / 322.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.008524, allocations: 158.5 kB / 322.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.008562, allocations: 67.34 kB / 322.5 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.212e-05/0.008604, allocations: 15.67 kB / 322.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.008664, allocations: 63.36 kB / 322.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.008665, allocations: 0 / 322.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of Templates: time 0.003453/0.01212, allocations: 1.823 MB / 324.4 MB, free: 8.48 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 -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: 3.044123113155365]