Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005973/0.005973, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3871/0.3871, allocations: 43.49 MB / 313.5 MB, free: 8.562 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.91 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.179, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.003846/0.1829, allocations: 1.674 MB / 441.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.184, allocations: 0.6604 MB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.1841, allocations: 4 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1844, allocations: 23.92 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.1847, allocations: 39.88 kB / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.609e-06/0.1847, allocations: 4 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1849, allocations: 43.83 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.1849, allocations: 4 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.1849, allocations: 11.98 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.185, allocations: 27.8 kB / 442.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.185, allocations: 4 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.1851, allocations: 4 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.1852, allocations: 15.98 kB / 442.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.1852, allocations: 27.8 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1854, allocations: 60.03 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.1854, allocations: 7.922 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1854, allocations: 0 / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1854, allocations: 0 / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004877/0.1859, allocations: 371.3 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.186, allocations: 8.031 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.186, allocations: 12.84 kB / 442.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1862, allocations: 172.2 kB / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1862, allocations: 4.375 kB / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.1862, allocations: 384 / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.1865, allocations: 123.4 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1865, allocations: 12.11 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.1865, allocations: 7.938 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.1866, allocations: 19.98 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.479e-05/0.1867, allocations: 39.92 kB / 443.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/0.1874, allocations: 0.8906 MB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.673e-05/0.1875, allocations: 169.1 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.1875, allocations: 84.14 kB / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.1876, allocations: 91.19 kB / 444.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/0.1877, allocations: 113.8 kB / 444.5 MB, free: 9.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1877, allocations: 0 / 444.5 MB, free: 9.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.304e-05/0.1878, allocations: 37.59 kB / 444.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.1878, allocations: 126.7 kB / 444.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.188, allocations: 182.1 kB / 444.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1881, allocations: 25.7 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.1882, allocations: 147.1 kB / 445 MB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.695e-06/0.1882, allocations: 11.98 kB / 445 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.1882, allocations: 33.72 kB / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1884, allocations: 322.8 kB / 445.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.1884, allocations: 39.92 kB / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1885, allocations: 153.1 kB / 445.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1887, allocations: 200.9 kB / 445.8 MB, free: 8.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.1888, allocations: 4 kB / 445.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000337/0.1891, allocations: 201.5 kB / 446 MB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.1891, allocations: 4 kB / 446 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.1892, allocations: 11.94 kB / 446 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.1892, allocations: 4 kB / 446 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1893, allocations: 35.92 kB / 446 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.1893, allocations: 15.92 kB / 446 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.1894, allocations: 27.69 kB / 446.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.1895, allocations: 8 kB / 446.1 MB, free: 8.164 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001307/0.1896, allocations: 217.1 kB / 446.3 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.1897, allocations: 116.8 kB / 446.4 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.653e-05/0.1898, allocations: 112.9 kB / 446.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-05/0.1898, allocations: 180.2 kB / 446.7 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.89e-05/0.1899, allocations: 180.2 kB / 446.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.261e-05/0.19, allocations: 188.2 kB / 447.1 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.1903, allocations: 425.2 kB / 447.5 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-05/0.1904, allocations: 104.9 kB / 447.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.1904, allocations: 104.9 kB / 447.7 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.027e-05/0.1905, allocations: 180.3 kB / 447.9 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.1906, allocations: 184.2 kB / 448 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-05/0.1907, allocations: 180.3 kB / 448.2 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.744e-05/0.1908, allocations: 180.2 kB / 448.4 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.191, allocations: 311.7 kB / 448.7 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.1912, allocations: 189.9 kB / 448.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.1913, allocations: 188.2 kB / 449.1 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.1914, allocations: 105 kB / 449.2 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.1915, allocations: 180.2 kB / 449.3 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.1915, allocations: 105 kB / 449.4 MB, free: 4.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1916, allocations: 140 kB / 449.6 MB, free: 4.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1916, allocations: 0 / 449.6 MB, free: 4.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.192, allocations: 16 kB / 449.6 MB, free: 4.43 MB / 382.1 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 (0): * Single equations (assignments): 0 * 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.0005308/0.1925, allocations: 287.3 kB / 449.9 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1927, allocations: 75.78 kB / 449.9 MB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1927, allocations: 3.938 kB / 449.9 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.1927, allocations: 5.188 kB / 450 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.1932, allocations: 0.5302 MB / 450.5 MB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.1936, allocations: 271 kB / 450.7 MB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.194, allocations: 0.7009 MB / 451.4 MB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.1942, allocations: 45.02 kB / 451.5 MB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.1943, allocations: 23.42 kB / 451.5 MB, free: 2.461 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1943, allocations: 0 / 451.5 MB, free: 2.461 MB / 382.1 MB Notification: Performance of Templates: time 0.003338/0.1976, allocations: 0.6526 MB / 452.2 MB, free: 1.809 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches