Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00279/0.00279, allocations: 189 kB / 16.4 MB, free: 5.621 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.154/2.154, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001251/0.00125, allocations: 90.92 kB / 270.9 MB, free: 13.29 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.2884/0.2884, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007634/0.0007638, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.168, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003878/0.172, allocations: 1.379 MB / 491.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.1749, allocations: 0.7422 MB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1751, allocations: 3.938 kB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.1755, allocations: 31.83 kB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.1759, allocations: 39.89 kB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.1765, allocations: 79.78 kB / 492.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1768, allocations: 59.86 kB / 492.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.177, allocations: 12.22 kB / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1772, allocations: 35.84 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1773, allocations: 23.86 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1774, allocations: 4 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1776, allocations: 27.94 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.1777, allocations: 15.91 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.1778, allocations: 33.7 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.1781, allocations: 80.11 kB / 492.8 MB, free: 6.754 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1781, allocations: 4 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1781, allocations: 3.938 kB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1782, allocations: 4 kB / 492.8 MB, free: 6.742 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.0008416/0.179, allocations: 394.9 kB / 493.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.1791, allocations: 16.02 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.769e-05/0.1792, allocations: 15.86 kB / 493.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.1796, allocations: 194.9 kB / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.1797, allocations: 4 kB / 493.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1797, allocations: 4 kB / 493.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.18, allocations: 53.67 kB / 493.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.1801, allocations: 4 kB / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1801, allocations: 3.938 kB / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1801, allocations: 0 / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1803, allocations: 23.94 kB / 493.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.181, allocations: 280.9 kB / 493.8 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.1814, allocations: 58.62 kB / 493.8 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.1814, allocations: 4 kB / 493.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/0.1818, allocations: 67.5 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 4.108e-06/0.1818, allocations: 0 / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.001127/0.1829, allocations: 173.2 kB / 494.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.183, allocations: 55.41 kB / 494.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.1834, allocations: 178.1 kB / 494.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.1835, allocations: 29.7 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.1836, allocations: 158.6 kB / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.1837, allocations: 27.59 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.1837, allocations: 0 / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1839, allocations: 318.8 kB / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1841, allocations: 19.98 kB / 494.8 MB, free: 4.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.1843, allocations: 33.72 kB / 494.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1845, allocations: 31.92 kB / 494.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.1845, allocations: 4 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004646/0.185, allocations: 85.59 kB / 495 MB, free: 4.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.1851, allocations: 7.938 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1851, allocations: 0 / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.1851, allocations: 7.953 kB / 495 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.1854, allocations: 19.92 kB / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.559e-06/0.1854, allocations: 4.031 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1856, allocations: 8.375 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.1856, allocations: 4 kB / 495 MB, free: 4.277 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.0002139/0.1858, allocations: 121.8 kB / 495.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.1859, allocations: 7.906 kB / 495.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.309e-05/0.186, allocations: 16.72 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.1861, allocations: 3.953 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.1861, allocations: 3.984 kB / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1861, allocations: 4 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.1871, allocations: 391.3 kB / 495.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1872, allocations: 0 / 495.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-05/0.1873, allocations: 8 kB / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.1873, allocations: 3.953 kB / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1874, allocations: 0 / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.1874, allocations: 4 kB / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.1874, allocations: 3.938 kB / 495.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.188, allocations: 221.9 kB / 495.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1881, allocations: 88.97 kB / 495.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.1882, allocations: 4 kB / 495.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.1884, allocations: 4 kB / 495.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.1885, allocations: 3.984 kB / 495.9 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.1886, allocations: 12 kB / 495.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002543/0.1888, allocations: 131.2 kB / 496 MB, free: 3.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.1889, allocations: 0 / 496 MB, free: 3.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005802/0.1895, allocations: 24.19 kB / 496.1 MB, free: 3.121 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.002196/0.1917, allocations: 484.1 kB / 496.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000471/0.1922, allocations: 51.97 kB / 496.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1922, allocations: 0 / 496.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.1925, allocations: 31.94 kB / 496.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.1931, allocations: 27.58 kB / 496.6 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009152/0.194, allocations: 255.8 kB / 496.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.1945, allocations: 0.7043 MB / 497.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.1946, allocations: 19.44 kB / 497.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1946, allocations: 0 / 497.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of Templates: time 0.008823/0.2035, allocations: 1.864 MB / 499.5 MB, free: 15.7 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches