Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.001155/0.001155, allocations: 107.6 kB / 17.32 MB, free: 5.672 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.001235/0.001235, allocations: 193.3 kB / 18.25 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 44.17 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 64.09 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1858, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.004269/0.1901, allocations: 1.696 MB / 470.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008242/0.191, allocations: 431.2 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.1911, allocations: 3.938 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.1917, allocations: 443.2 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.1921, allocations: 255.5 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.1925, allocations: 118.7 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.1927, allocations: 155.7 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1928, allocations: 23.98 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.193, allocations: 111.7 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.1932, allocations: 215.6 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1933, allocations: 4 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1934, allocations: 47.92 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1935, allocations: 87.67 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.613e-05/0.1936, allocations: 111 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.194, allocations: 267.2 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.194, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.194, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1941, allocations: 4 kB / 472.7 MB, free: 10.68 MB / 350.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.0008886/0.195, allocations: 0.6336 MB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.195, allocations: 16.02 kB / 473.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.1951, allocations: 30.75 kB / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.1951, allocations: 44.41 kB / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.1957, allocations: 304.1 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1958, allocations: 4.375 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1958, allocations: 384 / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.196, allocations: 61.61 kB / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.196, allocations: 0 / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.196, allocations: 4 kB / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.196, allocations: 0 / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.1961, allocations: 31.92 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007506/0.1969, allocations: 400.6 kB / 474.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.197, allocations: 50.58 kB / 474.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.1971, allocations: 12.86 kB / 474.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1971, allocations: 0 / 474.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1971, allocations: 38.56 kB / 474.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1971, allocations: 4 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009898/0.1981, allocations: 299.9 kB / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1982, allocations: 59.28 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.1993, allocations: 0.8691 MB / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1994, allocations: 29.7 kB / 475.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.1998, allocations: 228 kB / 475.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.1998, allocations: 27.55 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1999, allocations: 21.72 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0004012/0.2003, allocations: 362.8 kB / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.2004, allocations: 27.92 kB / 476.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.2004, allocations: 19.98 kB / 476.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.2006, allocations: 68.83 kB / 476.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2006, allocations: 0 / 476.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002706/0.2009, allocations: 133.1 kB / 476.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2009, allocations: 4 kB / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2009, allocations: 0 / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2009, allocations: 0 / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2011, allocations: 27.86 kB / 476.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2011, allocations: 4 kB / 476.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.2012, allocations: 8.422 kB / 476.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2012, allocations: 0 / 476.5 MB, free: 6.664 MB / 350.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 (8): * Single equations (assignments): 8 * 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.0002659/0.2014, allocations: 213.8 kB / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.2015, allocations: 39.53 kB / 476.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.2019, allocations: 169.6 kB / 476.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.2019, allocations: 7.922 kB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2019, allocations: 0 / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.2019, allocations: 0 / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007754/0.2027, allocations: 0.503 MB / 477.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2027, allocations: 0 / 477.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.2028, allocations: 20.03 kB / 477.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2028, allocations: 3.984 kB / 477.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2028, allocations: 0 / 477.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2028, allocations: 0 / 477.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2029, allocations: 4 kB / 477.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.2032, allocations: 235.7 kB / 477.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.2033, allocations: 124.5 kB / 477.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.2034, allocations: 4 kB / 477.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.2035, allocations: 11.92 kB / 477.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.2035, allocations: 8 kB / 477.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.2036, allocations: 4 kB / 477.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007089/0.2043, allocations: 0.6511 MB / 478.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2043, allocations: 0 / 478.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.2046, allocations: 24 kB / 478.5 MB, free: 4.543 MB / 350.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 (8): * Single equations (assignments): 8 * 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.002318/0.2069, allocations: 1.122 MB / 479.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003561/0.2073, allocations: 67.95 kB / 479.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2073, allocations: 0 / 479.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.2074, allocations: 35.92 kB / 479.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.208, allocations: 29.89 kB / 479.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.2132, allocations: 3.408 MB / 483.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.2139, allocations: 0.826 MB / 484 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.317e-05/0.214, allocations: 16.42 kB / 484 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.2142, allocations: 107.4 kB / 484.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2142, allocations: 0 / 484.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.2342, allocations: 6.039 MB / 490.2 MB, free: 9.035 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002649/0.2345, allocations: 243.9 kB / 490.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.208, allocations: 0 / 490.4 MB, free: 8.77 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches