Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001673/0.001673, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00201/0.00201, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 86.8 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1774, allocations: 62.45 MB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004316/0.1818, allocations: 2.11 MB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.1846, allocations: 1.29 MB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1848, allocations: 4 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.1851, allocations: 55.52 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006376/0.1858, allocations: 215 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.187, allocations: 457.2 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.1874, allocations: 319 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.1876, allocations: 64.69 kB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.1879, allocations: 147.4 kB / 484.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.1883, allocations: 199.2 kB / 484.9 MB, free: 392 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.1884, allocations: 16 kB / 485 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.1886, allocations: 63.92 kB / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.1888, allocations: 143.5 kB / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.1891, allocations: 182.7 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.1896, allocations: 398.5 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1896, allocations: 4 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1896, allocations: 0 / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.1896, allocations: 0 / 485.7 MB, free: 15.59 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.001193/0.1908, allocations: 0.7968 MB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1909, allocations: 9.109 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004687/0.1913, allocations: 92.14 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.192, allocations: 476.4 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1921, allocations: 8.375 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.1921, allocations: 16.12 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.1925, allocations: 143.1 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.1925, allocations: 0 / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.1926, allocations: 11.98 kB / 487.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1926, allocations: 0 / 487.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.1929, allocations: 103.9 kB / 487.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1939, allocations: 0.6839 MB / 488.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.1942, allocations: 117.2 kB / 488.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.1944, allocations: 61.81 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.1945, allocations: 3.984 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1945, allocations: 42.56 kB / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1945, allocations: 0 / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002018/0.1965, allocations: 0.6734 MB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.1966, allocations: 81.19 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.1977, allocations: 0.9023 MB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.1977, allocations: 29.7 kB / 490 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.198, allocations: 268.3 kB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.1981, allocations: 63.09 kB / 490.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.1981, allocations: 37.7 kB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.1984, allocations: 378.7 kB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.1987, allocations: 83.94 kB / 490.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.1989, allocations: 120.2 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.1995, allocations: 209.5 kB / 491.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1995, allocations: 0 / 491.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006689/0.2002, allocations: 296.8 kB / 491.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.2002, allocations: 6.594 kB / 491.4 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2002, allocations: 3.938 kB / 491.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2002, allocations: 4.75 kB / 491.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.2005, allocations: 60.11 kB / 491.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2006, allocations: 4 kB / 491.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.2007, allocations: 23.91 kB / 491.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.2008, allocations: 11.98 kB / 491.5 MB, free: 9.559 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.0002239/0.201, allocations: 205.7 kB / 491.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.2011, allocations: 59.25 kB / 491.8 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/0.2019, allocations: 350.3 kB / 492.1 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.202, allocations: 4 kB / 492.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.202, allocations: 0 / 492.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.202, allocations: 4 kB / 492.1 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.2034, allocations: 0.8877 MB / 493 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2034, allocations: 8 kB / 493 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.2037, allocations: 51.95 kB / 493.1 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2037, allocations: 3.984 kB / 493.1 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.2037, allocations: 7.984 kB / 493.1 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2037, allocations: 3.938 kB / 493.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2037, allocations: 4.375 kB / 493.1 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.2045, allocations: 481.8 kB / 493.5 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2046, allocations: 140.4 kB / 493.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.2047, allocations: 4 kB / 493.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.2049, allocations: 23.92 kB / 493.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.205, allocations: 19.97 kB / 493.7 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.2051, allocations: 11.98 kB / 493.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007524/0.2058, allocations: 0.6513 MB / 494.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2058, allocations: 0 / 494.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.2062, allocations: 67.98 kB / 494.5 MB, free: 6.488 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.001548/0.2077, allocations: 405.9 kB / 494.9 MB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006607/0.2084, allocations: 231.7 kB / 495.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2084, allocations: 0 / 495.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.2088, allocations: 127.8 kB / 495.2 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.2094, allocations: 80.75 kB / 495.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.211, allocations: 0.963 MB / 496.2 MB, free: 4.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.2116, allocations: 0.8768 MB / 497.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.2118, allocations: 83.22 kB / 497.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.212, allocations: 47.41 kB / 497.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.212, allocations: 0 / 497.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of Templates: time 0.009822/0.2218, allocations: 4.348 MB / 0.4898 GB, free: 15.45 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches