Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 108.1 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2266/0.2266, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 69.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.125, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.0031/0.1281, allocations: 1.554 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007409/0.1289, allocations: 335.4 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.129, allocations: 4 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.1295, allocations: 119.7 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1297, allocations: 79.77 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1301, allocations: 107.7 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1303, allocations: 71.88 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1304, allocations: 19.95 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.1305, allocations: 39.84 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.1307, allocations: 83.78 kB / 0.4897 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1307, allocations: 3.938 kB / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.593e-05/0.1308, allocations: 39.98 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.057e-05/0.1308, allocations: 27.91 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.1309, allocations: 27.75 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1311, allocations: 103.6 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1311, allocations: 0 / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1311, allocations: 0 / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1311, allocations: 0 / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005328/0.1317, allocations: 418.8 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1317, allocations: 15.83 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.1318, allocations: 38.69 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.1318, allocations: 16.75 kB / 0.4904 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.132, allocations: 207.8 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.132, allocations: 384 / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.1321, allocations: 8.375 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1322, allocations: 45.62 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1323, allocations: 0 / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1323, allocations: 7.984 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1323, allocations: 0 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/0.1324, allocations: 27.97 kB / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1328, allocations: 300.8 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.133, allocations: 42.56 kB / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.1331, allocations: 16.94 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1331, allocations: 0 / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1332, allocations: 38.56 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1332, allocations: 4 kB / 0.4911 GB, free: 8.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005704/0.1337, allocations: 153.1 kB / 0.4912 GB, free: 8.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1338, allocations: 55.41 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.1341, allocations: 266.3 kB / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1341, allocations: 29.64 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.1342, allocations: 120.1 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.1342, allocations: 19.66 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.1343, allocations: 17.72 kB / 0.4917 GB, free: 7.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1344, allocations: 326.8 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.1345, allocations: 23.97 kB / 0.492 GB, free: 7.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.1346, allocations: 19.98 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1347, allocations: 57.02 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1347, allocations: 4 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001968/0.1349, allocations: 81.58 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1349, allocations: 11.98 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.135, allocations: 0 / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.135, allocations: 0 / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.135, allocations: 11.94 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1351, allocations: 7.938 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.1351, allocations: 7.984 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1351, allocations: 7.938 kB / 0.4922 GB, free: 7.07 MB / 382.1 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 (5): * Single equations (assignments): 5 * 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.0001132/0.1353, allocations: 137.8 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.1353, allocations: 11.81 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.1356, allocations: 106.6 kB / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1356, allocations: 0 / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1356, allocations: 0 / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1356, allocations: 4 kB / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.1361, allocations: 366.4 kB / 0.4928 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1361, allocations: 3.984 kB / 0.4928 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.1362, allocations: 16 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1362, allocations: 0 / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1362, allocations: 0 / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1362, allocations: 3.938 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1362, allocations: 192 / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1365, allocations: 199.3 kB / 0.4931 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.1366, allocations: 81.02 kB / 0.4931 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1366, allocations: 7.984 kB / 0.4931 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.1367, allocations: 7.938 kB / 0.4931 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.1367, allocations: 4 kB / 0.4931 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1367, allocations: 0 / 0.4931 GB, free: 6.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.1369, allocations: 207.2 kB / 0.4933 GB, free: 5.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1369, allocations: 4 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1372, allocations: 11.91 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001471/0.1387, allocations: 1.026 MB / 0.4944 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1389, allocations: 47.97 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1389, allocations: 4 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.139, allocations: 27.97 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.1394, allocations: 23.8 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.1414, allocations: 1.719 MB / 0.4961 GB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1418, allocations: 0.7119 MB / 0.4968 GB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.164e-05/0.1419, allocations: 11.98 kB / 0.4968 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.1419, allocations: 35.42 kB / 0.4969 GB, free: 2.117 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1419, allocations: 7.875 kB / 0.4969 GB, free: 2.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.1647, allocations: 3.052 MB / 0.4999 GB, free: 15.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/7.983, allocations: 16.28 kB / 0.4999 GB, free: 15.03 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time