Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.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.0008216/0.0008216, 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.001122/0.001122, 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.886/0.886, allocations: 177.1 MB / 204.2 MB, free: 5.73 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.2435/0.2435, allocations: 34.25 MB / 294.9 MB, free: 0.7266 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.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.776e-05, allocations: 4.672 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.1773/0.1773, allocations: 1.812 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1784, allocations: 0.9759 MB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.1785, allocations: 0 / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.1787, allocations: 55.58 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.179, allocations: 130.7 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1793, allocations: 165.4 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1795, allocations: 199.3 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1796, allocations: 15.34 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1797, allocations: 108.3 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1798, allocations: 95.66 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1798, allocations: 10.97 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.418e-05/0.1799, allocations: 43.06 kB / 445.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.978e-05/0.18, allocations: 47.61 kB / 445.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.18, allocations: 43.25 kB / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1802, allocations: 207.7 kB / 446.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1802, allocations: 3.406 kB / 446.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1802, allocations: 0 / 446.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1802, allocations: 0 / 446.1 MB, free: 42.88 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000653/0.1809, allocations: 0.5093 MB / 446.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1809, allocations: 7.875 kB / 446.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.323e-05/0.181, allocations: 39.05 kB / 446.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.181, allocations: 17.12 kB / 446.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.1812, allocations: 180.4 kB / 446.8 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1812, allocations: 2.969 kB / 446.8 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1812, allocations: 6.062 kB / 446.8 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.1815, allocations: 151.9 kB / 447 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1815, allocations: 7.875 kB / 447 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1815, allocations: 3.938 kB / 447 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1815, allocations: 2.781 kB / 447 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.1819, allocations: 163.1 kB / 447.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.1822, allocations: 321.7 kB / 447.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.1826, allocations: 189.8 kB / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1828, allocations: 90.28 kB / 447.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1828, allocations: 10.23 kB / 447.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.1831, allocations: 157.7 kB / 447.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.1831, allocations: 0 / 447.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001744/0.1849, allocations: 0.8256 MB / 448.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.1849, allocations: 54.19 kB / 448.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1851, allocations: 259.2 kB / 449 MB, free: 41.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1851, allocations: 32.42 kB / 449.1 MB, free: 41.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.1851, allocations: 119.8 kB / 449.2 MB, free: 41.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.1851, allocations: 40.92 kB / 449.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.1852, allocations: 36.56 kB / 449.3 MB, free: 41.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.396e-05/0.1852, allocations: 335.2 kB / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.1856, allocations: 226.1 kB / 449.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.1859, allocations: 220.2 kB / 450 MB, free: 40.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.1864, allocations: 364.4 kB / 450.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1864, allocations: 0 / 450.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006829/0.1871, allocations: 0.5153 MB / 450.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.1872, allocations: 61.28 kB / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1872, allocations: 0 / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1872, allocations: 2.906 kB / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.1874, allocations: 68.12 kB / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.1874, allocations: 112 / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.1876, allocations: 75.36 kB / 451.1 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1876, allocations: 2.844 kB / 451.1 MB, free: 40.32 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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 8.181e-05/0.1877, allocations: 140.7 kB / 451.2 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.1877, allocations: 24.67 kB / 451.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007981/0.1885, allocations: 401.1 kB / 451.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1885, allocations: 2.969 kB / 451.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1885, allocations: 0 / 451.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1885, allocations: 5.297 kB / 451.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008284/0.1893, allocations: 0.6481 MB / 452.3 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1893, allocations: 0 / 452.3 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1895, allocations: 64.94 kB / 452.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1895, allocations: 0 / 452.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1895, allocations: 7.188 kB / 452.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.1895, allocations: 8.125 kB / 452.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1895, allocations: 0 / 452.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.1902, allocations: 476.6 kB / 452.9 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.1902, allocations: 24.8 kB / 452.9 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1902, allocations: 3.938 kB / 452.9 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.1904, allocations: 75.5 kB / 453 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1905, allocations: 45.92 kB / 453 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1905, allocations: 5.859 kB / 453 MB, free: 39.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.69e-05/0.1906, allocations: 188.7 kB / 453.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1906, allocations: 0 / 453.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.1908, allocations: 52.83 kB / 453.3 MB, free: 39.38 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001398/0.1922, allocations: 1.345 MB / 454.6 MB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007227/0.1929, allocations: 0.5033 MB / 455.1 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1929, allocations: 4 kB / 455.1 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.1933, allocations: 180.4 kB / 455.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1935, allocations: 51.34 kB / 455.3 MB, free: 38.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.1965, allocations: 3.064 MB / 458.4 MB, free: 36.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.1965, allocations: 114.2 kB / 458.5 MB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.251e-05/0.1966, allocations: 22.02 kB / 458.5 MB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.1967, allocations: 59.5 kB / 458.6 MB, free: 36.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1967, allocations: 0 / 458.6 MB, free: 36.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.216, allocations: 6.786 MB / 465.4 MB, free: 34.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.224, allocations: 14.47 kB / 465.4 MB, free: 34.6 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00279441 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:time,der(d_t_new.u),der(trapezoid1.y),der(trapezoid2.y),d_t_new.u,d_t_new.y [Calling sys.exit(0), Time elapsed: 9.324770453386009]