Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",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.001212/0.001212, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001105/0.001105, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.635/1.635, 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.2295/0.2295, allocations: 43.52 MB / 314.1 MB, free: 456 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.001889/0.001889, allocations: 69.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1292, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.003574/0.1328, allocations: 1.562 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007526/0.1336, allocations: 355.3 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.1337, allocations: 0 / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.134, allocations: 23.86 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1343, allocations: 39.84 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1347, allocations: 91.73 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1348, allocations: 59.84 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.135, allocations: 16.17 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.135, allocations: 23.86 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.1351, allocations: 23.84 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1352, allocations: 4 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.1353, allocations: 55.97 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.1354, allocations: 11.98 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.1354, allocations: 27.8 kB / 0.4896 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.1357, allocations: 91.72 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1358, allocations: 0 / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1358, allocations: 0 / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1358, allocations: 0 / 0.4897 GB, free: 9.895 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007086/0.1365, allocations: 387.2 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1366, allocations: 11.89 kB / 0.4901 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.733e-05/0.1366, allocations: 34.75 kB / 0.4901 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.1367, allocations: 8.844 kB / 0.4901 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1369, allocations: 188.3 kB / 0.4903 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1369, allocations: 4.375 kB / 0.4903 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.137, allocations: 12.06 kB / 0.4903 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1372, allocations: 71.33 kB / 0.4904 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1372, allocations: 0 / 0.4904 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1372, allocations: 4 kB / 0.4904 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1373, allocations: 0 / 0.4904 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1374, allocations: 27.97 kB / 0.4904 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.138, allocations: 284.9 kB / 0.4907 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1381, allocations: 46.48 kB / 0.4908 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.1382, allocations: 16.86 kB / 0.4908 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.1382, allocations: 4 kB / 0.4908 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1382, allocations: 34.64 kB / 0.4908 GB, free: 8.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1383, allocations: 4 kB / 0.4908 GB, free: 8.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008007/0.1391, allocations: 157.2 kB / 0.491 GB, free: 8.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.1391, allocations: 81.09 kB / 0.491 GB, free: 8.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1393, allocations: 129.8 kB / 0.4912 GB, free: 8.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.1394, allocations: 29.7 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.1394, allocations: 96.06 kB / 0.4913 GB, free: 8.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1395, allocations: 23.66 kB / 0.4913 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.1395, allocations: 25.7 kB / 0.4913 GB, free: 8.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1397, allocations: 314.8 kB / 0.4916 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.1398, allocations: 23.97 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.1399, allocations: 41.77 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.14, allocations: 60.8 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1401, allocations: 0 / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002303/0.1403, allocations: 85.66 kB / 0.4918 GB, free: 7.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1403, allocations: 8 kB / 0.4918 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1403, allocations: 0 / 0.4918 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1404, allocations: 0 / 0.4918 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1405, allocations: 15.98 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1405, allocations: 0 / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.1405, allocations: 11.94 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.1406, allocations: 4 kB / 0.4919 GB, free: 7.441 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 (6): * Single equations (assignments): 6 * 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.0001139/0.1407, allocations: 121.8 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.1407, allocations: 7.906 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.141, allocations: 105.9 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.141, allocations: 4 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.141, allocations: 3.938 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.141, allocations: 3.938 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.1416, allocations: 370.6 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1416, allocations: 64 / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.1417, allocations: 15.98 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1417, allocations: 4 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1417, allocations: 3.938 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1417, allocations: 0 / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1417, allocations: 0 / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.142, allocations: 183.5 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.142, allocations: 89 kB / 0.4927 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1421, allocations: 7.875 kB / 0.4927 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.1422, allocations: 8 kB / 0.4928 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.1422, allocations: 7.984 kB / 0.4928 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1422, allocations: 0 / 0.4928 GB, free: 6.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.837e-05/0.1423, allocations: 103.3 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1423, allocations: 4 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1426, allocations: 24 kB / 0.4929 GB, free: 6.285 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 (6): * Single equations (assignments): 6 * 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.001563/0.1442, allocations: 1.065 MB / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.1444, allocations: 63.84 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1444, allocations: 0 / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.1445, allocations: 27.97 kB / 0.494 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1449, allocations: 15.61 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.1466, allocations: 1.428 MB / 0.4954 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1469, allocations: 0.6885 MB / 0.4961 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.317e-05/0.147, allocations: 20.42 kB / 0.4961 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.1471, allocations: 31.42 kB / 0.4961 GB, free: 2.867 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1471, allocations: 0 / 0.4961 GB, free: 2.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.1682, allocations: 2.888 MB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.061, allocations: 4.062 kB / 0.499 GB, free: 15.91 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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,realExpression.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]),realExpression.y,t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time