Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 108.2 kB / 17.03 MB, free: 5.66 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.001324/0.001324, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.717/1.717, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2711/0.2711, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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.002387/0.002387, allocations: 69.62 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1627, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004735/0.1675, allocations: 2.02 MB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1698, allocations: 1.077 MB / 445.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003422/0.1702, allocations: 4 kB / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.1707, allocations: 63.5 kB / 445.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006387/0.1714, allocations: 147.3 kB / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.1728, allocations: 0.5605 MB / 445.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.1734, allocations: 303.1 kB / 446.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.1737, allocations: 76.67 kB / 446.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.1741, allocations: 135.5 kB / 446.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.1745, allocations: 195.3 kB / 446.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.269e-05/0.1746, allocations: 12 kB / 446.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.1748, allocations: 39.98 kB / 446.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.175, allocations: 155.5 kB / 446.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.1752, allocations: 170.6 kB / 446.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.1758, allocations: 386.5 kB / 447.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1758, allocations: 0 / 447.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1758, allocations: 0 / 447.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.1758, allocations: 0 / 447.3 MB, free: 0.8242 MB / 318.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.001354/0.1772, allocations: 0.7619 MB / 448 MB, free: 12 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.692e-05/0.1773, allocations: 19.88 kB / 448 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.1775, allocations: 56.19 kB / 448.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.1782, allocations: 451.8 kB / 448.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1783, allocations: 4.375 kB / 448.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.1783, allocations: 20.03 kB / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.1788, allocations: 161.3 kB / 448.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.1788, allocations: 7.922 kB / 448.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1788, allocations: 4 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.1789, allocations: 4 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.1792, allocations: 119.8 kB / 448.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.1808, allocations: 0.6956 MB / 449.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.1811, allocations: 129.2 kB / 449.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.1813, allocations: 73.8 kB / 449.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.1813, allocations: 7.984 kB / 449.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.1814, allocations: 34.56 kB / 449.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.1814, allocations: 0 / 449.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002132/0.1835, allocations: 0.7243 MB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.1836, allocations: 81.09 kB / 450.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009199/0.1845, allocations: 0.8583 MB / 451.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1846, allocations: 25.7 kB / 451.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1848, allocations: 256.3 kB / 451.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.571e-05/0.1849, allocations: 67 kB / 451.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.1849, allocations: 41.69 kB / 451.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1851, allocations: 370.7 kB / 452.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.1854, allocations: 120.6 kB / 452.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.1857, allocations: 130.8 kB / 452.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.1862, allocations: 253.6 kB / 452.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1863, allocations: 224 / 452.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000688/0.1869, allocations: 332.8 kB / 453 MB, free: 10.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.187, allocations: 13.19 kB / 453 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.187, allocations: 4 kB / 453 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.187, allocations: 0 / 453 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.1873, allocations: 59.88 kB / 453.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1874, allocations: 4 kB / 453.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1875, allocations: 19.98 kB / 453.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1876, allocations: 7.984 kB / 453.1 MB, free: 10.7 MB / 334.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.000236/0.1878, allocations: 225.6 kB / 453.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.1879, allocations: 55.25 kB / 453.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.1888, allocations: 397.8 kB / 453.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1888, allocations: 4 kB / 453.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.1888, allocations: 4.375 kB / 453.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1888, allocations: 3.984 kB / 453.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.1905, allocations: 0.9268 MB / 454.7 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1905, allocations: 4 kB / 454.7 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1907, allocations: 59.94 kB / 454.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1907, allocations: 0 / 454.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1908, allocations: 4 kB / 454.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1908, allocations: 3.938 kB / 454.8 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1908, allocations: 0 / 454.8 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/0.1917, allocations: 0.5087 MB / 455.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.1919, allocations: 136.4 kB / 455.4 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.192, allocations: 11.98 kB / 455.4 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.1923, allocations: 19.92 kB / 455.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.1924, allocations: 27.97 kB / 455.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.1924, allocations: 8 kB / 455.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009201/0.1934, allocations: 0.6237 MB / 456.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1934, allocations: 0 / 456.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.1938, allocations: 60 kB / 456.2 MB, free: 7.527 MB / 334.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.001378/0.1952, allocations: 406.1 kB / 456.6 MB, free: 7.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008714/0.1961, allocations: 263.8 kB / 456.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1961, allocations: 0 / 456.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.1964, allocations: 143.8 kB / 457 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.1972, allocations: 86.81 kB / 457.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1989, allocations: 0.9586 MB / 458 MB, free: 5.723 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.1995, allocations: 0.8853 MB / 458.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.1998, allocations: 98.88 kB / 459 MB, free: 4.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.2, allocations: 39.42 kB / 459 MB, free: 4.68 MB / 334.1 MB Notification: Performance of SimCode: time 1.472e-06/0.2, allocations: 0 / 459 MB, free: 4.68 MB / 334.1 MB Notification: Performance of Templates: time 0.0106/0.2106, allocations: 4.382 MB / 463.4 MB, free: 304 kB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches