Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008356/0.0008356, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008785/0.0008785, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9065/0.9065, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.373e-05, allocations: 4.953 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.1845/0.1845, allocations: 1.812 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1856, allocations: 0.9687 MB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.1856, allocations: 0 / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1858, allocations: 61.45 kB / 445 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.1861, allocations: 128.3 kB / 445.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.1863, allocations: 164.4 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1865, allocations: 193.2 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.1866, allocations: 24.17 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1867, allocations: 105.4 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.954e-05/0.1868, allocations: 88.42 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1868, allocations: 15.16 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.1869, allocations: 50.06 kB / 445.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.1869, allocations: 36.97 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.187, allocations: 55.86 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.1872, allocations: 196.1 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1872, allocations: 2.156 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1872, allocations: 0 / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1872, allocations: 0.7188 kB / 446.1 MB, free: 42.76 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.0006188/0.1878, allocations: 0.5138 MB / 446.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1878, allocations: 12.03 kB / 446.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.158e-05/0.1878, allocations: 36.55 kB / 446.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.1879, allocations: 21.72 kB / 446.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.188, allocations: 180 kB / 446.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.188, allocations: 7.219 kB / 446.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1881, allocations: 3.312 kB / 446.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1883, allocations: 145.2 kB / 447 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1883, allocations: 192 / 447 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1883, allocations: 4.125 kB / 447 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1883, allocations: 6.875 kB / 447 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.1887, allocations: 166.5 kB / 447.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.189, allocations: 312.2 kB / 447.5 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.1893, allocations: 189.3 kB / 447.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.1895, allocations: 100.7 kB / 447.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1895, allocations: 0 / 447.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.1898, allocations: 159 kB / 447.9 MB, free: 41.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1898, allocations: 4 kB / 447.9 MB, free: 41.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001722/0.1916, allocations: 0.8212 MB / 448.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1916, allocations: 61.64 kB / 448.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1917, allocations: 257.4 kB / 449 MB, free: 41.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1917, allocations: 32.52 kB / 449.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.1918, allocations: 124.2 kB / 449.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.1918, allocations: 37.66 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.1919, allocations: 37.86 kB / 449.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.234e-05/0.1919, allocations: 334.2 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.1922, allocations: 223.1 kB / 449.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.1925, allocations: 228.4 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/0.1931, allocations: 362.1 kB / 450.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1931, allocations: 0 / 450.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006956/0.1938, allocations: 0.5097 MB / 450.9 MB, free: 40.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.1939, allocations: 64.45 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1939, allocations: 4 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1939, allocations: 2.844 kB / 451 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.1941, allocations: 70.88 kB / 451 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1941, allocations: 0 / 451 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1942, allocations: 68.34 kB / 451.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1943, allocations: 2.875 kB / 451.1 MB, free: 40.2 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 6.873e-05/0.1943, allocations: 136.4 kB / 451.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.1943, allocations: 31.36 kB / 451.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006991/0.195, allocations: 403.8 kB / 451.6 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.195, allocations: 6.969 kB / 451.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1951, allocations: 0 / 451.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1951, allocations: 0 / 451.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008111/0.1959, allocations: 0.647 MB / 452.3 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1959, allocations: 0 / 452.3 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.196, allocations: 74.28 kB / 452.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.196, allocations: 0 / 452.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.196, allocations: 0 / 452.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.196, allocations: 2.938 kB / 452.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.196, allocations: 6.625 kB / 452.4 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.1967, allocations: 481.8 kB / 452.9 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.1967, allocations: 20.92 kB / 452.9 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1967, allocations: 6.906 kB / 452.9 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1969, allocations: 64.55 kB / 452.9 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.197, allocations: 50.86 kB / 453 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.197, allocations: 9.891 kB / 453 MB, free: 39.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.59e-05/0.1971, allocations: 188.8 kB / 453.2 MB, free: 39.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1971, allocations: 0 / 453.2 MB, free: 39.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.1973, allocations: 47.31 kB / 453.2 MB, free: 39.25 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.00136/0.1987, allocations: 1.33 MB / 454.6 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007314/0.1994, allocations: 0.5085 MB / 455.1 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1994, allocations: 2.938 kB / 455.1 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.1997, allocations: 178.2 kB / 455.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.2, allocations: 47.03 kB / 455.3 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.2029, allocations: 3.061 MB / 458.4 MB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.963e-05/0.2029, allocations: 119.7 kB / 458.5 MB, free: 36.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.161e-05/0.203, allocations: 21.64 kB / 458.5 MB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.742e-05/0.2031, allocations: 56.34 kB / 458.6 MB, free: 36.11 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2031, allocations: 4 kB / 458.6 MB, free: 36.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.219, allocations: 6.805 MB / 465.4 MB, free: 34.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/7.444, allocations: 7.219 kB / 465.4 MB, free: 34.45 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_trunk_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.532708044163883]