Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.000874/0.000874, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008426/0.0008426, allocations: 170 kB / 23.94 MB, free: 0.6211 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.9131/0.9131, allocations: 177.1 MB / 204.2 MB, free: 5.746 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.2544/0.2544, allocations: 34.24 MB / 294.9 MB, free: 0.6992 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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.648e-05, allocations: 7.547 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.1696/0.1696, allocations: 1.661 MB / 443.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.1703, allocations: 0.5684 MB / 444.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.1703, allocations: 0 / 444.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.1707, allocations: 463.1 kB / 444.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.171, allocations: 297.4 kB / 445.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1712, allocations: 178.8 kB / 445.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1713, allocations: 184.8 kB / 445.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.732e-05/0.1714, allocations: 16.47 kB / 445.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.1715, allocations: 120.5 kB / 445.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1717, allocations: 245.4 kB / 445.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1717, allocations: 3.031 kB / 445.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.1717, allocations: 58.81 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.1718, allocations: 87.28 kB / 446 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.1718, allocations: 38.91 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.172, allocations: 260.9 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.172, allocations: 0 / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.172, allocations: 0 / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.172, allocations: 0.5 kB / 446.3 MB, free: 42.61 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.0003844/0.1724, allocations: 0.5952 MB / 446.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1725, allocations: 11.28 kB / 446.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.995e-05/0.1725, allocations: 37.38 kB / 447 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.1725, allocations: 48.81 kB / 447 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1726, allocations: 253.5 kB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.1726, allocations: 5.656 kB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1727, allocations: 3.344 kB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.1728, allocations: 56.88 kB / 447.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1728, allocations: 3 kB / 447.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.1728, allocations: 6.938 kB / 447.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1728, allocations: 0 / 447.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.718e-05/0.1728, allocations: 39.08 kB / 447.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.1731, allocations: 371.8 kB / 447.8 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.464e-05/0.1732, allocations: 54.61 kB / 447.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.1732, allocations: 20.02 kB / 447.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1732, allocations: 0 / 447.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.1732, allocations: 33.91 kB / 447.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1732, allocations: 0 / 447.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005153/0.1738, allocations: 338.1 kB / 448.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.1738, allocations: 51.41 kB / 448.2 MB, free: 41.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.1742, allocations: 0.8757 MB / 449.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.1742, allocations: 28.95 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.1743, allocations: 224.6 kB / 449.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1743, allocations: 29.42 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.1743, allocations: 24.69 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.1743, allocations: 368.2 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.1744, allocations: 33.91 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.1744, allocations: 31.64 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.215e-05/0.1745, allocations: 78.05 kB / 449.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1745, allocations: 0 / 449.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001188/0.1746, allocations: 145.4 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1746, allocations: 8.594 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1746, allocations: 2.906 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.1746, allocations: 4 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.1747, allocations: 17.12 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1747, allocations: 0 / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.1747, allocations: 16.28 kB / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1747, allocations: 0 / 450.1 MB, free: 40.67 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 9.356e-05/0.1748, allocations: 218.6 kB / 450.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.1749, allocations: 44.09 kB / 450.4 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.175, allocations: 179.1 kB / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.175, allocations: 0 / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.175, allocations: 0 / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.175, allocations: 0 / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.1754, allocations: 499.2 kB / 451 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1754, allocations: 0 / 451 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.1754, allocations: 21.5 kB / 451 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1754, allocations: 0 / 451 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1754, allocations: 14.84 kB / 451.1 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1754, allocations: 2.938 kB / 451.1 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1754, allocations: 0 / 451.1 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.1755, allocations: 245 kB / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.1755, allocations: 46.48 kB / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1756, allocations: 6.781 kB / 451.4 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.1756, allocations: 4.875 kB / 451.4 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.1756, allocations: 10.17 kB / 451.4 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1756, allocations: 6.938 kB / 451.4 MB, free: 39.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003007/0.1759, allocations: 0.6656 MB / 452 MB, free: 39.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1759, allocations: 0 / 452 MB, free: 39.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.1761, allocations: 33.92 kB / 452.1 MB, free: 39.69 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.0008002/0.1769, allocations: 1.16 MB / 453.2 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.177, allocations: 77.34 kB / 453.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.177, allocations: 3.938 kB / 453.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.1771, allocations: 45.73 kB / 453.4 MB, free: 38.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1773, allocations: 28.53 kB / 453.4 MB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.1791, allocations: 3.4 MB / 456.8 MB, free: 37.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.1792, allocations: 231.7 kB / 457 MB, free: 36.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.1793, allocations: 24.7 kB / 457 MB, free: 36.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.1794, allocations: 119.5 kB / 457.2 MB, free: 36.82 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1794, allocations: 0 / 457.2 MB, free: 36.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.1963, allocations: 7.136 MB / 464.3 MB, free: 35.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.351, allocations: 7.312 kB / 464.3 MB, free: 35.12 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.47315168287605]