Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.001515, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.068/2.068, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001166/0.001166, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3055/0.3055, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006303/0.0006307, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1694, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003853/0.1733, allocations: 1.379 MB / 491.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.1762, allocations: 0.7267 MB / 492.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.1764, allocations: 7.875 kB / 492.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.1768, allocations: 31.84 kB / 492.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.1772, allocations: 43.88 kB / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.1778, allocations: 71.78 kB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.1781, allocations: 59.86 kB / 492.6 MB, free: 7.008 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1782, allocations: 12.23 kB / 492.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.1784, allocations: 39.83 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1785, allocations: 27.84 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.1786, allocations: 4 kB / 492.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.1788, allocations: 23.94 kB / 492.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.1789, allocations: 19.92 kB / 492.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.702e-05/0.179, allocations: 33.7 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.1793, allocations: 88.03 kB / 492.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1794, allocations: 0 / 492.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1794, allocations: 4 kB / 492.8 MB, free: 6.754 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1794, allocations: 0 / 492.8 MB, free: 6.754 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008534/0.1803, allocations: 398.9 kB / 493.2 MB, free: 6.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.1803, allocations: 12.02 kB / 493.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.1804, allocations: 11.86 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.1809, allocations: 206.9 kB / 493.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.1809, allocations: 4 kB / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.181, allocations: 0 / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1813, allocations: 61.61 kB / 493.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1813, allocations: 0 / 493.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.1814, allocations: 0 / 493.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1814, allocations: 4 kB / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1816, allocations: 19.94 kB / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006457/0.1822, allocations: 284.9 kB / 493.8 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.1826, allocations: 62.61 kB / 493.8 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.1827, allocations: 4 kB / 493.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/0.183, allocations: 63.52 kB / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 4.148e-06/0.183, allocations: 0 / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.001158/0.1842, allocations: 177.5 kB / 494.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.1843, allocations: 51.41 kB / 494.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.1847, allocations: 190.1 kB / 494.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1848, allocations: 29.7 kB / 494.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1849, allocations: 166.5 kB / 494.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.185, allocations: 27.64 kB / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.1851, allocations: 0 / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1853, allocations: 314.8 kB / 494.8 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1854, allocations: 19.98 kB / 494.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.1856, allocations: 37.64 kB / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1858, allocations: 31.94 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.1858, allocations: 4 kB / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004685/0.1863, allocations: 89.61 kB / 495 MB, free: 4.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.1864, allocations: 6.656 kB / 495 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.1864, allocations: 4.062 kB / 495 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.1865, allocations: 7.953 kB / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.1867, allocations: 19.92 kB / 495.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1867, allocations: 0 / 495.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.1869, allocations: 8.031 kB / 495.1 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.1869, allocations: 8 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0002129/0.1872, allocations: 125.8 kB / 495.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.1872, allocations: 11.81 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.347e-05/0.1874, allocations: 12.72 kB / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.1874, allocations: 7.953 kB / 495.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1874, allocations: 0 / 495.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1874, allocations: 0 / 495.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1885, allocations: 391.3 kB / 495.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.1885, allocations: 3.984 kB / 495.6 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/0.1886, allocations: 8 kB / 495.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/0.1887, allocations: 7.953 kB / 495.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.1887, allocations: 0 / 495.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.1887, allocations: 4.172 kB / 495.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.1888, allocations: 4 kB / 495.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.1892, allocations: 210 kB / 495.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1893, allocations: 100.9 kB / 495.9 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.1894, allocations: 4 kB / 495.9 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.1896, allocations: 0 / 495.9 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.1897, allocations: 11.98 kB / 496 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.1897, allocations: 4 kB / 496 MB, free: 3.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000251/0.19, allocations: 143.2 kB / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.19, allocations: 0 / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005761/0.1906, allocations: 20 kB / 496.1 MB, free: 3.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002096/0.1927, allocations: 471.8 kB / 496.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.1932, allocations: 59.95 kB / 496.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.1932, allocations: 0 / 496.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.1934, allocations: 31.92 kB / 496.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.194, allocations: 23.98 kB / 496.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009077/0.1949, allocations: 264.2 kB / 497 MB, free: 2.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.1954, allocations: 0.7082 MB / 497.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/0.1955, allocations: 19.42 kB / 497.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1956, allocations: 0 / 497.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of Templates: time 0.007504/0.2031, allocations: 1.888 MB / 499.6 MB, free: 15.63 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches