Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009696, allocations: 97.09 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 172.6 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 222.7 MB, free: 5.598 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.5094/0.5094, allocations: 43.58 MB / 314.6 MB, free: 8.777 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.0006094/0.0006096, allocations: 12 kB / 384 MB, free: 7.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1785, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002586/0.1812, allocations: 1.31 MB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.183, allocations: 0.9026 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.1831, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.1834, allocations: 19.91 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1836, allocations: 39.84 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.1841, allocations: 131.8 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.1843, allocations: 67.69 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1844, allocations: 19.97 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.966e-05/0.1845, allocations: 19.92 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.1847, allocations: 31.84 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1847, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.1849, allocations: 39.98 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.1849, allocations: 19.92 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.185, allocations: 33.7 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1852, allocations: 76.09 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1852, allocations: 3.938 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1852, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1852, allocations: 0 / 445.5 MB, free: 10.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000613/0.1859, allocations: 379.1 kB / 445.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1859, allocations: 12.02 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.186, allocations: 19.86 kB / 445.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1862, allocations: 183 kB / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1863, allocations: 4 kB / 446.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1863, allocations: 0 / 446.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1865, allocations: 83.31 kB / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1866, allocations: 0 / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1866, allocations: 4 kB / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1866, allocations: 4 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1868, allocations: 51.91 kB / 446.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.1873, allocations: 300.9 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1874, allocations: 50.5 kB / 446.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.1875, allocations: 32.92 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1876, allocations: 4 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.1876, allocations: 34.56 kB / 446.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1876, allocations: 3.938 kB / 446.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008438/0.1885, allocations: 269.1 kB / 446.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.1885, allocations: 77.11 kB / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1887, allocations: 133.8 kB / 447.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1887, allocations: 25.7 kB / 447.2 MB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.1888, allocations: 92.05 kB / 447.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1888, allocations: 31.7 kB / 447.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.1888, allocations: 0 / 447.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.189, allocations: 318.8 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1891, allocations: 51.95 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1892, allocations: 57.69 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1894, allocations: 48 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1894, allocations: 0 / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002896/0.1897, allocations: 145.5 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1897, allocations: 7.953 kB / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1897, allocations: 0 / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1897, allocations: 0 / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1899, allocations: 23.98 kB / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1899, allocations: 4 kB / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.19, allocations: 23.92 kB / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.19, allocations: 4 kB / 447.9 MB, free: 7.621 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001054/0.1901, allocations: 113.8 kB / 448.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1901, allocations: 7.906 kB / 448.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.1905, allocations: 161.9 kB / 448.2 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1905, allocations: 0 / 448.2 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1905, allocations: 0 / 448.2 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1905, allocations: 0 / 448.2 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.1911, allocations: 426.4 kB / 448.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1911, allocations: 7.953 kB / 448.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/0.1912, allocations: 23.98 kB / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1912, allocations: 0 / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1913, allocations: 0 / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1913, allocations: 0 / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1913, allocations: 0 / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.1916, allocations: 239.8 kB / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.1917, allocations: 93.25 kB / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1917, allocations: 0 / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.1918, allocations: 15.98 kB / 449 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.1919, allocations: 15.91 kB / 449 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.1919, allocations: 8 kB / 449 MB, free: 6.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.192, allocations: 103.1 kB / 449.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.192, allocations: 0 / 449.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1923, allocations: 31.92 kB / 449.2 MB, free: 6.301 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 (7): * Single equations (assignments): 7 * 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.001118/0.1934, allocations: 445.9 kB / 449.6 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.1937, allocations: 107.9 kB / 449.7 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1937, allocations: 0 / 449.7 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1939, allocations: 59.89 kB / 449.8 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1942, allocations: 19.59 kB / 449.8 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.1947, allocations: 217.2 kB / 450 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.1951, allocations: 0.6965 MB / 450.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1952, allocations: 19.98 kB / 450.7 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.1953, allocations: 19.42 kB / 450.7 MB, free: 4.711 MB / 382.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1953, allocations: 0 / 450.7 MB, free: 4.711 MB / 382.1 MB Notification: Performance of Templates: time 0.004671/0.2, allocations: 1.416 MB / 452.1 MB, free: 3.293 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches