Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008439/0.0008439, allocations: 88.19 kB / 15.7 MB, free: 460 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.001018/0.001018, allocations: 175 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 222.8 MB, free: 5.879 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.4575/0.4575, allocations: 43.57 MB / 314.6 MB, free: 8.965 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.0006127/0.0006133, allocations: 20 kB / 384 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1726, allocations: 58.87 MB / 442.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.002895/0.1755, allocations: 1.317 MB / 444.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1774, allocations: 0.8713 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.1776, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.1778, allocations: 19.92 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.1781, allocations: 31.91 kB / 445.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1785, allocations: 103.8 kB / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1787, allocations: 51.84 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1788, allocations: 16.17 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.615e-05/0.1789, allocations: 23.86 kB / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1791, allocations: 19.92 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1791, allocations: 4 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1793, allocations: 51.89 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.1794, allocations: 8 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.1794, allocations: 37.64 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1796, allocations: 72.09 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1796, allocations: 0 / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1796, allocations: 0 / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1797, allocations: 0 / 445.4 MB, free: 10.64 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.0006225/0.1803, allocations: 383.1 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.1803, allocations: 16.02 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.1804, allocations: 11.86 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1807, allocations: 182.9 kB / 446 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1807, allocations: 8 kB / 446 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.1807, allocations: 0 / 446 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.181, allocations: 83.33 kB / 446.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.181, allocations: 0 / 446.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.181, allocations: 0 / 446.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.181, allocations: 0 / 446.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1812, allocations: 47.92 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.1816, allocations: 280.9 kB / 446.4 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1818, allocations: 50.5 kB / 446.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.1819, allocations: 28.94 kB / 446.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1819, allocations: 7.938 kB / 446.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1819, allocations: 30.56 kB / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1819, allocations: 0 / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008124/0.1828, allocations: 249.1 kB / 446.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.1828, allocations: 77.11 kB / 446.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.183, allocations: 129.8 kB / 447 MB, free: 8.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.183, allocations: 25.7 kB / 447 MB, free: 8.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.1831, allocations: 88.14 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.1832, allocations: 27.64 kB / 447.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.1832, allocations: 0 / 447.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1834, allocations: 322.8 kB / 447.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1835, allocations: 35.98 kB / 447.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1836, allocations: 61.61 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1837, allocations: 44.02 kB / 447.6 MB, free: 8.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1837, allocations: 0 / 447.6 MB, free: 8.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002659/0.184, allocations: 129.8 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.184, allocations: 11.95 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1841, allocations: 0 / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1841, allocations: 0 / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1842, allocations: 23.98 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1842, allocations: 4 kB / 447.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.1843, allocations: 16.27 kB / 447.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1843, allocations: 4 kB / 447.8 MB, free: 8.07 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.0001093/0.1844, allocations: 117.8 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.1845, allocations: 15.89 kB / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.1848, allocations: 138 kB / 448 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1848, allocations: 7.984 kB / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1848, allocations: 0 / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1848, allocations: 4 kB / 448 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.1854, allocations: 402.4 kB / 448.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1854, allocations: 7.953 kB / 448.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-05/0.1855, allocations: 27.92 kB / 448.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1855, allocations: 0 / 448.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1855, allocations: 0 / 448.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1855, allocations: 0 / 448.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1855, allocations: 7.938 kB / 448.5 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.1858, allocations: 219.4 kB / 448.7 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.1859, allocations: 88.95 kB / 448.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1859, allocations: 4 kB / 448.8 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.186, allocations: 19.98 kB / 448.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.1861, allocations: 4 kB / 448.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1861, allocations: 3.984 kB / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.198e-05/0.1862, allocations: 107.8 kB / 448.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1862, allocations: 0 / 448.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1864, allocations: 24 kB / 448.9 MB, free: 6.789 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.001082/0.1875, allocations: 429.5 kB / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.1878, allocations: 99.92 kB / 449.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.1879, allocations: 7.938 kB / 449.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.188, allocations: 47.91 kB / 449.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1883, allocations: 19.73 kB / 449.5 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.1888, allocations: 205.2 kB / 449.7 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1891, allocations: 0.6965 MB / 450.4 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.362e-05/0.1892, allocations: 11.98 kB / 450.4 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.1892, allocations: 19.42 kB / 450.5 MB, free: 5.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.916e-06/0.1892, allocations: 0 / 450.5 MB, free: 5.25 MB / 382.1 MB Notification: Performance of Templates: time 0.004455/0.1937, allocations: 1.381 MB / 451.8 MB, free: 3.867 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches