Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 96.14 kB / 15.87 MB, free: 16 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.00143/0.001431, allocations: 202.3 kB / 16.79 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.772/1.772, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.4374/0.4374, allocations: 43.5 MB / 313.5 MB, free: 8.484 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.001821/0.001821, allocations: 68.33 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.18, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003555/0.1836, allocations: 1.668 MB / 441.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006966/0.1843, allocations: 323.6 kB / 441.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.1844, allocations: 0 / 441.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.185, allocations: 451.2 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1854, allocations: 235.6 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.1857, allocations: 111.8 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1859, allocations: 151.7 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.186, allocations: 16.17 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1862, allocations: 103.8 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1864, allocations: 207.6 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1865, allocations: 0 / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.534e-05/0.1866, allocations: 31.98 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.1868, allocations: 91.61 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.1869, allocations: 95 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.1872, allocations: 235.3 kB / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1872, allocations: 0 / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1872, allocations: 0 / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1872, allocations: 0 / 443.5 MB, free: 11.15 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.000857/0.1881, allocations: 0.6375 MB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1881, allocations: 8.031 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.1882, allocations: 40.47 kB / 444.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1885, allocations: 304 kB / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1885, allocations: 384 / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1886, allocations: 8.375 kB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1887, allocations: 49.62 kB / 444.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1887, allocations: 0 / 444.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1888, allocations: 0 / 444.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1888, allocations: 0 / 444.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.543e-05/0.1889, allocations: 31.98 kB / 444.6 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1894, allocations: 384.6 kB / 444.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1896, allocations: 46.55 kB / 445 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.1897, allocations: 12.86 kB / 445 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1897, allocations: 4 kB / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1897, allocations: 34.56 kB / 445 MB, free: 9.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1897, allocations: 4 kB / 445 MB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006758/0.1904, allocations: 224.1 kB / 445.3 MB, free: 9.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1905, allocations: 51.41 kB / 445.3 MB, free: 9.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008625/0.1913, allocations: 0.8652 MB / 446.2 MB, free: 8.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1914, allocations: 25.7 kB / 446.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1915, allocations: 216.1 kB / 446.4 MB, free: 8.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1916, allocations: 19.8 kB / 446.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.1916, allocations: 17.72 kB / 446.4 MB, free: 7.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1918, allocations: 354.8 kB / 446.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.1919, allocations: 23.92 kB / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-05/0.192, allocations: 16.17 kB / 446.8 MB, free: 7.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1921, allocations: 52.83 kB / 446.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1921, allocations: 0 / 446.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002189/0.1923, allocations: 117.1 kB / 447 MB, free: 7.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1924, allocations: 7.938 kB / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1924, allocations: 0 / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.1924, allocations: 0 / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.1925, allocations: 19.92 kB / 447 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1925, allocations: 4 kB / 447 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.1926, allocations: 11.92 kB / 447 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.1926, allocations: 0 / 447 MB, free: 7.375 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 (5): * Single equations (assignments): 5 * 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.0001921/0.1928, allocations: 217.7 kB / 447.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.1928, allocations: 35.53 kB / 447.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.1931, allocations: 140.9 kB / 447.4 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1932, allocations: 4 kB / 447.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1932, allocations: 0 / 447.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1932, allocations: 3.938 kB / 447.4 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.1937, allocations: 454.4 kB / 447.9 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1938, allocations: 0 / 447.9 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.1938, allocations: 12.12 kB / 447.9 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.1938, allocations: 11.98 kB / 447.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1938, allocations: 7.938 kB / 447.9 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1939, allocations: 4 kB / 447.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1939, allocations: 0 / 447.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1941, allocations: 207 kB / 448.1 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.1942, allocations: 108.5 kB / 448.2 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1942, allocations: 3.938 kB / 448.2 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.1943, allocations: 7.984 kB / 448.2 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.1944, allocations: 8 kB / 448.2 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1944, allocations: 0 / 448.2 MB, free: 6.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007785/0.1952, allocations: 0.6511 MB / 448.9 MB, free: 5.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1952, allocations: 0 / 448.9 MB, free: 5.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1955, allocations: 24 kB / 448.9 MB, free: 5.391 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 (5): * Single equations (assignments): 5 * 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.001074/0.1965, allocations: 405.8 kB / 449.3 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1968, allocations: 47.97 kB / 449.4 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1968, allocations: 3.938 kB / 449.4 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.517e-05/0.1969, allocations: 23.98 kB / 449.4 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.1974, allocations: 25.95 kB / 449.4 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1985, allocations: 0.8515 MB / 450.3 MB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.199, allocations: 0.8262 MB / 451.1 MB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.199, allocations: 4 kB / 451.1 MB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.1991, allocations: 11.44 kB / 451.1 MB, free: 3.168 MB / 382.1 MB Notification: Performance of SimCode: time 2.054e-06/0.1991, allocations: 0 / 451.1 MB, free: 3.168 MB / 382.1 MB Notification: Performance of Templates: time 0.005992/0.2051, allocations: 1.409 MB / 452.5 MB, free: 1.758 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches