Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001179/0.001179, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001289/0.001289, allocations: 192 kB / 18.56 MB, free: 4.434 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.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.1991/0.1991, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 55.62 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1741, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004955/0.1791, allocations: 1.619 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.1815, allocations: 1.051 MB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.1817, allocations: 3.938 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.182, allocations: 23.84 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.1825, allocations: 51.77 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007263/0.1832, allocations: 174.5 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.1835, allocations: 67.83 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.1837, allocations: 16 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-05/0.1838, allocations: 27.91 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.184, allocations: 27.86 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.184, allocations: 7.984 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1842, allocations: 59.84 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.1843, allocations: 19.92 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.575e-05/0.1844, allocations: 31.8 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.1847, allocations: 104 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.691e-05/0.1847, allocations: 0 / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.1848, allocations: 0 / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1848, allocations: 0 / 472.6 MB, free: 10.97 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.0009409/0.1857, allocations: 395.2 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.591e-05/0.1858, allocations: 12.03 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.1859, allocations: 30.75 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.1859, allocations: 8.844 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.1864, allocations: 204.9 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1864, allocations: 8.375 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1864, allocations: 384 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.1867, allocations: 79.31 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1868, allocations: 0 / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.1868, allocations: 4 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1868, allocations: 0 / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.187, allocations: 39.91 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.1877, allocations: 312.7 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1878, allocations: 42.56 kB / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.1879, allocations: 24.94 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.188, allocations: 4 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.188, allocations: 34.56 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.716e-06/0.188, allocations: 0 / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008898/0.1889, allocations: 221.3 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.189, allocations: 85.05 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1893, allocations: 156.1 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1893, allocations: 25.7 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.1894, allocations: 96.08 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.1894, allocations: 23.7 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.1895, allocations: 17.72 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1896, allocations: 322.8 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1898, allocations: 35.97 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1899, allocations: 57.73 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.1901, allocations: 92.8 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1902, allocations: 0 / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003146/0.1905, allocations: 125.5 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1905, allocations: 4 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1905, allocations: 4 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1905, allocations: 0 / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1907, allocations: 19.97 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1907, allocations: 11.88 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.1908, allocations: 16 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1908, allocations: 4 kB / 475.1 MB, free: 8.258 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 (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.0001177/0.1909, allocations: 121.8 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.191, allocations: 7.906 kB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.1914, allocations: 142.2 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1914, allocations: 288 / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.1914, allocations: 7.938 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1914, allocations: 0 / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.1921, allocations: 410.4 kB / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.1921, allocations: 3.984 kB / 475.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.1922, allocations: 23.92 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.1922, allocations: 3.938 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1922, allocations: 8 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1922, allocations: 0 / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.1922, allocations: 4 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.1926, allocations: 211.8 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.1927, allocations: 81.11 kB / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1927, allocations: 7.922 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1929, allocations: 16 kB / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1929, allocations: 7.984 kB / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1929, allocations: 0 / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.193, allocations: 115.2 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.193, allocations: 0 / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1933, allocations: 24 kB / 476.3 MB, free: 6.98 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 (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.001997/0.1953, allocations: 1.096 MB / 477.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.1958, allocations: 95.84 kB / 477.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1958, allocations: 0 / 477.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.196, allocations: 47.97 kB / 477.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.1965, allocations: 18.89 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.1996, allocations: 1.588 MB / 479.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.2002, allocations: 0.7041 MB / 479.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.2003, allocations: 25.11 kB / 479.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.2004, allocations: 23.42 kB / 479.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2004, allocations: 0 / 479.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.2276, allocations: 3.056 MB / 482.9 MB, free: 452 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.808, allocations: 14.88 kB / 482.9 MB, free: 440 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches