Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001086/0.001086, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001369/0.001369, allocations: 156.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.878/0.878, 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.2571/0.2571, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.104e-05, allocations: 2.281 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.1823/0.1823, allocations: 1.67 MB / 443.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007947/0.1831, allocations: 0.5469 MB / 444.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1832, allocations: 0 / 444.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.1836, allocations: 452.1 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.1839, allocations: 299.8 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1842, allocations: 140 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.1844, allocations: 177.5 kB / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1845, allocations: 12.05 kB / 445.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.1846, allocations: 131.5 kB / 445.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1847, allocations: 243.8 kB / 445.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1848, allocations: 5.812 kB / 445.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-05/0.1849, allocations: 54.09 kB / 445.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.1849, allocations: 89.02 kB / 446 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.185, allocations: 40.42 kB / 446 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.1852, allocations: 259.2 kB / 446.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1852, allocations: 7.359 kB / 446.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1852, allocations: 0 / 446.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1852, allocations: 2.906 kB / 446.3 MB, free: 42.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004704/0.1857, allocations: 0.5937 MB / 446.9 MB, free: 42.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1857, allocations: 8.531 kB / 446.9 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.1857, allocations: 41.08 kB / 446.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.1858, allocations: 42 kB / 447 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.186, allocations: 255.5 kB / 447.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.186, allocations: 384 / 447.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.186, allocations: 3.344 kB / 447.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1861, allocations: 75.84 kB / 447.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1862, allocations: 192 / 447.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1862, allocations: 384 / 447.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1862, allocations: 6.875 kB / 447.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.1863, allocations: 40.92 kB / 447.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.1866, allocations: 368.5 kB / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1868, allocations: 55.34 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.1868, allocations: 23.25 kB / 447.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1868, allocations: 0 / 447.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.193e-05/0.1868, allocations: 37.23 kB / 447.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1868, allocations: 0 / 447.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008335/0.1877, allocations: 487.6 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.1877, allocations: 51.41 kB / 448.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.1882, allocations: 0.8658 MB / 449.2 MB, free: 41.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.1882, allocations: 28.7 kB / 449.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.1882, allocations: 218.1 kB / 449.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.1883, allocations: 37.58 kB / 449.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.1883, allocations: 25.66 kB / 449.5 MB, free: 41.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.1883, allocations: 369.6 kB / 449.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.1884, allocations: 45.03 kB / 449.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.1885, allocations: 42.62 kB / 449.9 MB, free: 40.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1886, allocations: 101.6 kB / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1886, allocations: 5.594 kB / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001784/0.1888, allocations: 177 kB / 450.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1888, allocations: 2.844 kB / 450.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1888, allocations: 6.875 kB / 450.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1888, allocations: 0 / 450.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.1889, allocations: 27.17 kB / 450.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1889, allocations: 0 / 450.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.1889, allocations: 17.12 kB / 450.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1889, allocations: 6.969 kB / 450.3 MB, free: 40.73 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 (11): * Single equations (assignments): 11 * 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.0001127/0.1891, allocations: 220.5 kB / 450.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1891, allocations: 48.92 kB / 450.5 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.1893, allocations: 202.2 kB / 450.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1894, allocations: 0 / 450.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1894, allocations: 5.719 kB / 450.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1894, allocations: 0 / 450.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.1898, allocations: 0.5362 MB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1898, allocations: 2.625 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.1899, allocations: 22.05 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1899, allocations: 6.594 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1899, allocations: 13.98 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1899, allocations: 3.25 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1899, allocations: 4.062 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.1901, allocations: 280.5 kB / 451.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.1901, allocations: 39.36 kB / 451.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1901, allocations: 7.938 kB / 451.7 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.1902, allocations: 15.08 kB / 451.7 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.1902, allocations: 10.25 kB / 451.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1902, allocations: 2.938 kB / 451.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003432/0.1906, allocations: 0.6569 MB / 452.3 MB, free: 39.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1906, allocations: 0 / 452.3 MB, free: 39.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.1908, allocations: 40.83 kB / 452.4 MB, free: 39.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009858/0.1918, allocations: 1.186 MB / 453.6 MB, free: 38.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.192, allocations: 104.1 kB / 453.7 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.192, allocations: 0 / 453.7 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.192, allocations: 62.97 kB / 453.7 MB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1924, allocations: 26.44 kB / 453.8 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1947, allocations: 3.464 MB / 457.2 MB, free: 36.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.1948, allocations: 232.3 kB / 457.4 MB, free: 36.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.35e-05/0.1949, allocations: 17.55 kB / 457.5 MB, free: 36.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.195, allocations: 119.7 kB / 457.6 MB, free: 36.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.195, allocations: 3.219 kB / 457.6 MB, free: 36.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.2155, allocations: 7.219 MB / 464.8 MB, free: 34.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.222, allocations: 7.188 kB / 464.8 MB, free: 34.91 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.294292177073658]