Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.0008308/0.0008308, 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.003343/0.003343, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.9032/0.9032, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2525/0.2525, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 440.8 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.363e-05, allocations: 7.906 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002198/0.002222, allocations: 2.03 MB / 442.9 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.0037, allocations: 1.355 MB / 444.2 MB, free: 324 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.003805, allocations: 3.938 kB / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.004028, allocations: 63.42 kB / 444.3 MB, free: 256 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.004416, allocations: 223 kB / 444.5 MB, free: 32 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1813/0.1857, allocations: 0.6126 MB / 445.1 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.1862, allocations: 370.7 kB / 445.5 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1863, allocations: 39.94 kB / 445.5 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.1866, allocations: 197.8 kB / 445.7 MB, free: 43.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1867, allocations: 191.1 kB / 445.9 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.1868, allocations: 17.41 kB / 445.9 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1869, allocations: 65.91 kB / 446 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.187, allocations: 153.2 kB / 446.1 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.118e-05/0.1871, allocations: 91.06 kB / 446.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.1874, allocations: 407.5 kB / 446.6 MB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1874, allocations: 3.219 kB / 446.6 MB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1874, allocations: 0 / 446.6 MB, free: 43.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1874, allocations: 0 / 446.6 MB, free: 43.69 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006664/0.1881, allocations: 0.7481 MB / 447.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1881, allocations: 11.66 kB / 447.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.1884, allocations: 97.55 kB / 447.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.1888, allocations: 426.1 kB / 447.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1888, allocations: 9.906 kB / 447.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1888, allocations: 10.75 kB / 447.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.1891, allocations: 163 kB / 448.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1891, allocations: 7.422 kB / 448.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1891, allocations: 7.75 kB / 448.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1891, allocations: 3.219 kB / 448.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.1893, allocations: 126.9 kB / 448.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.1898, allocations: 0.6195 MB / 448.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.19, allocations: 129.2 kB / 449 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.1901, allocations: 64.98 kB / 449 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1901, allocations: 3.5 kB / 449 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.1901, allocations: 40.56 kB / 449.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1901, allocations: 0 / 449.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001082/0.1912, allocations: 0.765 MB / 449.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.1912, allocations: 80.05 kB / 449.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.1918, allocations: 0.9033 MB / 450.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1918, allocations: 25.7 kB / 450.9 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.1919, allocations: 273 kB / 451.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1919, allocations: 67.58 kB / 451.2 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.192, allocations: 38.97 kB / 451.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.192, allocations: 379.3 kB / 451.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1921, allocations: 108.3 kB / 451.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1923, allocations: 129.5 kB / 451.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.1926, allocations: 250.8 kB / 452.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1926, allocations: 0 / 452.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003734/0.1929, allocations: 348.2 kB / 452.4 MB, free: 41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.193, allocations: 14.69 kB / 452.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.193, allocations: 5.75 kB / 452.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.193, allocations: 0 / 452.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1931, allocations: 54.83 kB / 452.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.1931, allocations: 3.219 kB / 452.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.1932, allocations: 22.78 kB / 452.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1932, allocations: 3.125 kB / 452.5 MB, free: 40.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0001244/0.1933, allocations: 229.3 kB / 452.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.1934, allocations: 61.05 kB / 452.8 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.1939, allocations: 403.3 kB / 453.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1939, allocations: 0 / 453.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1939, allocations: 3.094 kB / 453.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1939, allocations: 4 kB / 453.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007229/0.1946, allocations: 0.8504 MB / 454 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1946, allocations: 0 / 454 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1947, allocations: 59.14 kB / 454.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1947, allocations: 7 kB / 454.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1947, allocations: 3.406 kB / 454.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1947, allocations: 3.375 kB / 454.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1947, allocations: 384 / 454.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.1951, allocations: 0.517 MB / 454.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1951, allocations: 70.84 kB / 454.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1952, allocations: 7.25 kB / 454.7 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1953, allocations: 16 kB / 454.7 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.1953, allocations: 23.34 kB / 454.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1953, allocations: 3.094 kB / 454.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004025/0.1957, allocations: 0.6636 MB / 455.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1957, allocations: 0 / 455.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.196, allocations: 69.59 kB / 455.5 MB, free: 39.6 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 (20): * Single equations (assignments): 20 * 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.0007294/0.1967, allocations: 437 kB / 455.9 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003881/0.1971, allocations: 256.7 kB / 456.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1971, allocations: 0 / 456.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.1973, allocations: 141.5 kB / 456.3 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.1977, allocations: 85.77 kB / 456.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009251/0.1986, allocations: 1.029 MB / 457.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.1988, allocations: 279.5 kB / 457.7 MB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.1989, allocations: 48.75 kB / 457.7 MB, free: 38.71 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1989, allocations: 0 / 457.7 MB, free: 38.71 MB / 410.7 MB Notification: Performance of Templates: time 0.005849/0.2047, allocations: 6.581 MB / 464.3 MB, free: 37.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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: 5.175823823548853]