Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 104.4 kB / 15.98 MB, free: 6.352 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.001403/0.001403, allocations: 199.5 kB / 16.91 MB, free: 6.191 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.67/1.67, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.4348/0.4348, allocations: 43.49 MB / 313.6 MB, free: 8.293 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.001677/0.001677, allocations: 67.89 kB / 382.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1803, allocations: 57.79 MB / 440 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.004391/0.1848, allocations: 1.637 MB / 441.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1865, allocations: 0.9182 MB / 442.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.1866, allocations: 3.938 kB / 442.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1869, allocations: 23.91 kB / 442.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1872, allocations: 39.84 kB / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1875, allocations: 87.89 kB / 442.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.1877, allocations: 71.77 kB / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1879, allocations: 16.45 kB / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.715e-05/0.188, allocations: 27.92 kB / 442.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1882, allocations: 31.83 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1882, allocations: 8 kB / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1883, allocations: 55.92 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.1884, allocations: 19.91 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.1884, allocations: 23.81 kB / 443 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1887, allocations: 103.7 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1887, allocations: 0 / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1887, allocations: 0 / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1887, allocations: 0 / 443.1 MB, free: 11.43 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006611/0.1894, allocations: 387.2 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.1894, allocations: 19.89 kB / 443.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.1895, allocations: 12.84 kB / 443.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.1898, allocations: 188.2 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1898, allocations: 384 / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1899, allocations: 8.375 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.1901, allocations: 92.11 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.1902, allocations: 3.984 kB / 443.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1902, allocations: 0 / 443.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1902, allocations: 8 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1903, allocations: 39.91 kB / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.191, allocations: 384.9 kB / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.1914, allocations: 93.16 kB / 444.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.1915, allocations: 29.8 kB / 444.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1915, allocations: 0 / 444.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.1916, allocations: 42.5 kB / 444.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1916, allocations: 0 / 444.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008706/0.1925, allocations: 217.1 kB / 444.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.1926, allocations: 106.8 kB / 444.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1928, allocations: 141.8 kB / 444.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1928, allocations: 33.64 kB / 444.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.1929, allocations: 99.97 kB / 444.9 MB, free: 9.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.1929, allocations: 31.55 kB / 445 MB, free: 9.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.193, allocations: 25.72 kB / 445 MB, free: 9.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1932, allocations: 322.8 kB / 445.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/0.1933, allocations: 27.98 kB / 445.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/0.1934, allocations: 54.55 kB / 445.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1936, allocations: 89.64 kB / 445.5 MB, free: 8.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1936, allocations: 0 / 445.5 MB, free: 8.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002407/0.1938, allocations: 121.8 kB / 445.6 MB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1938, allocations: 7.984 kB / 445.6 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1939, allocations: 4 kB / 445.6 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1939, allocations: 0 / 445.6 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.194, allocations: 23.92 kB / 445.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.194, allocations: 3.938 kB / 445.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.194, allocations: 8 kB / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1941, allocations: 4 kB / 445.6 MB, free: 8.578 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 (10): * Single equations (assignments): 10 * 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.0001145/0.1942, allocations: 129.8 kB / 445.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.1942, allocations: 7.906 kB / 445.8 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.1945, allocations: 133.5 kB / 445.9 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1946, allocations: 4 kB / 445.9 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1946, allocations: 3.938 kB / 445.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1946, allocations: 7.938 kB / 445.9 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.1952, allocations: 0.499 MB / 446.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1952, allocations: 0 / 446.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.1953, allocations: 19.94 kB / 446.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1953, allocations: 3.984 kB / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1954, allocations: 12.03 kB / 446.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1954, allocations: 256 / 446.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.1954, allocations: 8 kB / 446.5 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.1957, allocations: 287.7 kB / 446.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.1958, allocations: 92.97 kB / 446.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1958, allocations: 12.09 kB / 446.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.196, allocations: 7.938 kB / 446.9 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.196, allocations: 7.984 kB / 446.9 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.196, allocations: 4 kB / 446.9 MB, free: 7.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1961, allocations: 111.1 kB / 447 MB, free: 7.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.445e-06/0.1962, allocations: 0 / 447 MB, free: 7.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.1965, allocations: 35.92 kB / 447 MB, free: 7.102 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001121/0.1976, allocations: 438.3 kB / 447.4 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.1979, allocations: 91.88 kB / 447.5 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1979, allocations: 0 / 447.5 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1981, allocations: 47.98 kB / 447.6 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.1986, allocations: 27.72 kB / 447.6 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.1992, allocations: 247.7 kB / 447.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.1996, allocations: 0.6963 MB / 448.5 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.1997, allocations: 24.41 kB / 448.6 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.1998, allocations: 15.38 kB / 448.6 MB, free: 5.5 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1998, allocations: 0 / 448.6 MB, free: 5.5 MB / 382.1 MB Notification: Performance of Templates: time 0.005319/0.2051, allocations: 1.514 MB / 450.1 MB, free: 3.984 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches