Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 99.56 kB / 16.98 MB, free: 5.938 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.001386/0.001386, allocations: 188.4 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 241.8 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 44.23 MB / 337.1 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005153/0.0005155, allocations: 16 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1807, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002055/0.1828, allocations: 1.259 MB / 472.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.1836, allocations: 351.6 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.259e-05/0.1837, allocations: 0 / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1839, allocations: 19.86 kB / 473.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.1841, allocations: 27.91 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1845, allocations: 79.41 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1846, allocations: 43.89 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1848, allocations: 11.98 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.1848, allocations: 19.92 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.1849, allocations: 11.92 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.1849, allocations: 0 / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.185, allocations: 23.94 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.1851, allocations: 3.984 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.1851, allocations: 37.64 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1853, allocations: 51.86 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1853, allocations: 8 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1853, allocations: 0 / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1853, allocations: 0 / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005479/0.1859, allocations: 363.4 kB / 473.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.186, allocations: 12.5 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.186, allocations: 11.91 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1863, allocations: 183 kB / 473.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1863, allocations: 0 / 473.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1864, allocations: 11.95 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1865, allocations: 49.62 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1865, allocations: 0 / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1866, allocations: 4 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1866, allocations: 0 / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1867, allocations: 27.97 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1871, allocations: 272.8 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.1874, allocations: 50.48 kB / 474.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1874, allocations: 4 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1875, allocations: 30.56 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.826e-06/0.1875, allocations: 4 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006122/0.1881, allocations: 157.6 kB / 474.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.1881, allocations: 55.41 kB / 474.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1883, allocations: 141.3 kB / 474.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1883, allocations: 29.7 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.1884, allocations: 96.03 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1884, allocations: 15.81 kB / 474.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.1884, allocations: 0 / 474.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1886, allocations: 322.8 kB / 475.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1887, allocations: 23.98 kB / 475.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/0.1888, allocations: 23.98 kB / 475.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.992e-05/0.1888, allocations: 16 kB / 475.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1889, allocations: 0 / 475.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.1891, allocations: 101.5 kB / 475.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1891, allocations: 4 kB / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1891, allocations: 0 / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1891, allocations: 0 / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.1892, allocations: 15.98 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1892, allocations: 0 / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.1893, allocations: 8 kB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1893, allocations: 4 kB / 475.4 MB, free: 9.574 MB / 350.1 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.1894, allocations: 121.7 kB / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1895, allocations: 7.906 kB / 475.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.1897, allocations: 101.9 kB / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1897, allocations: 4.312 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1897, allocations: 4 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1897, allocations: 0 / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.1902, allocations: 350.5 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1902, allocations: 3.938 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.1903, allocations: 16 kB / 476 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1903, allocations: 3.984 kB / 476 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1903, allocations: 0 / 476 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.1903, allocations: 7.938 kB / 476 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1903, allocations: 0 / 476 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1906, allocations: 183.4 kB / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.1906, allocations: 93 kB / 476.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1907, allocations: 3.938 kB / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.1907, allocations: 4 kB / 476.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.1908, allocations: 7.984 kB / 476.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1908, allocations: 0 / 476.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.214e-05/0.1909, allocations: 107.3 kB / 476.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1909, allocations: 4 kB / 476.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1911, allocations: 20 kB / 476.4 MB, free: 8.445 MB / 350.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009304/0.1921, allocations: 398.5 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1923, allocations: 55.91 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1923, allocations: 4 kB / 476.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.583e-05/0.1924, allocations: 27.98 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1927, allocations: 17.97 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.1931, allocations: 180.6 kB / 477.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1934, allocations: 0.7004 MB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.287e-05/0.1935, allocations: 7.984 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.1935, allocations: 11.44 kB / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1935, allocations: 0 / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of Templates: time 0.003471/0.197, allocations: 1.006 MB / 478.8 MB, free: 6.156 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches