Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0009027/0.0009027, 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.001007/0.001007, 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.9335/0.9335, 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.271/0.271, 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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.445e-05, allocations: 8.25 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002683/0.002708, allocations: 1.607 MB / 443.8 MB, free: 24 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1808/0.1835, allocations: 0.5228 MB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.1836, allocations: 0 / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.1838, allocations: 133.8 kB / 444.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.1841, allocations: 124.4 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.1843, allocations: 94.42 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1845, allocations: 103.8 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1846, allocations: 9.125 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.623e-05/0.1846, allocations: 63.17 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1847, allocations: 84.72 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1847, allocations: 4.75 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.1848, allocations: 49.41 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.1849, allocations: 22.52 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.1849, allocations: 22.84 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.185, allocations: 111.3 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.185, allocations: 3.938 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.185, allocations: 2.875 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.1851, allocations: 2.719 kB / 445.1 MB, free: 43.09 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.0003522/0.1854, allocations: 362.9 kB / 445.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1854, allocations: 14.64 kB / 445.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.219e-05/0.1855, allocations: 34.44 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.1855, allocations: 14.72 kB / 445.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1856, allocations: 156 kB / 445.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1856, allocations: 10.12 kB / 445.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.1856, allocations: 3.062 kB / 445.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1857, allocations: 54.08 kB / 445.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1858, allocations: 10.42 kB / 445.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1858, allocations: 6.906 kB / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1858, allocations: 0 / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.825e-05/0.1858, allocations: 25.97 kB / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.1861, allocations: 266.4 kB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.34e-05/0.1862, allocations: 46.78 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.1862, allocations: 20.39 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1862, allocations: 0.5938 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.1862, allocations: 31.16 kB / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1862, allocations: 0 / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005768/0.1868, allocations: 237.9 kB / 446.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.1868, allocations: 51.41 kB / 446.5 MB, free: 42.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.187, allocations: 277.5 kB / 446.7 MB, free: 42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.187, allocations: 29.23 kB / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.187, allocations: 114.4 kB / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.1871, allocations: 29.03 kB / 446.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1871, allocations: 22.17 kB / 446.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.1871, allocations: 334.9 kB / 447.2 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.1872, allocations: 23.97 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.1872, allocations: 24.44 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.64e-05/0.1873, allocations: 72.8 kB / 447.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1873, allocations: 0 / 447.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001182/0.1874, allocations: 103.5 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1874, allocations: 5.281 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1874, allocations: 0.7812 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1875, allocations: 2.812 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.1875, allocations: 19.42 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1875, allocations: 0 / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.1876, allocations: 5.781 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1876, allocations: 6.719 kB / 447.5 MB, free: 41.47 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 (8): * Single equations (assignments): 8 * 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 6.002e-05/0.1876, allocations: 143.1 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.1877, allocations: 17.62 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.1878, allocations: 118.3 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1878, allocations: 0 / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1878, allocations: 0 / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1878, allocations: 0 / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.1882, allocations: 387 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1882, allocations: 0 / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.1882, allocations: 22.09 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1882, allocations: 0 / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1882, allocations: 3.469 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1882, allocations: 3.938 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1882, allocations: 0 / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1883, allocations: 208.5 kB / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.1884, allocations: 13.95 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1884, allocations: 9.938 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.1884, allocations: 6.781 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1884, allocations: 10.25 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.1884, allocations: 2.906 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.1885, allocations: 209.8 kB / 448.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1885, allocations: 3.938 kB / 448.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.1887, allocations: 24.81 kB / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009504/0.1897, allocations: 1.125 MB / 449.8 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1898, allocations: 67.77 kB / 449.9 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1898, allocations: 0 / 449.9 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.1899, allocations: 35.2 kB / 449.9 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.1902, allocations: 19.84 kB / 449.9 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1913, allocations: 1.812 MB / 451.7 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.437e-05/0.1914, allocations: 112.7 kB / 451.8 MB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.078e-05/0.1914, allocations: 9.875 kB / 451.8 MB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.1915, allocations: 37.72 kB / 451.9 MB, free: 38.5 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1915, allocations: 0 / 451.9 MB, free: 38.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.2087, allocations: 4.101 MB / 456 MB, free: 37.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.834/7.042, allocations: 10.95 kB / 456 MB, free: 37.11 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.241371634416282]