Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001505/0.001505, allocations: 104.1 kB / 16.4 MB, free: 6.508 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.001819/0.001819, 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.524/1.524, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2494/0.2494, allocations: 43.52 MB / 314.1 MB, free: 452 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.002611/0.002611, allocations: 73.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1632, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003966/0.1672, allocations: 1.573 MB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000851/0.1681, allocations: 335.4 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.1682, allocations: 0 / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.1685, allocations: 31.84 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.1688, allocations: 39.78 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1691, allocations: 67.84 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1693, allocations: 67.77 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1694, allocations: 20.17 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.491e-05/0.1695, allocations: 19.92 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.1696, allocations: 27.84 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1696, allocations: 4 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1698, allocations: 51.97 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.1698, allocations: 11.98 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.1699, allocations: 31.73 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1702, allocations: 95.77 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1702, allocations: 0 / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1702, allocations: 4 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1702, allocations: 0 / 0.4897 GB, free: 9.891 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006004/0.1708, allocations: 387.1 kB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.1709, allocations: 11.89 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.1709, allocations: 42.73 kB / 0.4901 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.171, allocations: 8.844 kB / 0.4901 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.1713, allocations: 184.2 kB / 0.4903 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1713, allocations: 4.359 kB / 0.4903 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1713, allocations: 4.125 kB / 0.4903 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1716, allocations: 75.39 kB / 0.4904 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1716, allocations: 0 / 0.4904 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1716, allocations: 4 kB / 0.4904 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1716, allocations: 0 / 0.4904 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.1718, allocations: 39.95 kB / 0.4904 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.1723, allocations: 304.6 kB / 0.4907 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.1725, allocations: 54.56 kB / 0.4908 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.1726, allocations: 28.97 kB / 0.4908 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1726, allocations: 0 / 0.4908 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1727, allocations: 30.56 kB / 0.4908 GB, free: 8.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1727, allocations: 0 / 0.4908 GB, free: 8.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008252/0.1735, allocations: 169.4 kB / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.1736, allocations: 81.11 kB / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1738, allocations: 133.8 kB / 0.4912 GB, free: 8.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1738, allocations: 29.64 kB / 0.4912 GB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.1739, allocations: 99.98 kB / 0.4913 GB, free: 8.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.1739, allocations: 27.64 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.174, allocations: 21.66 kB / 0.4914 GB, free: 7.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1741, allocations: 326.8 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1742, allocations: 24.06 kB / 0.4917 GB, free: 7.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.1744, allocations: 41.67 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.1746, allocations: 56.83 kB / 0.4918 GB, free: 7.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1746, allocations: 4 kB / 0.4918 GB, free: 7.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000287/0.1749, allocations: 85.7 kB / 0.4919 GB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1749, allocations: 4 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1749, allocations: 4 kB / 0.4919 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.175, allocations: 3.984 kB / 0.4919 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1751, allocations: 15.94 kB / 0.4919 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1751, allocations: 0 / 0.4919 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-05/0.1752, allocations: 16.2 kB / 0.4919 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1752, allocations: 0 / 0.4919 GB, free: 7.363 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 (7): * Single equations (assignments): 7 * 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.0001022/0.1753, allocations: 125.8 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.1754, allocations: 4 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/0.1757, allocations: 117.9 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1758, allocations: 0 / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1758, allocations: 3.938 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1758, allocations: 3.938 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006002/0.1764, allocations: 374.9 kB / 0.4925 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1764, allocations: 0 / 0.4925 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.1765, allocations: 15.98 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1765, allocations: 0 / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1765, allocations: 7.938 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1766, allocations: 4 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1766, allocations: 0 / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.1769, allocations: 199.4 kB / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.177, allocations: 77.11 kB / 0.4928 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.177, allocations: 15.92 kB / 0.4928 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1771, allocations: 0 / 0.4928 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1772, allocations: 11.92 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1772, allocations: 4 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1773, allocations: 107.3 kB / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1773, allocations: 0 / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000441/0.1778, allocations: 27.98 kB / 0.493 GB, free: 6.176 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 (7): * Single equations (assignments): 7 * 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.001947/0.1797, allocations: 1.062 MB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.18, allocations: 59.91 kB / 0.4941 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1801, allocations: 0 / 0.4941 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1802, allocations: 39.91 kB / 0.4941 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.1807, allocations: 11.44 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.1828, allocations: 1.457 MB / 0.4956 GB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1832, allocations: 0.6924 MB / 0.4962 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1833, allocations: 27.95 kB / 0.4963 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.1834, allocations: 23.42 kB / 0.4963 GB, free: 2.723 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1834, allocations: 0 / 0.4963 GB, free: 2.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.2072, allocations: 2.958 MB / 0.4992 GB, free: 15.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/7.896, allocations: 7.938 kB / 0.4992 GB, free: 15.69 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],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(clock.y),der(d_t_new.u),realExpression.y,t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time