Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, 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.001995/0.001995, allocations: 202.9 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.582/1.582, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.4416/0.4416, allocations: 43.5 MB / 313.5 MB, free: 8.508 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.001496/0.001496, allocations: 74.56 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1808, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003574/0.1845, allocations: 1.668 MB / 441.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.1853, allocations: 347.7 kB / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.1854, allocations: 0 / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.186, allocations: 459.2 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1863, allocations: 235.5 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.1867, allocations: 147.8 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.187, allocations: 159.7 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1871, allocations: 32.22 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1872, allocations: 103.7 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.1875, allocations: 199.6 kB / 443.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.1875, allocations: 4 kB / 443.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.924e-05/0.1876, allocations: 39.91 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1877, allocations: 83.69 kB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.17e-05/0.1878, allocations: 103 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1881, allocations: 251 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1881, allocations: 0 / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1881, allocations: 0 / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1881, allocations: 0 / 443.6 MB, free: 11.04 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.0007938/0.1889, allocations: 0.6414 MB / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.189, allocations: 8.031 kB / 444.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.1891, allocations: 44.38 kB / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1893, allocations: 300.1 kB / 444.6 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1894, allocations: 16.3 kB / 444.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1894, allocations: 4.375 kB / 444.6 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1896, allocations: 61.78 kB / 444.7 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1896, allocations: 4 kB / 444.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1896, allocations: 4 kB / 444.7 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1896, allocations: 0 / 444.7 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1898, allocations: 35.97 kB / 444.7 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.1903, allocations: 400.7 kB / 445.1 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1905, allocations: 46.55 kB / 445.2 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.289e-05/0.1906, allocations: 28.94 kB / 445.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1906, allocations: 0 / 445.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1906, allocations: 38.56 kB / 445.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1906, allocations: 0 / 445.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008509/0.1915, allocations: 303.9 kB / 445.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1915, allocations: 51.41 kB / 445.6 MB, free: 8.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007694/0.1923, allocations: 0.8613 MB / 446.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1923, allocations: 29.64 kB / 446.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.1925, allocations: 212 kB / 446.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1925, allocations: 23.66 kB / 446.7 MB, free: 7.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.1926, allocations: 21.7 kB / 446.7 MB, free: 7.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1927, allocations: 362.7 kB / 447.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1929, allocations: 39.97 kB / 447.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.193, allocations: 39.95 kB / 447.1 MB, free: 7.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.1932, allocations: 84.8 kB / 447.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1932, allocations: 4 kB / 447.2 MB, free: 7.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003146/0.1936, allocations: 153.1 kB / 447.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1936, allocations: 4 kB / 447.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1936, allocations: 320 / 447.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1936, allocations: 3.984 kB / 447.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.1938, allocations: 27.86 kB / 447.4 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1938, allocations: 0 / 447.4 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.1939, allocations: 15.92 kB / 447.4 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.1939, allocations: 3.984 kB / 447.4 MB, free: 6.984 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 (7): * Single equations (assignments): 7 * 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.0002019/0.1941, allocations: 221.7 kB / 447.6 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.1942, allocations: 39.53 kB / 447.7 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.1945, allocations: 185.3 kB / 447.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1946, allocations: 4 kB / 447.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1946, allocations: 0 / 447.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1946, allocations: 3.938 kB / 447.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/0.1953, allocations: 0.5023 MB / 448.4 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1953, allocations: 0 / 448.4 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.258e-05/0.1954, allocations: 19.98 kB / 448.4 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1954, allocations: 3.938 kB / 448.4 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1954, allocations: 7.938 kB / 448.4 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1954, allocations: 4 kB / 448.4 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1954, allocations: 3.938 kB / 448.4 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1958, allocations: 251.3 kB / 448.7 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.1958, allocations: 108.5 kB / 448.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.1959, allocations: 11.92 kB / 448.8 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.196, allocations: 7.984 kB / 448.8 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.196, allocations: 11.98 kB / 448.8 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.196, allocations: 4 kB / 448.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006041/0.1966, allocations: 0.6433 MB / 449.4 MB, free: 4.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1967, allocations: 0 / 449.4 MB, free: 4.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1969, allocations: 27.98 kB / 449.5 MB, free: 4.832 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 (7): * Single equations (assignments): 7 * 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.000977/0.1979, allocations: 394.3 kB / 449.9 MB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.1982, allocations: 99.84 kB / 450 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1982, allocations: 0 / 450 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1984, allocations: 43.97 kB / 450 MB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1988, allocations: 29.55 kB / 450 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.2, allocations: 0.8986 MB / 450.9 MB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.2006, allocations: 0.8302 MB / 451.8 MB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.674e-05/0.2007, allocations: 24.28 kB / 451.8 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.2007, allocations: 15.42 kB / 451.8 MB, free: 2.492 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.2007, allocations: 0 / 451.8 MB, free: 2.492 MB / 382.1 MB Notification: Performance of Templates: time 0.005836/0.2066, allocations: 1.498 MB / 453.3 MB, free: 0.9922 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches