Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.0008577/0.0008577, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009326/0.0009326, allocations: 174 kB / 23.95 MB, free: 0.6133 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.9431/0.9431, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2435/0.2435, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.372e-06, allocations: 3.984 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/3.199e-05, allocations: 2.281 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002354/0.002386, allocations: 1.675 MB / 441.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.00319, allocations: 0.5646 MB / 441.8 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.003257, allocations: 0 / 441.8 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.003532, allocations: 67.77 kB / 441.9 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.003815, allocations: 107.5 kB / 442 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.004186, allocations: 183.2 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.004344, allocations: 95.69 kB / 442.3 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.004461, allocations: 20.2 kB / 442.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.004533, allocations: 51.89 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.004626, allocations: 47.88 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.004641, allocations: 7.938 kB / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.978e-05/0.00473, allocations: 55.91 kB / 442.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.004796, allocations: 31.84 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.004825, allocations: 15.94 kB / 442.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.005303, allocations: 131.5 kB / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005305, allocations: 0 / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005306, allocations: 0 / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.00531, allocations: 0 / 442.6 MB, free: 1.168 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.0004121/0.005722, allocations: 365.5 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.005756, allocations: 8.031 kB / 443 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.005791, allocations: 34.75 kB / 443 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.00582, allocations: 16.84 kB / 443.1 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.005964, allocations: 145.5 kB / 443.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.005974, allocations: 8.375 kB / 443.2 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.005993, allocations: 4.375 kB / 443.2 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.00612, allocations: 70.16 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.00613, allocations: 192 / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.00614, allocations: 11.94 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.006144, allocations: 3.984 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.219e-05/0.006226, allocations: 35.97 kB / 443.3 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.006597, allocations: 299.7 kB / 443.6 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.006765, allocations: 54.55 kB / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1762/0.183, allocations: 30.94 kB / 443.7 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/0.183, allocations: 3.062 kB / 443.7 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1831, allocations: 34.84 kB / 443.7 MB, free: 46.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 3.877e-06/0.1831, allocations: 0 / 443.7 MB, free: 46.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001162/0.1842, allocations: 421.4 kB / 444.2 MB, free: 46.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1843, allocations: 59.05 kB / 444.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1844, allocations: 223.8 kB / 444.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.1844, allocations: 30.89 kB / 444.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.1845, allocations: 118.5 kB / 444.6 MB, free: 46.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1845, allocations: 29.86 kB / 444.6 MB, free: 46.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.1845, allocations: 28.86 kB / 444.6 MB, free: 46.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.1846, allocations: 330.1 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.1847, allocations: 57.03 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.1848, allocations: 51.33 kB / 445.1 MB, free: 45.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1849, allocations: 127.5 kB / 445.2 MB, free: 45.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1849, allocations: 2.844 kB / 445.2 MB, free: 45.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001956/0.1851, allocations: 169.7 kB / 445.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1851, allocations: 5.75 kB / 445.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1851, allocations: 3.281 kB / 445.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1852, allocations: 2.562 kB / 445.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.1852, allocations: 22.58 kB / 445.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1852, allocations: 3.203 kB / 445.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1853, allocations: 10.88 kB / 445.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1853, allocations: 23.23 kB / 445.4 MB, free: 45.74 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 6.632e-05/0.1854, allocations: 130.3 kB / 445.6 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.1854, allocations: 13.16 kB / 445.6 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.1856, allocations: 193 kB / 445.8 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1856, allocations: 0 / 445.8 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1856, allocations: 0 / 445.8 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1856, allocations: 0 / 445.8 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.1861, allocations: 481.9 kB / 446.2 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1861, allocations: 0 / 446.2 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.1861, allocations: 27.89 kB / 446.3 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1861, allocations: 3.938 kB / 446.3 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1862, allocations: 10.81 kB / 446.3 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1862, allocations: 9.5 kB / 446.3 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1862, allocations: 0 / 446.3 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1863, allocations: 272.2 kB / 446.5 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.1864, allocations: 20.36 kB / 446.6 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1864, allocations: 3.938 kB / 446.6 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.1864, allocations: 11.28 kB / 446.6 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.1865, allocations: 23.77 kB / 446.6 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1865, allocations: 3.125 kB / 446.6 MB, free: 45.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.1866, allocations: 165.2 kB / 446.8 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1866, allocations: 0 / 446.8 MB, free: 44.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.1868, allocations: 27.05 kB / 446.8 MB, free: 44.91 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.001016/0.1878, allocations: 1.191 MB / 448 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.188, allocations: 128.5 kB / 448.1 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.188, allocations: 0 / 448.1 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.1881, allocations: 68.92 kB / 448.2 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1884, allocations: 16.23 kB / 448.2 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1898, allocations: 1.996 MB / 450.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.66e-05/0.1898, allocations: 111.3 kB / 450.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.707e-05/0.1899, allocations: 33.64 kB / 450.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.19, allocations: 47.27 kB / 450.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.19, allocations: 0 / 450.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.2078, allocations: 4.344 MB / 454.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.209, allocations: 10.47 kB / 454.7 MB, free: 41.13 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.369716458953917]