Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001246/0.001246, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001544/0.001544, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9365/0.9365, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2497/0.2497, allocations: 34.26 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.033e-05, allocations: 4.391 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.1837/0.1837, allocations: 1.687 MB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.1844, allocations: 0.5519 MB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.1845, allocations: 2.688 kB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.1846, allocations: 20.2 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.1849, allocations: 86.58 kB / 444.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.1851, allocations: 141.7 kB / 444.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.1852, allocations: 96.88 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.1853, allocations: 14.44 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.1854, allocations: 47.03 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.1854, allocations: 38.8 kB / 444.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1854, allocations: 9.688 kB / 444.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1855, allocations: 98.81 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.1856, allocations: 22 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.1856, allocations: 23.8 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1858, allocations: 183.8 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1858, allocations: 0 / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1858, allocations: 0 / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1858, allocations: 0 / 445.2 MB, free: 43.04 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.0004038/0.1862, allocations: 368.6 kB / 445.6 MB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1863, allocations: 14.56 kB / 445.6 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.19e-05/0.1863, allocations: 30.75 kB / 445.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.1863, allocations: 14.19 kB / 445.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.1865, allocations: 147.6 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1865, allocations: 6.938 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1865, allocations: 2.938 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1867, allocations: 122.6 kB / 445.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1867, allocations: 192 / 445.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1867, allocations: 5.938 kB / 445.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1867, allocations: 2.688 kB / 445.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1868, allocations: 68.08 kB / 446 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.1871, allocations: 277.5 kB / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.1873, allocations: 65.8 kB / 446.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/0.1873, allocations: 49.2 kB / 446.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1874, allocations: 2.906 kB / 446.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.1874, allocations: 30.56 kB / 446.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1874, allocations: 0 / 446.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008259/0.1882, allocations: 391.2 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.1882, allocations: 80.02 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1883, allocations: 167.4 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.1883, allocations: 25.7 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.1884, allocations: 100.6 kB / 447.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.1884, allocations: 28.59 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.1884, allocations: 25.5 kB / 447.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.863e-05/0.1885, allocations: 324.4 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1886, allocations: 69.2 kB / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.1888, allocations: 118.9 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.189, allocations: 150.8 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.189, allocations: 0 / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003037/0.1893, allocations: 191 kB / 448 MB, free: 41.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1893, allocations: 9.5 kB / 448 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1893, allocations: 4 kB / 448 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1894, allocations: 6.016 kB / 448 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1895, allocations: 35.64 kB / 448.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1895, allocations: 0 / 448.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.1896, allocations: 27.48 kB / 448.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1896, allocations: 2.938 kB / 448.1 MB, free: 41.31 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 5.445e-05/0.1896, allocations: 123 kB / 448.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.1896, allocations: 9.359 kB / 448.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.19, allocations: 203.5 kB / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.19, allocations: 2.938 kB / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.19, allocations: 4 kB / 448.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.19, allocations: 3.188 kB / 448.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.1904, allocations: 458.8 kB / 448.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1905, allocations: 3.938 kB / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-05/0.1905, allocations: 38.41 kB / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1905, allocations: 2.812 kB / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1906, allocations: 4 kB / 448.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1906, allocations: 3.938 kB / 448.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1906, allocations: 0 / 448.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.1909, allocations: 289.4 kB / 449.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.1909, allocations: 14.03 kB / 449.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1909, allocations: 6.844 kB / 449.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.191, allocations: 30.92 kB / 449.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.191, allocations: 13.67 kB / 449.3 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.191, allocations: 6 kB / 449.3 MB, free: 40.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.751e-05/0.1911, allocations: 131 kB / 449.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1911, allocations: 0 / 449.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.1913, allocations: 47.23 kB / 449.5 MB, free: 40.53 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.00128/0.1926, allocations: 1.256 MB / 450.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.1929, allocations: 149.8 kB / 450.9 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1929, allocations: 0 / 450.9 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.193, allocations: 85.48 kB / 451 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.1933, allocations: 24.86 kB / 451 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.1949, allocations: 1.867 MB / 452.8 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.388e-05/0.1949, allocations: 83.5 kB / 452.9 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.942e-05/0.195, allocations: 19.28 kB / 452.9 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.1951, allocations: 39.7 kB / 453 MB, free: 38.23 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1951, allocations: 0 / 453 MB, free: 38.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.213, allocations: 5.135 MB / 458.1 MB, free: 36.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.243, allocations: 4 kB / 458.1 MB, free: 36.66 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.42579934746027]