Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002596/0.002596, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003005/0.003006, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.391/2.391, allocations: 227.4 MB / 246.9 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2552/0.2552, allocations: 46.1 MB / 344.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 76.69 kB / 417.5 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1621, allocations: 62.45 MB / 479.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.005684/0.1678, allocations: 2.152 MB / 482.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.1712, allocations: 1.403 MB / 483.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.1716, allocations: 0 / 483.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.172, allocations: 39.7 kB / 483.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008541/0.173, allocations: 195.2 kB / 483.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1748, allocations: 0.5872 MB / 484.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007394/0.1756, allocations: 335 kB / 484.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.1759, allocations: 64.72 kB / 484.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004956/0.1764, allocations: 135.4 kB / 484.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.177, allocations: 211.1 kB / 485 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1771, allocations: 12 kB / 485 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.1774, allocations: 55.98 kB / 485.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.1776, allocations: 143.5 kB / 485.2 MB, free: 452 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.1779, allocations: 182.4 kB / 485.4 MB, free: 268 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.1784, allocations: 299.9 kB / 485.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1785, allocations: 0 / 485.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1785, allocations: 0 / 485.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.1785, allocations: 4 kB / 485.7 MB, free: 15.96 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001758/0.1803, allocations: 0.8122 MB / 486.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/0.1804, allocations: 8.875 kB / 486.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006699/0.181, allocations: 92.14 kB / 486.6 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.182, allocations: 484.5 kB / 487.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.182, allocations: 12.38 kB / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.182, allocations: 12.12 kB / 487.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.1825, allocations: 167.1 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.1826, allocations: 4 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.1826, allocations: 4 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1826, allocations: 4 kB / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.183, allocations: 115.9 kB / 487.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.1845, allocations: 0.7151 MB / 488.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.1849, allocations: 133.2 kB / 488.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.1851, allocations: 69.8 kB / 488.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.1852, allocations: 4 kB / 488.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.1852, allocations: 38.5 kB / 488.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/0.1852, allocations: 0 / 488.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002671/0.1879, allocations: 0.7435 MB / 489.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.188, allocations: 85.09 kB / 489.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.1894, allocations: 0.9025 MB / 490.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.1895, allocations: 29.7 kB / 490.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.1897, allocations: 276.4 kB / 490.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.79e-05/0.1898, allocations: 59.11 kB / 490.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.19, allocations: 49.56 kB / 490.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.1902, allocations: 378.7 kB / 490.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.1905, allocations: 103.9 kB / 491 MB, free: 10.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.1909, allocations: 137.6 kB / 491.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.1915, allocations: 245.5 kB / 491.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1916, allocations: 4 kB / 491.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008487/0.1924, allocations: 340.7 kB / 491.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.1925, allocations: 4 kB / 491.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1925, allocations: 0.75 kB / 491.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1925, allocations: 0 / 491.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.1928, allocations: 60.08 kB / 491.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1929, allocations: 0 / 491.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.1931, allocations: 27.91 kB / 491.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.1931, allocations: 8 kB / 491.8 MB, free: 9.625 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002876/0.1934, allocations: 225.6 kB / 492 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.1936, allocations: 55.25 kB / 492.1 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.1946, allocations: 402.2 kB / 492.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1946, allocations: 0 / 492.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.1946, allocations: 4 kB / 492.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1947, allocations: 3.984 kB / 492.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.1965, allocations: 0.9503 MB / 493.4 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.1965, allocations: 4 kB / 493.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.1968, allocations: 55.94 kB / 493.5 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1968, allocations: 0 / 493.5 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.1969, allocations: 8 kB / 493.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1969, allocations: 3.938 kB / 493.5 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.1969, allocations: 7.938 kB / 493.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009841/0.1979, allocations: 0.5061 MB / 494 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.1981, allocations: 140.3 kB / 494.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.1982, allocations: 4 kB / 494.1 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.1985, allocations: 27.86 kB / 494.2 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.1987, allocations: 23.97 kB / 494.2 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1987, allocations: 7.984 kB / 494.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009282/0.1996, allocations: 0.663 MB / 494.9 MB, free: 6.441 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1996, allocations: 0 / 494.9 MB, free: 6.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.2001, allocations: 64 kB / 494.9 MB, free: 6.379 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001292/0.2014, allocations: 408.6 kB / 495.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000819/0.2023, allocations: 270.1 kB / 495.6 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2023, allocations: 0 / 495.6 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.2026, allocations: 143.8 kB / 495.7 MB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.2035, allocations: 70.95 kB / 495.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.2055, allocations: 1.146 MB / 496.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.2061, allocations: 0.8808 MB / 497.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.2063, allocations: 51.41 kB / 497.9 MB, free: 3.504 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2063, allocations: 0 / 497.9 MB, free: 3.504 MB / 366.1 MB Notification: Performance of Templates: time 0.0133/0.2196, allocations: 6.345 MB / 0.4924 GB, free: 13.17 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches