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.001028/0.001028, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001038/0.001038, allocations: 165.4 kB / 25.61 MB, free: 8.582 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 0.9651/0.9651, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.119/0.119, allocations: 29.43 MB / 292 MB, free: 2.625 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 2.034e-06/2.034e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.171e-05, allocations: 2.312 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002694/0.002715, allocations: 1.546 MB / 372.4 MB, free: 30.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008472/0.003563, allocations: 478.7 kB / 372.9 MB, free: 30.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.003627, allocations: 0 / 372.9 MB, free: 30.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.003876, allocations: 23.78 kB / 372.9 MB, free: 30.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.004169, allocations: 83.56 kB / 373 MB, free: 30.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.004418, allocations: 79.7 kB / 373.1 MB, free: 30.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.004568, allocations: 75.77 kB / 373.1 MB, free: 30.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.004616, allocations: 4.172 kB / 373.1 MB, free: 30.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.004768, allocations: 47.61 kB / 373.2 MB, free: 30.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.004841, allocations: 23.91 kB / 373.2 MB, free: 30 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.004857, allocations: 4 kB / 373.2 MB, free: 30 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.005014, allocations: 91.77 kB / 373.3 MB, free: 29.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.00507, allocations: 19.97 kB / 373.3 MB, free: 29.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.005097, allocations: 15.92 kB / 373.3 MB, free: 29.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.005336, allocations: 139.5 kB / 373.5 MB, free: 29.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005338, allocations: 0 / 373.5 MB, free: 29.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005339, allocations: 4 kB / 373.5 MB, free: 29.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005343, allocations: 0 / 373.5 MB, free: 29.73 MB / 314.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.0003654/0.005708, allocations: 427.9 kB / 373.9 MB, free: 29.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.005745, allocations: 12.03 kB / 373.9 MB, free: 29.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.005789, allocations: 12.89 kB / 373.9 MB, free: 29.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.005939, allocations: 136.5 kB / 374 MB, free: 29.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.00595, allocations: 384 / 374 MB, free: 29.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.005961, allocations: 4.375 kB / 374.1 MB, free: 29.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.006064, allocations: 87.31 kB / 374.1 MB, free: 28.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.006075, allocations: 4.172 kB / 374.1 MB, free: 28.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.006084, allocations: 7.875 kB / 374.2 MB, free: 28.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.006089, allocations: 4 kB / 374.2 MB, free: 28.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.006124, allocations: 15.92 kB / 374.2 MB, free: 28.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.006371, allocations: 252.4 kB / 374.4 MB, free: 28.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.006446, allocations: 35.05 kB / 374.5 MB, free: 28.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.006465, allocations: 15.69 kB / 374.5 MB, free: 28.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.006485, allocations: 3.938 kB / 374.5 MB, free: 28.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.006505, allocations: 37.39 kB / 374.5 MB, free: 28.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.006506, allocations: 0 / 374.5 MB, free: 28.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001358/0.006642, allocations: 49.64 kB / 374.6 MB, free: 28.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.00667, allocations: 81.11 kB / 374.6 MB, free: 28.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.006795, allocations: 223.9 kB / 374.9 MB, free: 28.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.006802, allocations: 25.7 kB / 374.9 MB, free: 28.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.006844, allocations: 138.9 kB / 375 MB, free: 28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.006865, allocations: 15.88 kB / 375 MB, free: 27.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.006895, allocations: 19.38 kB / 375 MB, free: 27.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.006955, allocations: 0.4923 MB / 375.5 MB, free: 27.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.006966, allocations: 3.938 kB / 375.5 MB, free: 27.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.006994, allocations: 49.08 kB / 375.6 MB, free: 27.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.007022, allocations: 19.67 kB / 375.6 MB, free: 27.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007024, allocations: 0 / 375.6 MB, free: 27.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.273e-05/0.007096, allocations: 49.62 kB / 375.7 MB, free: 27.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.007109, allocations: 8 kB / 375.7 MB, free: 27.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007113, allocations: 0 / 375.7 MB, free: 27.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007126, allocations: 3.984 kB / 375.7 MB, free: 27.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.007174, allocations: 7.938 kB / 375.7 MB, free: 27.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.007177, allocations: 0 / 375.7 MB, free: 27.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.007203, allocations: 7.953 kB / 375.7 MB, free: 27.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.007208, allocations: 0 / 375.7 MB, free: 27.28 MB / 314.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.944e-05/0.007257, allocations: 156.6 kB / 375.8 MB, free: 27.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.00729, allocations: 11.89 kB / 375.9 MB, free: 27.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.279e-05/0.007383, allocations: 58.02 kB / 375.9 MB, free: 27.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007385, allocations: 0 / 375.9 MB, free: 27.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.007387, allocations: 0 / 375.9 MB, free: 27.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.00739, allocations: 384 / 375.9 MB, free: 27.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.007511, allocations: 117.2 kB / 376 MB, free: 26.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007512, allocations: 3.938 kB / 376 MB, free: 26.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.00754, allocations: 4 kB / 376 MB, free: 26.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007542, allocations: 0 / 376 MB, free: 26.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-06/0.007547, allocations: 3.938 kB / 376 MB, free: 26.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007549, allocations: 3.938 kB / 376 MB, free: 26.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.007551, allocations: 3.984 kB / 376 MB, free: 26.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.546e-05/0.007646, allocations: 199.9 kB / 376.2 MB, free: 26.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.007661, allocations: 4 kB / 376.2 MB, free: 26.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.007677, allocations: 7.922 kB / 376.2 MB, free: 26.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.00773, allocations: 0 / 376.2 MB, free: 26.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.007742, allocations: 0 / 376.2 MB, free: 26.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.007747, allocations: 4 kB / 376.3 MB, free: 26.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.954e-05/0.007806, allocations: 153.5 kB / 376.4 MB, free: 26.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007806, allocations: 0 / 376.4 MB, free: 26.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.008102, allocations: 35.83 kB / 376.4 MB, free: 26.46 MB / 314.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.001233/0.009335, allocations: 449.9 kB / 376.9 MB, free: 26.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.598e-05/0.009421, allocations: 23.61 kB / 376.9 MB, free: 26.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.009423, allocations: 0 / 376.9 MB, free: 26.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.406e-05/0.009437, allocations: 19.61 kB / 376.9 MB, free: 26.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.009719, allocations: 23.92 kB / 376.9 MB, free: 26.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.009985, allocations: 155.4 kB / 377.1 MB, free: 25.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.241e-05/0.01002, allocations: 63.34 kB / 377.2 MB, free: 25.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.759e-05/0.01006, allocations: 4 kB / 377.2 MB, free: 25.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.01013, allocations: 94.19 kB / 377.3 MB, free: 25.78 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01013, allocations: 0 / 377.3 MB, free: 25.78 MB / 314.7 MB Notification: Performance of Templates: time 0.004536/0.01467, allocations: 1.844 MB / 379.1 MB, free: 23.95 MB / 314.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.152850352693349]