Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.001009/0.001009, allocations: 106.3 kB / 17.33 MB, free: 6 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.0009922/0.0009922, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.522/1.522, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2206/0.2206, allocations: 44.18 MB / 336.3 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001414, allocations: 69.3 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1692, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00414/0.1734, allocations: 1.724 MB / 470.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009487/0.1744, allocations: 443.1 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.1745, allocations: 4 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1748, allocations: 11.92 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.175, allocations: 39.84 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.1754, allocations: 126.4 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1756, allocations: 79.7 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1757, allocations: 16.22 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.371e-05/0.1758, allocations: 35.84 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.303e-05/0.1759, allocations: 39.84 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.1759, allocations: 8 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.176, allocations: 55.92 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.1761, allocations: 23.91 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.1762, allocations: 31.8 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1764, allocations: 123.9 kB / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1764, allocations: 0 / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1764, allocations: 0 / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1764, allocations: 0 / 471.6 MB, free: 11.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006722/0.1771, allocations: 419.2 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1772, allocations: 8.031 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1772, allocations: 30.75 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.1773, allocations: 12.78 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1775, allocations: 208 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1775, allocations: 384 / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1776, allocations: 4.375 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1779, allocations: 95.3 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1779, allocations: 0 / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1779, allocations: 4 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1779, allocations: 3.984 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.1782, allocations: 63.92 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.1788, allocations: 312.7 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.179, allocations: 70.53 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1792, allocations: 40.89 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.1792, allocations: 12 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1793, allocations: 34.55 kB / 472.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1793, allocations: 0 / 472.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001624/0.1809, allocations: 380.8 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.181, allocations: 81.11 kB / 473.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.1812, allocations: 160.1 kB / 473.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1812, allocations: 25.7 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.641e-05/0.1813, allocations: 104 kB / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1813, allocations: 31.62 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.1814, allocations: 25.7 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1815, allocations: 318.8 kB / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.1818, allocations: 71.92 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.1821, allocations: 89.62 kB / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.1826, allocations: 152.9 kB / 474.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1826, allocations: 0 / 474.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005964/0.1832, allocations: 193.4 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1833, allocations: 4 kB / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.1833, allocations: 0 / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1833, allocations: 7.922 kB / 474.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.1835, allocations: 35.97 kB / 474.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1835, allocations: 4 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.1837, allocations: 31.95 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1837, allocations: 0 / 474.5 MB, free: 8.648 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 (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.0001082/0.1838, allocations: 113.8 kB / 474.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.1839, allocations: 19.83 kB / 474.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.1845, allocations: 206.2 kB / 474.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1845, allocations: 3.938 kB / 474.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1845, allocations: 0 / 474.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1846, allocations: 0 / 474.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009491/0.1855, allocations: 0.4903 MB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1855, allocations: 0 / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.1857, allocations: 39.95 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1857, allocations: 3.938 kB / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1857, allocations: 8 kB / 475.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1858, allocations: 0 / 475.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1858, allocations: 0 / 475.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.1864, allocations: 287.4 kB / 475.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.1865, allocations: 89 kB / 475.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1865, allocations: 4 kB / 475.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1867, allocations: 23.97 kB / 475.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.1868, allocations: 12.36 kB / 475.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.1868, allocations: 8 kB / 475.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1869, allocations: 116 kB / 475.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1869, allocations: 0 / 475.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.1873, allocations: 35.98 kB / 476 MB, free: 7.102 MB / 350.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 (9): * Single equations (assignments): 9 * 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.002126/0.1894, allocations: 1.163 MB / 477.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.1901, allocations: 163.8 kB / 477.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1901, allocations: 4 kB / 477.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.1904, allocations: 80.05 kB / 477.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.1908, allocations: 27.61 kB / 477.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.1939, allocations: 1.818 MB / 479.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1942, allocations: 0.7041 MB / 479.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.1943, allocations: 16.58 kB / 479.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1944, allocations: 31.42 kB / 480 MB, free: 3.152 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1944, allocations: 0 / 480 MB, free: 3.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.211, allocations: 3.499 MB / 483.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.2112, allocations: 263.2 kB / 483.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.197, allocations: 0 / 483.7 MB, free: 15.5 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches