Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.000915/0.000915, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00386/0.00386, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8974/0.8974, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2533/0.2533, allocations: 34.26 MB / 295.7 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.327e-05, allocations: 2.281 kB / 443.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.1827/0.1827, allocations: 1.64 MB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007237/0.1834, allocations: 0.5728 MB / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.1835, allocations: 0 / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1838, allocations: 455 kB / 446.1 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.1841, allocations: 293.9 kB / 446.4 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1843, allocations: 179 kB / 446.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.1845, allocations: 182.3 kB / 446.8 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.1846, allocations: 9.562 kB / 446.8 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.1847, allocations: 121.5 kB / 446.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1848, allocations: 242.7 kB / 447.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1848, allocations: 3.188 kB / 447.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.835e-05/0.1849, allocations: 34.81 kB / 447.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.1849, allocations: 89.98 kB / 447.2 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.185, allocations: 41.75 kB / 447.3 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1851, allocations: 241.6 kB / 447.5 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1851, allocations: 0 / 447.5 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1851, allocations: 0 / 447.5 MB, free: 43.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.1851, allocations: 2.875 kB / 447.5 MB, free: 43.26 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003778/0.1855, allocations: 0.5712 MB / 448.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1856, allocations: 8.656 kB / 448.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.1856, allocations: 44.94 kB / 448.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1857, allocations: 246.5 kB / 448.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1857, allocations: 4.375 kB / 448.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1858, allocations: 10.72 kB / 448.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.513e-05/0.1859, allocations: 52.91 kB / 448.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1859, allocations: 192 / 448.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1859, allocations: 8.125 kB / 448.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1859, allocations: 0 / 448.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.483e-05/0.1859, allocations: 27.59 kB / 448.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.1862, allocations: 330.7 kB / 448.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1863, allocations: 53 kB / 448.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.1863, allocations: 26.59 kB / 448.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1864, allocations: 2.719 kB / 448.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-06/0.1864, allocations: 30.56 kB / 448.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.21e-07/0.1864, allocations: 0 / 448.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003332/0.1867, allocations: 248.9 kB / 449.2 MB, free: 42.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.1867, allocations: 51.41 kB / 449.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.1871, allocations: 0.8629 MB / 450.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.1871, allocations: 32.58 kB / 450.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.1872, allocations: 209.7 kB / 450.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.1872, allocations: 19.8 kB / 450.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.1872, allocations: 18.84 kB / 450.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.1873, allocations: 361.2 kB / 450.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.1873, allocations: 18.38 kB / 450.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.1874, allocations: 24.47 kB / 450.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.344e-05/0.1874, allocations: 64.28 kB / 450.8 MB, free: 41.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1874, allocations: 4 kB / 450.8 MB, free: 41.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000102/0.1875, allocations: 123.2 kB / 450.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1875, allocations: 7.188 kB / 450.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1875, allocations: 0 / 450.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1875, allocations: 2.875 kB / 450.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.65e-05/0.1876, allocations: 11.98 kB / 451 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1876, allocations: 0 / 451 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.1876, allocations: 2.875 kB / 451 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1876, allocations: 10 kB / 451 MB, free: 40.95 MB / 410.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 (5): * Single equations (assignments): 5 * 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 9.841e-05/0.1877, allocations: 220.7 kB / 451.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1877, allocations: 40.94 kB / 451.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.1879, allocations: 141.9 kB / 451.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1879, allocations: 2.875 kB / 451.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1879, allocations: 0 / 451.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1879, allocations: 3.188 kB / 451.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.1881, allocations: 414.3 kB / 451.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.1881, allocations: 2.719 kB / 451.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.1882, allocations: 16.02 kB / 451.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.1882, allocations: 0 / 451.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1882, allocations: 2.844 kB / 451.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.1882, allocations: 0 / 451.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1882, allocations: 3.938 kB / 451.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1883, allocations: 223 kB / 452 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.1883, allocations: 35.31 kB / 452.1 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1883, allocations: 4 kB / 452.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.1883, allocations: 6.094 kB / 452.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.1884, allocations: 10.72 kB / 452.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1884, allocations: 7.188 kB / 452.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003052/0.1887, allocations: 0.6486 MB / 452.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1887, allocations: 2.906 kB / 452.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.1888, allocations: 21.41 kB / 452.8 MB, free: 39.96 MB / 410.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 (5): * Single equations (assignments): 5 * 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.0006095/0.1894, allocations: 430.8 kB / 453.2 MB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.1895, allocations: 53.81 kB / 453.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.1896, allocations: 0 / 453.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.1896, allocations: 35.39 kB / 453.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1898, allocations: 22.34 kB / 453.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000624/0.1905, allocations: 0.8406 MB / 454.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.1906, allocations: 216.3 kB / 454.3 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.1906, allocations: 21.14 kB / 454.4 MB, free: 39.29 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1906, allocations: 3.938 kB / 454.4 MB, free: 39.29 MB / 410.7 MB Notification: Performance of Templates: time 0.003445/0.194, allocations: 3.927 MB / 458.3 MB, free: 38.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5615735072642565]