Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.0008482/0.0008482, 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.00328/0.00328, allocations: 162.4 kB / 24.7 MB, free: 8.906 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.9061/0.9061, allocations: 177.1 MB / 205 MB, free: 5.707 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.2429/0.2429, allocations: 32.8 MB / 294.2 MB, free: 1.207 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.051e-05, allocations: 6.219 kB / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002566/0.002597, allocations: 1.968 MB / 442.8 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.004233, allocations: 1.308 MB / 444.1 MB, free: 456 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.004375, allocations: 7.938 kB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.004632, allocations: 67.38 kB / 444.2 MB, free: 380 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000465/0.005097, allocations: 207.1 kB / 444.4 MB, free: 172 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1774/0.1825, allocations: 0.5948 MB / 445 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.1829, allocations: 335.8 kB / 445.3 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1831, allocations: 48.36 kB / 445.4 MB, free: 43.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.1834, allocations: 172.2 kB / 445.5 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1835, allocations: 180 kB / 445.7 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1836, allocations: 14.78 kB / 445.7 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.1837, allocations: 68.95 kB / 445.8 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1838, allocations: 148.1 kB / 445.9 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.1839, allocations: 87.53 kB / 446 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.1842, allocations: 378.8 kB / 446.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1842, allocations: 0 / 446.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1842, allocations: 0 / 446.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1842, allocations: 0 / 446.4 MB, free: 43.68 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.0006021/0.1848, allocations: 0.7178 MB / 447.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1848, allocations: 11.72 kB / 447.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.185, allocations: 76.77 kB / 447.2 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.1855, allocations: 410.1 kB / 447.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1855, allocations: 5.656 kB / 447.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.1855, allocations: 12.41 kB / 447.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1857, allocations: 145.7 kB / 447.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1857, allocations: 0 / 447.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1857, allocations: 9.062 kB / 447.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1857, allocations: 5.969 kB / 447.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1859, allocations: 104 kB / 447.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.1864, allocations: 0.5959 MB / 448.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1865, allocations: 114.9 kB / 448.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1866, allocations: 46.7 kB / 448.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1866, allocations: 2.906 kB / 448.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.1866, allocations: 36.92 kB / 448.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1866, allocations: 0 / 448.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008026/0.1874, allocations: 0.5567 MB / 449.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.1874, allocations: 77.11 kB / 449.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005429/0.188, allocations: 0.8786 MB / 450.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.188, allocations: 28.98 kB / 450.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1881, allocations: 257.5 kB / 450.5 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1881, allocations: 59.06 kB / 450.5 MB, free: 41.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.1882, allocations: 36.08 kB / 450.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.1882, allocations: 372 kB / 450.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.885e-05/0.1883, allocations: 59.44 kB / 451 MB, free: 41.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.1884, allocations: 90.47 kB / 451.1 MB, free: 41.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1886, allocations: 151.2 kB / 451.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1886, allocations: 1.812 kB / 451.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002704/0.1889, allocations: 244.4 kB / 451.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1889, allocations: 9.781 kB / 451.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1889, allocations: 0 / 451.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1889, allocations: 7.125 kB / 451.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.189, allocations: 38.98 kB / 451.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.189, allocations: 6.531 kB / 451.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.1891, allocations: 12.81 kB / 451.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1891, allocations: 5.25 kB / 451.5 MB, free: 41.25 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 (16): * Single equations (assignments): 16 * 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.0001147/0.1892, allocations: 211.3 kB / 451.7 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.1893, allocations: 60.83 kB / 451.8 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.1896, allocations: 303.2 kB / 452.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1896, allocations: 2.875 kB / 452.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1896, allocations: 0 / 452.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1896, allocations: 0 / 452.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.1902, allocations: 0.7167 MB / 452.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1902, allocations: 0 / 452.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.011e-05/0.1903, allocations: 38.66 kB / 452.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1903, allocations: 0 / 452.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1903, allocations: 3.25 kB / 452.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1903, allocations: 6.516 kB / 452.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1903, allocations: 4.969 kB / 452.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.1906, allocations: 416.1 kB / 453.3 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.1906, allocations: 66.36 kB / 453.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.1907, allocations: 0 / 453.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.1908, allocations: 13.83 kB / 453.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.1908, allocations: 13.56 kB / 453.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1908, allocations: 6.688 kB / 453.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003708/0.1912, allocations: 0.6437 MB / 454 MB, free: 40 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1912, allocations: 0 / 454 MB, free: 40 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.1914, allocations: 54.06 kB / 454.1 MB, free: 39.99 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 (16): * Single equations (assignments): 16 * 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.0007054/0.1921, allocations: 441 kB / 454.5 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.1924, allocations: 159.2 kB / 454.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1924, allocations: 0 / 454.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.522e-05/0.1925, allocations: 83.81 kB / 454.7 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1928, allocations: 85.83 kB / 454.8 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008242/0.1937, allocations: 0.9608 MB / 455.8 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.1938, allocations: 262.8 kB / 456 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.1939, allocations: 47.91 kB / 456.1 MB, free: 39.17 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1939, allocations: 3.188 kB / 456.1 MB, free: 39.17 MB / 410.7 MB Notification: Performance of Templates: time 0.00543/0.1993, allocations: 5.965 MB / 462.1 MB, free: 38.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.396126750856638]