Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001814, allocations: 108.8 kB / 16.41 MB, free: 6.488 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.002142/0.002142, allocations: 193.5 kB / 17.34 MB, free: 5.766 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.484/1.484, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2457/0.2457, allocations: 43.53 MB / 314.1 MB, free: 448 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.002453/0.002453, allocations: 86.17 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1803, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.003078/0.1835, allocations: 1.547 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1849, allocations: 0.9572 MB / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.185, allocations: 0 / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.1853, allocations: 19.86 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1855, allocations: 43.78 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.1858, allocations: 95.8 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.186, allocations: 59.78 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1861, allocations: 23.97 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.695e-05/0.1862, allocations: 19.92 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1863, allocations: 27.84 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1864, allocations: 4 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1865, allocations: 47.97 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.1865, allocations: 8 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.1866, allocations: 23.86 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.1868, allocations: 91.7 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1868, allocations: 0 / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1868, allocations: 0 / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1868, allocations: 0 / 0.4903 GB, free: 9.312 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005434/0.1874, allocations: 391.1 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1874, allocations: 11.89 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.1875, allocations: 34.75 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.1875, allocations: 4.844 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1877, allocations: 184.3 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1877, allocations: 384 / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1878, allocations: 8.375 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1879, allocations: 67.28 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.188, allocations: 0 / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.188, allocations: 0 / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.188, allocations: 4 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.581e-05/0.1881, allocations: 23.97 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.1885, allocations: 276.9 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1887, allocations: 50.5 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.1888, allocations: 20.92 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1888, allocations: 0 / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1888, allocations: 30.56 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1888, allocations: 4 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005718/0.1894, allocations: 149.3 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.1895, allocations: 77.11 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1897, allocations: 133.8 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1897, allocations: 25.7 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.1897, allocations: 99.98 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1898, allocations: 23.67 kB / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.1898, allocations: 17.72 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.19, allocations: 322.8 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.19, allocations: 23.97 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.659e-05/0.1901, allocations: 29.7 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1903, allocations: 60.8 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1903, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001909/0.1905, allocations: 89.75 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1906, allocations: 11.28 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1906, allocations: 0 / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1906, allocations: 0 / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.1907, allocations: 11.98 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1907, allocations: 0 / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.1907, allocations: 4 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1907, allocations: 15.92 kB / 0.4924 GB, free: 6.902 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 (5): * Single equations (assignments): 5 * 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.0001342/0.1909, allocations: 121.7 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.1909, allocations: 7.891 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.1912, allocations: 93.62 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1912, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1912, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1912, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.1918, allocations: 362.4 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1919, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.1919, allocations: 15.98 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1919, allocations: 0 / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1919, allocations: 4 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1919, allocations: 3.938 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.192, allocations: 0 / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.1922, allocations: 183.7 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.1923, allocations: 81.11 kB / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1923, allocations: 0 / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1924, allocations: 15.86 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1924, allocations: 8 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1924, allocations: 0 / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.1925, allocations: 107.8 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1925, allocations: 3.938 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1928, allocations: 27.98 kB / 0.4934 GB, free: 5.777 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 (5): * Single equations (assignments): 5 * 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.001456/0.1943, allocations: 1.049 MB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1945, allocations: 51.91 kB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1945, allocations: 0 / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.1946, allocations: 31.97 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1949, allocations: 15.94 kB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1966, allocations: 1.409 MB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1969, allocations: 0.6885 MB / 0.4966 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.42e-05/0.197, allocations: 12.06 kB / 0.4966 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.197, allocations: 23.42 kB / 0.4966 GB, free: 2.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.197, allocations: 0 / 0.4966 GB, free: 2.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.2201, allocations: 2.769 MB / 0.4993 GB, free: 15.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.036, allocations: 15.97 kB / 0.4993 GB, free: 15.56 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time