Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.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.0007995/0.0007995, 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.003435/0.003435, allocations: 160.5 kB / 24.7 MB, free: 9.43 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.8523/0.8523, allocations: 177.2 MB / 205 MB, free: 5.719 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.2742/0.2742, allocations: 34.25 MB / 295.7 MB, free: 0.6875 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.CombiTable2Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.652e-05, allocations: 2.281 kB / 443.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.185/0.185, allocations: 1.651 MB / 445.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1862, allocations: 1.245 MB / 446.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.1863, allocations: 2.781 kB / 446.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1865, allocations: 24.89 kB / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1867, allocations: 94.28 kB / 446.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.1869, allocations: 130.2 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1871, allocations: 69.38 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1872, allocations: 17.25 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.1872, allocations: 41.45 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.562e-05/0.1873, allocations: 27.36 kB / 446.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1873, allocations: 6.031 kB / 446.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1874, allocations: 94.91 kB / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.1875, allocations: 22.55 kB / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.1875, allocations: 20.92 kB / 446.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.1877, allocations: 145.9 kB / 447 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1877, allocations: 3.938 kB / 447.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1877, allocations: 3.562 kB / 447.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1877, allocations: 0 / 447.1 MB, free: 42.88 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.0003454/0.188, allocations: 342.7 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1881, allocations: 8.875 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1881, allocations: 11.23 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1882, allocations: 132.5 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1882, allocations: 3.188 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1883, allocations: 7.281 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1884, allocations: 99.92 kB / 447.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1884, allocations: 192 / 447.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1884, allocations: 6.719 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1884, allocations: 0 / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.737e-05/0.1885, allocations: 36.03 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.1887, allocations: 233 kB / 447.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/0.1888, allocations: 45.77 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.1888, allocations: 27.48 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1888, allocations: 2.438 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.1889, allocations: 33.12 kB / 448 MB, free: 42.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1889, allocations: 0 / 448 MB, free: 42.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005218/0.1894, allocations: 217.4 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1894, allocations: 79.77 kB / 448.3 MB, free: 41.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1895, allocations: 146.7 kB / 448.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.1895, allocations: 25.7 kB / 448.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.1896, allocations: 100.7 kB / 448.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1896, allocations: 18.42 kB / 448.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.1896, allocations: 22.31 kB / 448.6 MB, free: 41.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.1897, allocations: 325 kB / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.1897, allocations: 35.41 kB / 449 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.387e-05/0.1898, allocations: 75.92 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1899, allocations: 69.56 kB / 449.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1899, allocations: 0 / 449.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001452/0.19, allocations: 118.2 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.19, allocations: 5.281 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.19, allocations: 3.375 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1901, allocations: 0 / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.735e-05/0.1901, allocations: 23.28 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1901, allocations: 0 / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.1902, allocations: 11.36 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.1902, allocations: 0 / 449.3 MB, free: 41.09 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 (7): * Single equations (assignments): 7 * 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.39e-05/0.1902, allocations: 127.8 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.1902, allocations: 13.28 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.1904, allocations: 121.8 kB / 449.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1904, allocations: 0 / 449.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1904, allocations: 2.812 kB / 449.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1904, allocations: 0 / 449.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.1907, allocations: 340.7 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1907, allocations: 6.219 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.1907, allocations: 17.81 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1907, allocations: 1.25 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1907, allocations: 0 / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1907, allocations: 0 / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1907, allocations: 2.844 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.1909, allocations: 222.2 kB / 450.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.1909, allocations: 6.797 kB / 450.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.1909, allocations: 0 / 450.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.1909, allocations: 8.859 kB / 450.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.191, allocations: 10.16 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.191, allocations: 6.062 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.752e-05/0.191, allocations: 111 kB / 450.2 MB, free: 40.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.191, allocations: 0 / 450.2 MB, free: 40.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.1912, allocations: 45.28 kB / 450.3 MB, free: 40.35 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 (7): * Single equations (assignments): 7 * 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.0007977/0.192, allocations: 0.5365 MB / 450.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1922, allocations: 83.22 kB / 450.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1922, allocations: 0 / 450.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.497e-05/0.1923, allocations: 38.2 kB / 450.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1925, allocations: 16.02 kB / 451 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.1928, allocations: 221.4 kB / 451.2 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.1929, allocations: 85.56 kB / 451.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.1929, allocations: 20.16 kB / 451.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1929, allocations: 0 / 451.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of Templates: time 0.002887/0.1958, allocations: 2.139 MB / 453.4 MB, free: 39.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.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.880273191258311]