Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002378/0.002377, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.351/2.351, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001204/0.001204, allocations: 108 kB / 270.9 MB, free: 8.359 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.5222/0.5222, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007391/0.0007392, allocations: 16 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1727, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002989/0.1757, allocations: 1.515 MB / 491.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.1779, allocations: 0.8162 MB / 492.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1781, allocations: 4 kB / 492.6 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.1787, allocations: 231.5 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.1792, allocations: 167.6 kB / 492.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.1798, allocations: 127.7 kB / 493.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.1803, allocations: 163.6 kB / 493.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1804, allocations: 29.52 kB / 493.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.1807, allocations: 107.6 kB / 493.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.1809, allocations: 135.6 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.181, allocations: 8 kB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.1812, allocations: 27.94 kB / 493.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1813, allocations: 63.73 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.1814, allocations: 61.56 kB / 493.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.1817, allocations: 160 kB / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1817, allocations: 0 / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1817, allocations: 0 / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1818, allocations: 0 / 493.8 MB, free: 7.609 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009642/0.1827, allocations: 0.5252 MB / 494.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1828, allocations: 15.95 kB / 494.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.65e-05/0.1829, allocations: 27.62 kB / 494.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.1834, allocations: 271.1 kB / 494.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.1834, allocations: 0 / 494.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.1835, allocations: 8 kB / 494.7 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.1838, allocations: 95.36 kB / 494.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.1838, allocations: 0 / 494.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1839, allocations: 11.89 kB / 494.8 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.1839, allocations: 4 kB / 494.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.1841, allocations: 35.97 kB / 494.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.1849, allocations: 456.9 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.1853, allocations: 117.4 kB / 495.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.1854, allocations: 128 / 495.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.1858, allocations: 116.9 kB / 495.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.485e-06/0.1858, allocations: 8 kB / 495.5 MB, free: 5.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001408/0.1872, allocations: 376.2 kB / 495.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.1873, allocations: 77.11 kB / 495.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008157/0.1881, allocations: 477.7 kB / 496.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.1882, allocations: 37.69 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1884, allocations: 198.8 kB / 496.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/0.1885, allocations: 55.28 kB / 496.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.1885, allocations: 4 kB / 496.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1886, allocations: 318.8 kB / 497 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.1888, allocations: 39.97 kB / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.1891, allocations: 71.36 kB / 497.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.1893, allocations: 47.94 kB / 497.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1893, allocations: 4 kB / 497.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005352/0.1898, allocations: 161.5 kB / 497.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1899, allocations: 4 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1899, allocations: 4 kB / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1899, allocations: 192 / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.1902, allocations: 39.92 kB / 497.4 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1902, allocations: 320 / 497.4 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.1904, allocations: 11.98 kB / 497.4 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.1904, allocations: 12.06 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002613/0.1907, allocations: 165.8 kB / 497.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.1908, allocations: 31.62 kB / 497.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.1909, allocations: 42.8 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1909, allocations: 0 / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.191, allocations: 11.92 kB / 497.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.191, allocations: 0 / 497.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.1922, allocations: 0.6281 MB / 498.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1922, allocations: 0 / 498.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1924, allocations: 19.94 kB / 498.3 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.1924, allocations: 3.984 kB / 498.3 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.1924, allocations: 11.94 kB / 498.3 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1924, allocations: 0 / 498.3 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.1925, allocations: 7.984 kB / 498.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.1931, allocations: 397.2 kB / 498.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1933, allocations: 112.7 kB / 498.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.1933, allocations: 12 kB / 498.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1936, allocations: 4 kB / 498.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/0.1937, allocations: 19.97 kB / 498.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.1937, allocations: 4 kB / 498.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005772/0.1943, allocations: 359.1 kB / 499.2 MB, free: 1.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1943, allocations: 0 / 499.2 MB, free: 1.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004825/0.1948, allocations: 40 kB / 499.2 MB, free: 1.801 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001439/0.1962, allocations: 482.9 kB / 499.7 MB, free: 1.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.1968, allocations: 115.8 kB / 499.8 MB, free: 1.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1968, allocations: 4.125 kB / 499.8 MB, free: 1.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.197, allocations: 59.86 kB / 499.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/0.1977, allocations: 57.91 kB / 499.9 MB, free: 1.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.199, allocations: 0.6013 MB / 0.4888 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3305/0.5296, allocations: 0.7735 MB / 0.4895 GB, free: 42.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.5298, allocations: 26.81 kB / 0.4896 GB, free: 42.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.5299, allocations: 0 / 0.4896 GB, free: 42.57 MB / 378.7 MB Notification: Performance of Templates: time 0.01511/0.545, allocations: 3.321 MB / 0.4928 GB, free: 42.38 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches