Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001927/0.001927, allocations: 108.1 kB / 16.46 MB, free: 6.402 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.002027/0.002027, allocations: 193.4 kB / 17.39 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 207.6 MB / 225.8 MB, free: 11.51 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.3213/0.3213, allocations: 44.25 MB / 319.9 MB, free: 12.85 MB / 270.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.002975/0.002975, allocations: 71.89 kB / 453.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1612, allocations: 61 MB / 0.5025 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003969/0.1652, allocations: 1.553 MB / 0.504 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.166, allocations: 319.5 kB / 0.5043 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.1661, allocations: 4 kB / 0.5043 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.1664, allocations: 23.84 kB / 0.5043 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.1666, allocations: 43.78 kB / 0.5044 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.1669, allocations: 75.83 kB / 0.5044 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.1671, allocations: 59.78 kB / 0.5045 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1672, allocations: 7.984 kB / 0.5045 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.602e-05/0.1673, allocations: 23.86 kB / 0.5045 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.1673, allocations: 23.84 kB / 0.5045 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1674, allocations: 4 kB / 0.5045 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.1675, allocations: 32 kB / 0.5046 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.1675, allocations: 7.984 kB / 0.5046 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.1676, allocations: 23.81 kB / 0.5046 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1678, allocations: 83.59 kB / 0.5047 GB, free: 9.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1678, allocations: 4 kB / 0.5047 GB, free: 9.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1678, allocations: 0 / 0.5047 GB, free: 9.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1678, allocations: 3.984 kB / 0.5047 GB, free: 9.734 MB / 398.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.0006304/0.1685, allocations: 379 kB / 0.505 GB, free: 9.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.1685, allocations: 15.89 kB / 0.5051 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.1686, allocations: 38.73 kB / 0.5051 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.1686, allocations: 8.891 kB / 0.5051 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.1688, allocations: 187.7 kB / 0.5053 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1688, allocations: 4.375 kB / 0.5053 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.1689, allocations: 8.375 kB / 0.5053 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.169, allocations: 49.61 kB / 0.5053 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.169, allocations: 0 / 0.5053 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.169, allocations: 4 kB / 0.5054 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.1691, allocations: 0 / 0.5054 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.1691, allocations: 23.92 kB / 0.5054 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1696, allocations: 276.9 kB / 0.5056 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.1698, allocations: 46.56 kB / 0.5057 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/0.1698, allocations: 16.88 kB / 0.5057 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1699, allocations: 3.984 kB / 0.5057 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1699, allocations: 38.5 kB / 0.5057 GB, free: 8.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1699, allocations: 0 / 0.5057 GB, free: 8.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005593/0.1704, allocations: 149.3 kB / 0.5059 GB, free: 8.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.1705, allocations: 55.41 kB / 0.5059 GB, free: 8.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1707, allocations: 161.8 kB / 0.5061 GB, free: 8.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.1707, allocations: 25.7 kB / 0.5061 GB, free: 8.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.1708, allocations: 92.14 kB / 0.5062 GB, free: 7.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1708, allocations: 19.84 kB / 0.5062 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.1709, allocations: 17.72 kB / 0.5062 GB, free: 7.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.171, allocations: 330.8 kB / 0.5066 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.1711, allocations: 20.05 kB / 0.5066 GB, free: 7.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.289e-05/0.1712, allocations: 15.98 kB / 0.5066 GB, free: 7.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1713, allocations: 48.83 kB / 0.5066 GB, free: 7.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1713, allocations: 0 / 0.5066 GB, free: 7.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001995/0.1715, allocations: 89.5 kB / 0.5067 GB, free: 7.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1715, allocations: 4 kB / 0.5067 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1715, allocations: 0 / 0.5067 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1715, allocations: 0 / 0.5067 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.1716, allocations: 15.98 kB / 0.5067 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1716, allocations: 0 / 0.5067 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.87e-05/0.1716, allocations: 4 kB / 0.5067 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1716, allocations: 3.938 kB / 0.5067 GB, free: 7.395 MB / 398.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.0001183/0.1717, allocations: 129.7 kB / 0.5069 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1718, allocations: 11.95 kB / 0.5069 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.172, allocations: 97.89 kB / 0.507 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.172, allocations: 0 / 0.507 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.172, allocations: 0 / 0.507 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.172, allocations: 0 / 0.507 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.1725, allocations: 338.8 kB / 0.5073 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1725, allocations: 4 kB / 0.5073 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.1725, allocations: 19.98 kB / 0.5073 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1725, allocations: 0 / 0.5073 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1725, allocations: 4 kB / 0.5073 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1726, allocations: 7.875 kB / 0.5073 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1726, allocations: 3.938 kB / 0.5073 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1728, allocations: 175.5 kB / 0.5075 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.1729, allocations: 89.06 kB / 0.5076 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1729, allocations: 0 / 0.5076 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.62e-05/0.1729, allocations: 7.938 kB / 0.5076 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.173, allocations: 3.984 kB / 0.5076 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.173, allocations: 4 kB / 0.5076 GB, free: 6.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1731, allocations: 126.7 kB / 0.5077 GB, free: 6.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1731, allocations: 0 / 0.5077 GB, free: 6.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1734, allocations: 16 kB / 0.5077 GB, free: 6.27 MB / 398.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.002412/0.1758, allocations: 1.02 MB / 0.5087 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.1761, allocations: 39.97 kB / 0.5088 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1761, allocations: 0 / 0.5088 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.983e-05/0.1762, allocations: 27.92 kB / 0.5088 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.1767, allocations: 19.92 kB / 0.5088 GB, free: 5.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1788, allocations: 1.456 MB / 0.5102 GB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.1792, allocations: 0.6924 MB / 0.5109 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.171e-05/0.1792, allocations: 11.98 kB / 0.5109 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.1793, allocations: 23.44 kB / 0.511 GB, free: 2.898 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1793, allocations: 0 / 0.511 GB, free: 2.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.2153, allocations: 2.577 MB / 0.5135 GB, free: 316 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.71, allocations: 11.94 kB / 0.5135 GB, free: 304 kB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time