Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008193/0.0008193, allocations: 88.28 kB / 21.44 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003132/0.003132, allocations: 158.3 kB / 24.7 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.84/0.84, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2353/0.2353, allocations: 34.24 MB / 295.6 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 443.5 MB, free: 1.012 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.37e-05, allocations: 6.219 kB / 443.5 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.1851/0.1852, allocations: 1.657 MB / 445.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008207/0.186, allocations: 0.5491 MB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.186, allocations: 0 / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.1865, allocations: 455.4 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.1868, allocations: 296.7 kB / 446.4 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.187, allocations: 132.2 kB / 446.5 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1872, allocations: 178.3 kB / 446.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1873, allocations: 9.844 kB / 446.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.632e-05/0.1874, allocations: 123.9 kB / 446.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1876, allocations: 236.6 kB / 447.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1876, allocations: 2.875 kB / 447.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.1877, allocations: 61.48 kB / 447.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.1878, allocations: 79.66 kB / 447.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.1878, allocations: 48.91 kB / 447.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.188, allocations: 245.1 kB / 447.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.188, allocations: 4 kB / 447.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1881, allocations: 0 / 447.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1881, allocations: 2.812 kB / 447.5 MB, free: 43.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004798/0.1885, allocations: 0.58 MB / 448.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1886, allocations: 8.562 kB / 448.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.1886, allocations: 41.84 kB / 448.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.1888, allocations: 250.4 kB / 448.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.1888, allocations: 7.219 kB / 448.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.1888, allocations: 9.812 kB / 448.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.189, allocations: 54.78 kB / 448.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.189, allocations: 4.188 kB / 448.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.189, allocations: 384 / 448.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.189, allocations: 3.219 kB / 448.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.1891, allocations: 39.28 kB / 448.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.1894, allocations: 328.8 kB / 448.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.1895, allocations: 41.25 kB / 448.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.1895, allocations: 21.62 kB / 448.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1895, allocations: 4.5 kB / 448.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.1896, allocations: 30.56 kB / 448.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.1896, allocations: 4 kB / 448.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006745/0.1902, allocations: 313.5 kB / 449.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.1903, allocations: 57.64 kB / 449.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.1907, allocations: 0.8554 MB / 450.1 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.1907, allocations: 25.7 kB / 450.2 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.1908, allocations: 225.5 kB / 450.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.1908, allocations: 22.91 kB / 450.4 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.1908, allocations: 22.94 kB / 450.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.1909, allocations: 366 kB / 450.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.1909, allocations: 21.27 kB / 450.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-05/0.191, allocations: 28.84 kB / 450.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.191, allocations: 65.72 kB / 450.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1911, allocations: 0 / 450.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001165/0.1912, allocations: 135.9 kB / 451 MB, free: 40.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1912, allocations: 5.688 kB / 451 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1912, allocations: 3.938 kB / 451 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1912, allocations: 0 / 451 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.675e-05/0.1913, allocations: 20.39 kB / 451.1 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1913, allocations: 0 / 451.1 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.1913, allocations: 6.781 kB / 451.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1913, allocations: 5.5 kB / 451.1 MB, free: 40.75 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 (8): * Single equations (assignments): 8 * 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 0.0001041/0.1914, allocations: 227.2 kB / 451.3 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.1914, allocations: 44.81 kB / 451.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.1916, allocations: 162.9 kB / 451.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1916, allocations: 3.938 kB / 451.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1916, allocations: 0 / 451.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1916, allocations: 0 / 451.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.1919, allocations: 457.6 kB / 451.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1919, allocations: 0 / 451.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.192, allocations: 17.88 kB / 452 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.192, allocations: 3.938 kB / 452 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.192, allocations: 3 kB / 452 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.192, allocations: 0 / 452 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.192, allocations: 0 / 452 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.1921, allocations: 236.5 kB / 452.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.1921, allocations: 34.91 kB / 452.2 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1921, allocations: 8.031 kB / 452.2 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.1922, allocations: 9.094 kB / 452.2 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.1922, allocations: 10.14 kB / 452.3 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1922, allocations: 2.875 kB / 452.3 MB, free: 39.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002984/0.1925, allocations: 0.6514 MB / 452.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1925, allocations: 0 / 452.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.1927, allocations: 33.44 kB / 452.9 MB, free: 39.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0006986/0.1934, allocations: 485.1 kB / 453.4 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1935, allocations: 62.89 kB / 453.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1935, allocations: 0 / 453.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.1935, allocations: 31.27 kB / 453.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1938, allocations: 31.86 kB / 453.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.1945, allocations: 0.8649 MB / 454.4 MB, free: 39.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.1946, allocations: 213.6 kB / 454.6 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1946, allocations: 23.55 kB / 454.6 MB, free: 39 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1946, allocations: 2.844 kB / 454.6 MB, free: 39 MB / 410.7 MB Notification: Performance of Templates: time 0.00373/0.1984, allocations: 4.108 MB / 458.7 MB, free: 38.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.88300842512399]