Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.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.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test10",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.001574/0.001574, allocations: 107.6 kB / 16.46 MB, free: 6.402 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.002255/0.002255, allocations: 196.1 kB / 17.4 MB, free: 5.633 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.49/2.49, allocations: 207.6 MB / 225.8 MB, free: 11.5 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.4001/0.4001, allocations: 44.24 MB / 319.9 MB, free: 12.84 MB / 270.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.002205/0.002205, allocations: 75.89 kB / 453.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1682, allocations: 61.01 MB / 0.5025 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.00542/0.1736, allocations: 1.622 MB / 0.504 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.176, allocations: 0.9418 MB / 0.505 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.1761, allocations: 3.938 kB / 0.505 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.1764, allocations: 27.84 kB / 0.505 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.1767, allocations: 43.78 kB / 0.505 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.1772, allocations: 119.7 kB / 0.5052 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1774, allocations: 51.91 kB / 0.5052 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1776, allocations: 8.188 kB / 0.5052 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.689e-05/0.1777, allocations: 35.78 kB / 0.5052 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.1779, allocations: 31.84 kB / 0.5053 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.178, allocations: 4 kB / 0.5053 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.1781, allocations: 51.97 kB / 0.5053 GB, free: 9.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1783, allocations: 11.98 kB / 0.5053 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.1783, allocations: 35.8 kB / 0.5054 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.1787, allocations: 103.6 kB / 0.5055 GB, free: 8.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.1787, allocations: 0 / 0.5055 GB, free: 8.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1787, allocations: 0 / 0.5055 GB, free: 8.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.1788, allocations: 0 / 0.5055 GB, free: 8.926 MB / 398.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.0009814/0.1797, allocations: 395 kB / 0.5059 GB, free: 8.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.1798, allocations: 11.89 kB / 0.5059 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.746e-05/0.1798, allocations: 38.73 kB / 0.5059 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.1799, allocations: 16.89 kB / 0.5059 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1802, allocations: 200.2 kB / 0.5061 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1802, allocations: 384 / 0.5061 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1802, allocations: 4.125 kB / 0.5061 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1804, allocations: 75.33 kB / 0.5062 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.1805, allocations: 0 / 0.5062 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1805, allocations: 4 kB / 0.5062 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1805, allocations: 0 / 0.5062 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.1806, allocations: 35.97 kB / 0.5062 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.1811, allocations: 284.8 kB / 0.5065 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1813, allocations: 46.48 kB / 0.5065 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1814, allocations: 20.94 kB / 0.5066 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.1814, allocations: 4 kB / 0.5066 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.1815, allocations: 42.55 kB / 0.5066 GB, free: 7.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.1815, allocations: 0 / 0.5066 GB, free: 7.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001063/0.1826, allocations: 205.3 kB / 0.5068 GB, free: 7.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.1826, allocations: 81.11 kB / 0.5069 GB, free: 7.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1828, allocations: 142 kB / 0.507 GB, free: 7.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1829, allocations: 29.7 kB / 0.507 GB, free: 7.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.1829, allocations: 92.14 kB / 0.5071 GB, free: 7.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.183, allocations: 27.73 kB / 0.5072 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.183, allocations: 17.72 kB / 0.5072 GB, free: 6.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1832, allocations: 326.8 kB / 0.5075 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1833, allocations: 27.98 kB / 0.5075 GB, free: 6.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1834, allocations: 53.67 kB / 0.5076 GB, free: 6.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.1837, allocations: 72.75 kB / 0.5076 GB, free: 6.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1837, allocations: 7.938 kB / 0.5076 GB, free: 6.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003032/0.184, allocations: 109.6 kB / 0.5077 GB, free: 6.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.184, allocations: 4 kB / 0.5077 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.184, allocations: 0 / 0.5077 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.184, allocations: 0 / 0.5077 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1842, allocations: 19.98 kB / 0.5078 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1842, allocations: 3.938 kB / 0.5078 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.1843, allocations: 15.98 kB / 0.5078 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1843, allocations: 4 kB / 0.5078 GB, free: 6.301 MB / 398.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.0001137/0.1844, allocations: 121.7 kB / 0.5079 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.1844, allocations: 7.953 kB / 0.5079 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.1848, allocations: 122.6 kB / 0.508 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1848, allocations: 4 kB / 0.508 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1848, allocations: 3.938 kB / 0.508 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1848, allocations: 7.984 kB / 0.508 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005971/0.1854, allocations: 390.5 kB / 0.5084 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1854, allocations: 0 / 0.5084 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.1855, allocations: 19.98 kB / 0.5084 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1855, allocations: 3.938 kB / 0.5084 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1855, allocations: 0 / 0.5084 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1855, allocations: 4 kB / 0.5084 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1855, allocations: 4 kB / 0.5084 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1858, allocations: 211.4 kB / 0.5086 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.1859, allocations: 85.06 kB / 0.5087 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.1859, allocations: 7.938 kB / 0.5087 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.186, allocations: 11.98 kB / 0.5087 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.1861, allocations: 11.98 kB / 0.5088 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1861, allocations: 0 / 0.5088 GB, free: 5.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1862, allocations: 111.2 kB / 0.5089 GB, free: 5.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1862, allocations: 0 / 0.5089 GB, free: 5.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1865, allocations: 23.98 kB / 0.5089 GB, free: 5.062 MB / 398.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.002312/0.1888, allocations: 1.092 MB / 0.51 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.1892, allocations: 71.94 kB / 0.51 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1892, allocations: 0 / 0.51 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.1894, allocations: 43.95 kB / 0.5101 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.19, allocations: 19.92 kB / 0.5101 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.1929, allocations: 1.531 MB / 0.5116 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.1935, allocations: 0.6885 MB / 0.5123 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.1936, allocations: 16.66 kB / 0.5123 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1937, allocations: 31.42 kB / 0.5123 GB, free: 1.492 MB / 398.1 MB Notification: Performance of SimCode: time 2.394e-06/0.1937, allocations: 0 / 0.5123 GB, free: 1.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/0.2374, allocations: 3.035 MB / 0.5153 GB, free: 14.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.53, allocations: 3.984 kB / 0.5153 GB, free: 14.39 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(clock1.y),der(clock2.y),der(d_t_new.u),t_new.extrapolation,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time