Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009731/0.0009731, allocations: 177.2 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007802/0.0007805, allocations: 90.53 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4797/0.4797, allocations: 43.56 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 12 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.174, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003542/0.1776, allocations: 1.297 MB / 491.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1789, allocations: 319.9 kB / 491.8 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.179, allocations: 7.938 kB / 491.9 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009808/0.18, allocations: 443.2 kB / 492.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.1806, allocations: 235.5 kB / 492.5 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.1814, allocations: 143.7 kB / 492.7 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.1818, allocations: 131.7 kB / 492.8 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.182, allocations: 16.17 kB / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.1822, allocations: 107.8 kB / 492.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.1826, allocations: 167.7 kB / 493.1 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.1827, allocations: 0 / 493.1 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.1828, allocations: 20 kB / 493.1 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.183, allocations: 91.67 kB / 493.2 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.1831, allocations: 65.52 kB / 493.2 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.1835, allocations: 179.8 kB / 493.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1835, allocations: 3.938 kB / 493.4 MB, free: 7.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1835, allocations: 0 / 493.4 MB, free: 7.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1836, allocations: 3.938 kB / 493.4 MB, free: 7.781 MB / 378.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.001154/0.1847, allocations: 0.5989 MB / 494 MB, free: 7.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.1848, allocations: 12.02 kB / 494 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1849, allocations: 43.48 kB / 494.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.1854, allocations: 275.3 kB / 494.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1854, allocations: 8 kB / 494.4 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.1855, allocations: 0 / 494.4 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.1858, allocations: 53.69 kB / 494.4 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1858, allocations: 0 / 494.4 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1858, allocations: 0 / 494.4 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1858, allocations: 0 / 494.4 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.1861, allocations: 47.86 kB / 494.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.1869, allocations: 388.8 kB / 494.8 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.1872, allocations: 46.5 kB / 494.9 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1873, allocations: 20.94 kB / 494.9 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.1874, allocations: 4 kB / 494.9 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.1874, allocations: 38.52 kB / 494.9 MB, free: 6.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 5.66e-06/0.1875, allocations: 3.984 kB / 494.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001212/0.1887, allocations: 256 kB / 495.2 MB, free: 5.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.1888, allocations: 55.39 kB / 495.3 MB, free: 5.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.1904, allocations: 0.8613 MB / 496.1 MB, free: 4.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1904, allocations: 25.7 kB / 496.1 MB, free: 4.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.1907, allocations: 224 kB / 496.4 MB, free: 4.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1908, allocations: 11.75 kB / 496.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.1908, allocations: 8 kB / 496.4 MB, free: 4.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002629/0.1911, allocations: 362.8 kB / 496.7 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1912, allocations: 19.98 kB / 496.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1914, allocations: 27.98 kB / 496.8 MB, free: 4.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.1916, allocations: 31.98 kB / 496.8 MB, free: 4.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1916, allocations: 0 / 496.8 MB, free: 4.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000434/0.192, allocations: 133 kB / 496.9 MB, free: 4.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.1921, allocations: 7.953 kB / 496.9 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1921, allocations: 3.984 kB / 497 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1921, allocations: 0 / 497 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1923, allocations: 19.98 kB / 497 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1923, allocations: 0 / 497 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1924, allocations: 8 kB / 497 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1924, allocations: 0 / 497 MB, free: 4.008 MB / 378.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 (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.0003343/0.1928, allocations: 213.8 kB / 497.2 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.1929, allocations: 39.53 kB / 497.2 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005555/0.1935, allocations: 156.9 kB / 497.4 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1935, allocations: 0 / 497.4 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1935, allocations: 3.938 kB / 497.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1935, allocations: 0 / 497.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/0.1945, allocations: 470.4 kB / 497.8 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.1946, allocations: 3.953 kB / 497.8 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/0.1947, allocations: 20.36 kB / 497.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1947, allocations: 0 / 497.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1947, allocations: 0 / 497.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.1947, allocations: 8 kB / 497.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1947, allocations: 3.938 kB / 497.9 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.1952, allocations: 219 kB / 498.1 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.1953, allocations: 120.5 kB / 498.2 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.1954, allocations: 4 kB / 498.2 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1956, allocations: 8 kB / 498.2 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.1957, allocations: 3.984 kB / 498.2 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.1957, allocations: 4 kB / 498.2 MB, free: 2.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001216/0.197, allocations: 0.6472 MB / 498.9 MB, free: 2.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.739e-06/0.197, allocations: 0 / 498.9 MB, free: 2.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004888/0.1975, allocations: 31.92 kB / 498.9 MB, free: 1.973 MB / 378.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 (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.001333/0.1989, allocations: 389.6 kB / 499.3 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.1992, allocations: 71.89 kB / 499.4 MB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1992, allocations: 0 / 499.4 MB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1993, allocations: 27.98 kB / 499.4 MB, free: 1.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.1999, allocations: 29.89 kB / 499.4 MB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.202, allocations: 0.8663 MB / 0.4886 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2664/0.4684, allocations: 0.8165 MB / 0.4894 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.4685, allocations: 16.22 kB / 0.4894 GB, free: 42.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4686, allocations: 4.438 kB / 0.4894 GB, free: 42.76 MB / 378.7 MB Notification: Performance of Templates: time 0.009035/0.4776, allocations: 3.655 MB / 0.4929 GB, free: 42.17 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches