Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test23",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.001236/0.001236, allocations: 103.7 kB / 16.4 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.00112/0.00112, 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.665/1.665, 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.2559/0.2559, 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.002411/0.002411, allocations: 69.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1597, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.003808/0.1636, allocations: 1.547 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1651, allocations: 0.9456 MB / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.1651, allocations: 4 kB / 0.4898 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.1654, allocations: 23.84 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1657, allocations: 43.78 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1659, allocations: 95.8 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1661, allocations: 51.91 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1662, allocations: 27.84 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.1663, allocations: 19.92 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1665, allocations: 19.92 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1665, allocations: 7.938 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1666, allocations: 51.97 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.1667, allocations: 11.98 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.1667, allocations: 15.88 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1669, allocations: 91.77 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.167, allocations: 3.938 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.167, allocations: 0 / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.167, allocations: 0 / 0.4903 GB, free: 9.297 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.0005633/0.1675, allocations: 387.1 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1676, allocations: 15.89 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.1677, allocations: 34.75 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.1677, allocations: 8.844 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1679, allocations: 184.3 kB / 0.4909 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1679, allocations: 4.375 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.168, allocations: 384 / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1681, allocations: 79.27 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1682, allocations: 0 / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1682, allocations: 0 / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1682, allocations: 0 / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.349e-05/0.1683, allocations: 19.98 kB / 0.491 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.1687, allocations: 288.9 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1689, allocations: 42.5 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.169, allocations: 16.86 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.169, allocations: 4.078 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1691, allocations: 34.56 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.1691, allocations: 4 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005819/0.1697, allocations: 141.3 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.1697, allocations: 81.11 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.1699, allocations: 129.8 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1699, allocations: 25.7 kB / 0.4917 GB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.17, allocations: 100 kB / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.17, allocations: 19.75 kB / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.1701, allocations: 17.72 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1702, allocations: 330.6 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.1703, allocations: 19.98 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.1704, allocations: 37.69 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1705, allocations: 56.8 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1705, allocations: 0 / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001923/0.1707, allocations: 85.58 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1708, allocations: 4 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1708, allocations: 0 / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1708, allocations: 0 / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.1709, allocations: 15.98 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1709, allocations: 0 / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.1709, allocations: 7.984 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1709, allocations: 8.188 kB / 0.4924 GB, free: 6.887 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 9.356e-05/0.171, allocations: 117.8 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.1711, allocations: 7.906 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.1714, allocations: 101.5 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.1714, allocations: 8.266 kB / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1714, allocations: 0 / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1715, allocations: 0 / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.1719, allocations: 358.4 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1719, allocations: 3.984 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.172, allocations: 8 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.172, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.172, allocations: 3.984 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.172, allocations: 7.938 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.172, allocations: 0 / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1723, allocations: 179.4 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.1723, allocations: 85.09 kB / 0.4932 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1724, allocations: 0 / 0.4932 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1724, allocations: 7.938 kB / 0.4932 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1725, allocations: 3.984 kB / 0.4932 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.1725, allocations: 4 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.981e-05/0.1726, allocations: 103.2 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1726, allocations: 4 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1729, allocations: 24 kB / 0.4934 GB, free: 5.77 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.00158/0.1744, allocations: 1.053 MB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.1747, allocations: 59.89 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1747, allocations: 4 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.1748, allocations: 23.98 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1752, allocations: 19.92 kB / 0.4945 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.177, allocations: 1.405 MB / 0.4959 GB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1773, allocations: 0.6924 MB / 0.4966 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.214e-05/0.1774, allocations: 15.92 kB / 0.4966 GB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.1775, allocations: 27.42 kB / 0.4966 GB, free: 2.387 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1775, allocations: 4 kB / 0.4966 GB, free: 2.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.2012, allocations: 2.771 MB / 0.4993 GB, free: 15.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/7.923, allocations: 7.969 kB / 0.4993 GB, free: 15.54 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time