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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 166 kB / 23.95 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.933/0.933, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2669/0.2669, allocations: 32.8 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.19e-05, allocations: 6.219 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00244/0.002462, allocations: 1.689 MB / 441.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.003204, allocations: 0.5452 MB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.003269, allocations: 0 / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.003463, allocations: 35.72 kB / 441.9 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.003764, allocations: 83.5 kB / 442 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.004061, allocations: 139.3 kB / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.004218, allocations: 91.7 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.004325, allocations: 11.98 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.00443, allocations: 47.89 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.723e-05/0.004517, allocations: 43.83 kB / 442.3 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.004538, allocations: 8 kB / 442.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.00475, allocations: 99.75 kB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/0.004838, allocations: 23.92 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.004876, allocations: 27.91 kB / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.005202, allocations: 179.4 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.005206, allocations: 0 / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.005208, allocations: 0 / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.005214, allocations: 0 / 442.6 MB, free: 1.215 MB / 410.7 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.0007005/0.005915, allocations: 377.4 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.005969, allocations: 11.97 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.006007, allocations: 34.75 kB / 443 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.006058, allocations: 8.891 kB / 443 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.006256, allocations: 144.7 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.006268, allocations: 4.375 kB / 443.2 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.00629, allocations: 4.375 kB / 443.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.006529, allocations: 117.6 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.006541, allocations: 192 / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.006555, allocations: 15.88 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.006561, allocations: 0 / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.006718, allocations: 63.92 kB / 443.4 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.007178, allocations: 268 kB / 443.6 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1787/0.1859, allocations: 75.03 kB / 443.7 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1861, allocations: 43.31 kB / 443.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1861, allocations: 0.5 kB / 443.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.1861, allocations: 34.88 kB / 443.8 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.354e-06/0.1861, allocations: 0 / 443.8 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000935/0.187, allocations: 379.8 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1871, allocations: 83.39 kB / 444.2 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1872, allocations: 160.8 kB / 444.4 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.1872, allocations: 27.52 kB / 444.4 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.1873, allocations: 100.9 kB / 444.5 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.1873, allocations: 31.84 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.1873, allocations: 28.77 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.1874, allocations: 325.9 kB / 444.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1875, allocations: 74.91 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.1877, allocations: 113.8 kB / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.1879, allocations: 150.6 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1879, allocations: 0 / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003017/0.1882, allocations: 199.8 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1882, allocations: 2.781 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1882, allocations: 6.531 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1882, allocations: 0 / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1884, allocations: 34.8 kB / 445.5 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1884, allocations: 2.562 kB / 445.5 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.1885, allocations: 28.59 kB / 445.5 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1885, allocations: 6.906 kB / 445.5 MB, free: 45.53 MB / 410.7 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 7.209e-05/0.1885, allocations: 124 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.1886, allocations: 13.12 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.1889, allocations: 202.9 kB / 445.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1889, allocations: 3.531 kB / 445.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1889, allocations: 2.781 kB / 445.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1889, allocations: 0 / 445.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.1894, allocations: 460.7 kB / 446.3 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1894, allocations: 0 / 446.3 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.026e-05/0.1895, allocations: 41.84 kB / 446.3 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1895, allocations: 2.625 kB / 446.3 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1896, allocations: 3.938 kB / 446.3 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.1896, allocations: 5.906 kB / 446.4 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1896, allocations: 0 / 446.4 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.1899, allocations: 286 kB / 446.6 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.1899, allocations: 14.27 kB / 446.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1899, allocations: 6.844 kB / 446.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.19, allocations: 26.17 kB / 446.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.1901, allocations: 13.06 kB / 446.7 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1901, allocations: 2.266 kB / 446.7 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.491e-05/0.1901, allocations: 132.8 kB / 446.8 MB, free: 44.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1901, allocations: 0 / 446.8 MB, free: 44.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.1904, allocations: 48.39 kB / 446.9 MB, free: 44.81 MB / 410.7 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.001188/0.1915, allocations: 1.257 MB / 448.1 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.1919, allocations: 155.4 kB / 448.3 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1919, allocations: 2.875 kB / 448.3 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.192, allocations: 81.92 kB / 448.4 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1923, allocations: 23.5 kB / 448.4 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.1938, allocations: 1.858 MB / 450.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.534e-05/0.1939, allocations: 89.05 kB / 450.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.136e-05/0.1939, allocations: 23.53 kB / 450.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.194, allocations: 36.39 kB / 450.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.194, allocations: 0 / 450.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.2119, allocations: 5.137 MB / 455.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.933, allocations: 6.75 kB / 455.5 MB, free: 40.98 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.00019992 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.991651761345565]