Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 102.5 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 194.4 kB / 16.91 MB, free: 6.18 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.764/1.764, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.5095/0.5095, allocations: 43.51 MB / 313.6 MB, free: 8.52 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.001839/0.001839, allocations: 71.88 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1731, allocations: 57.78 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003548/0.1767, allocations: 1.672 MB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.1775, allocations: 347.5 kB / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.1776, allocations: 0 / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.1783, allocations: 459.2 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1786, allocations: 239.5 kB / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.1791, allocations: 143.8 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1793, allocations: 167.6 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1794, allocations: 24.23 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1796, allocations: 111.8 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.1798, allocations: 223.5 kB / 443.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1798, allocations: 4 kB / 443.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.1799, allocations: 31.98 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.18, allocations: 87.62 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1801, allocations: 103 kB / 443.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.1805, allocations: 258.9 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1805, allocations: 0 / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1805, allocations: 4 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1805, allocations: 0 / 443.8 MB, free: 10.87 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.0008773/0.1814, allocations: 0.6414 MB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1815, allocations: 11.89 kB / 444.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.1816, allocations: 40.38 kB / 444.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1819, allocations: 300.1 kB / 444.8 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1819, allocations: 4.359 kB / 444.8 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1819, allocations: 4.375 kB / 444.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1821, allocations: 69.73 kB / 444.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1821, allocations: 0 / 444.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1821, allocations: 3.938 kB / 444.9 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1821, allocations: 4 kB / 444.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.1823, allocations: 35.97 kB / 444.9 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.1829, allocations: 400.7 kB / 445.3 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.183, allocations: 50.5 kB / 445.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.1831, allocations: 24.94 kB / 445.4 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1832, allocations: 0 / 445.4 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/0.1832, allocations: 34.55 kB / 445.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1832, allocations: 4 kB / 445.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009166/0.1842, allocations: 303.9 kB / 445.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1842, allocations: 55.39 kB / 445.8 MB, free: 8.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008297/0.1851, allocations: 0.8535 MB / 446.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1851, allocations: 29.7 kB / 446.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.1853, allocations: 216 kB / 446.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.1853, allocations: 23.64 kB / 446.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.1854, allocations: 21.72 kB / 446.9 MB, free: 7.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1856, allocations: 362.7 kB / 447.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1857, allocations: 35.97 kB / 447.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1858, allocations: 43.97 kB / 447.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.1861, allocations: 84.73 kB / 447.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1861, allocations: 0 / 447.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003158/0.1864, allocations: 161.3 kB / 447.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1865, allocations: 8 kB / 447.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1865, allocations: 4 kB / 447.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1865, allocations: 3.938 kB / 447.6 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1866, allocations: 19.98 kB / 447.6 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1866, allocations: 4.062 kB / 447.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.1867, allocations: 11.92 kB / 447.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1867, allocations: 4 kB / 447.7 MB, free: 6.816 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.1869, allocations: 221.7 kB / 447.9 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.187, allocations: 43.53 kB / 447.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.1874, allocations: 173.4 kB / 448.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1874, allocations: 0 / 448.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1874, allocations: 0 / 448.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1874, allocations: 3.938 kB / 448.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/0.1881, allocations: 0.51 MB / 448.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1881, allocations: 7.984 kB / 448.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.1882, allocations: 15.98 kB / 448.6 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1882, allocations: 4 kB / 448.6 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1882, allocations: 3.938 kB / 448.6 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1882, allocations: 0 / 448.6 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1882, allocations: 0 / 448.6 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1886, allocations: 258.9 kB / 448.9 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.1887, allocations: 108.5 kB / 449 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.1887, allocations: 7.938 kB / 449 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.1888, allocations: 11.98 kB / 449 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.1889, allocations: 4.281 kB / 449 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1889, allocations: 3.984 kB / 449 MB, free: 5.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006585/0.1896, allocations: 0.6511 MB / 449.7 MB, free: 4.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1896, allocations: 0 / 449.7 MB, free: 4.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.1899, allocations: 24 kB / 449.7 MB, free: 4.672 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.191, allocations: 414 kB / 450.1 MB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.1913, allocations: 87.88 kB / 450.2 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1914, allocations: 4 kB / 450.2 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1915, allocations: 51.89 kB / 450.2 MB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.192, allocations: 29.81 kB / 450.3 MB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1933, allocations: 0.8932 MB / 451.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.1939, allocations: 0.8299 MB / 452 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8e-05/0.194, allocations: 24.27 kB / 452 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.194, allocations: 19.38 kB / 452 MB, free: 2.316 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.194, allocations: 0 / 452 MB, free: 2.316 MB / 382.1 MB Notification: Performance of Templates: time 0.005379/0.1994, allocations: 1.518 MB / 453.5 MB, free: 0.7969 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches