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.001007/0.001012, allocations: 88.19 kB / 15.7 MB, free: 460 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.00106/0.00106, allocations: 173.8 kB / 16.58 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 2.074/2.074, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.4361/0.4361, allocations: 43.57 MB / 314.6 MB, free: 8.75 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.0007834/0.0007836, allocations: 16 kB / 384 MB, free: 7.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1752, allocations: 58.86 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002905/0.1782, allocations: 1.68 MB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1802, allocations: 1.019 MB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.1805, allocations: 4 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1808, allocations: 35.7 kB / 445.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.1812, allocations: 139.5 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1826, allocations: 0.5303 MB / 446.2 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.183, allocations: 259.1 kB / 446.5 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1832, allocations: 68.72 kB / 446.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.1834, allocations: 115.5 kB / 446.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1837, allocations: 167.4 kB / 446.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.1838, allocations: 11.98 kB / 446.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1839, allocations: 28 kB / 446.9 MB, free: 8.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1841, allocations: 139.5 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.1842, allocations: 77.45 kB / 447.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1845, allocations: 275.5 kB / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1845, allocations: 0 / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1845, allocations: 0 / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.1845, allocations: 4 kB / 447.3 MB, free: 8.473 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001032/0.1856, allocations: 0.7153 MB / 448.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1856, allocations: 8.031 kB / 448.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.1857, allocations: 55.25 kB / 448.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.1863, allocations: 423.2 kB / 448.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1864, allocations: 12 kB / 448.5 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.1864, allocations: 8 kB / 448.5 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.1868, allocations: 167.2 kB / 448.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1868, allocations: 0 / 448.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1868, allocations: 4 kB / 448.7 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1868, allocations: 11.95 kB / 448.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.1872, allocations: 131.9 kB / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.1882, allocations: 0.7112 MB / 449.6 MB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.1886, allocations: 145.2 kB / 449.7 MB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.1887, allocations: 73.81 kB / 449.8 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.1888, allocations: 3.984 kB / 449.8 MB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1888, allocations: 38.56 kB / 449.8 MB, free: 5.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.406e-06/0.1888, allocations: 0 / 449.8 MB, free: 5.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002243/0.1911, allocations: 0.8101 MB / 450.6 MB, free: 4.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.1911, allocations: 77.11 kB / 450.7 MB, free: 4.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.1922, allocations: 0.8584 MB / 451.6 MB, free: 4.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1922, allocations: 25.7 kB / 451.6 MB, free: 3.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.1924, allocations: 256.3 kB / 451.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.052e-05/0.1925, allocations: 63.2 kB / 451.9 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.1925, allocations: 4 kB / 451.9 MB, free: 3.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1927, allocations: 374.9 kB / 452.3 MB, free: 3.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.193, allocations: 131.9 kB / 452.4 MB, free: 3.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.1933, allocations: 141.6 kB / 452.5 MB, free: 3.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.1936, allocations: 139.9 kB / 452.7 MB, free: 2.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1937, allocations: 0 / 452.7 MB, free: 2.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009789/0.1946, allocations: 368.7 kB / 453 MB, free: 2.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.1947, allocations: 7.953 kB / 453 MB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1947, allocations: 4 kB / 453 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1947, allocations: 0 / 453 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.195, allocations: 64.7 kB / 453.1 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.195, allocations: 4 kB / 453.1 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1952, allocations: 31.88 kB / 453.1 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1952, allocations: 8 kB / 453.2 MB, free: 2.391 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.1955, allocations: 225.7 kB / 453.4 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1956, allocations: 55.33 kB / 453.4 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008549/0.1964, allocations: 441.8 kB / 453.9 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1965, allocations: 4 kB / 453.9 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1965, allocations: 0 / 453.9 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1965, allocations: 0 / 453.9 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.198, allocations: 0.966 MB / 454.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.198, allocations: 0 / 454.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.1982, allocations: 67.89 kB / 454.9 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.1983, allocations: 0 / 454.9 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.1983, allocations: 11.98 kB / 454.9 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1983, allocations: 0 / 454.9 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1983, allocations: 0 / 454.9 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/0.1991, allocations: 0.5408 MB / 455.4 MB, free: 0 / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2552/0.4543, allocations: 141.3 kB / 455.6 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4544, allocations: 5.188 kB / 455.6 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.4548, allocations: 30.39 kB / 455.6 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.4549, allocations: 19.81 kB / 455.6 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.4549, allocations: 5.469 kB / 455.6 MB, free: 46.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007063/0.4556, allocations: 0.6251 MB / 456.3 MB, free: 46.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.41e-07/0.4556, allocations: 0 / 456.3 MB, free: 46.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.4561, allocations: 63.41 kB / 456.3 MB, free: 46.74 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009853/0.4571, allocations: 409 kB / 456.7 MB, free: 46.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006398/0.4577, allocations: 300.3 kB / 457 MB, free: 46.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4577, allocations: 2.625 kB / 457 MB, free: 46.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.458, allocations: 159.5 kB / 457.2 MB, free: 46.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.4586, allocations: 62.89 kB / 457.2 MB, free: 46.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.4601, allocations: 1.057 MB / 458.3 MB, free: 46.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.4604, allocations: 0.8742 MB / 459.2 MB, free: 45.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000231/0.4607, allocations: 100.6 kB / 459.3 MB, free: 45.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.4608, allocations: 40.09 kB / 459.3 MB, free: 45.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4608, allocations: 3.438 kB / 459.3 MB, free: 45.41 MB / 382.1 MB Notification: Performance of Templates: time 0.009429/0.4702, allocations: 3.951 MB / 463.3 MB, free: 45.09 MB / 382.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches