Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28",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.0007462/0.0007463, allocations: 97.09 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008851/0.0008855, allocations: 177 kB / 16.92 MB, free: 6.684 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.403/1.403, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4097/0.4097, allocations: 43.58 MB / 315 MB, free: 9.051 MB / 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.000574/0.0005739, allocations: 12 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1456, allocations: 58.88 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.002231/0.1479, allocations: 1.271 MB / 444.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007676/0.1487, allocations: 311.6 kB / 445.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.1488, allocations: 4 kB / 445.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.1491, allocations: 107.8 kB / 445.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1493, allocations: 75.84 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1495, allocations: 83.83 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1497, allocations: 67.81 kB / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1498, allocations: 16.27 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.1499, allocations: 35.84 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.15, allocations: 55.88 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.15, allocations: 4 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1501, allocations: 27.98 kB / 445.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.1502, allocations: 27.91 kB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.1503, allocations: 57.33 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.1504, allocations: 95.64 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1504, allocations: 0 / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1504, allocations: 0 / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1505, allocations: 0 / 445.8 MB, free: 10.55 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.0005001/0.151, allocations: 407.1 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.151, allocations: 8.031 kB / 446.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.1511, allocations: 34.69 kB / 446.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.1511, allocations: 12.75 kB / 446.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1513, allocations: 200.1 kB / 446.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1513, allocations: 4.375 kB / 446.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1514, allocations: 384 / 446.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1515, allocations: 65.48 kB / 446.5 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1516, allocations: 4 kB / 446.5 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1516, allocations: 4 kB / 446.5 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1516, allocations: 0 / 446.5 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.541e-05/0.1517, allocations: 23.98 kB / 446.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.1521, allocations: 296.8 kB / 446.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.1524, allocations: 50.5 kB / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.1525, allocations: 20.94 kB / 446.9 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.1525, allocations: 3.984 kB / 446.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1526, allocations: 30.56 kB / 446.9 MB, free: 9.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1526, allocations: 4 kB / 446.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006732/0.1533, allocations: 177.2 kB / 447.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1533, allocations: 55.41 kB / 447.1 MB, free: 8.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1536, allocations: 234.7 kB / 447.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1536, allocations: 29.7 kB / 447.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.1537, allocations: 116 kB / 447.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1537, allocations: 7.812 kB / 447.5 MB, free: 8.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.1537, allocations: 21.7 kB / 447.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1539, allocations: 326.8 kB / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.154, allocations: 27.98 kB / 447.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.154, allocations: 23.98 kB / 447.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1542, allocations: 60.77 kB / 448 MB, free: 8.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1542, allocations: 0 / 448 MB, free: 8.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001984/0.1544, allocations: 101.6 kB / 448.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1544, allocations: 4 kB / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1545, allocations: 256 / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1545, allocations: 0 / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.1545, allocations: 19.98 kB / 448.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1546, allocations: 0 / 448.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.1546, allocations: 12 kB / 448.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1546, allocations: 3.938 kB / 448.1 MB, free: 7.977 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.0001014/0.1547, allocations: 125.8 kB / 448.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.1548, allocations: 15.81 kB / 448.2 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.155, allocations: 118.6 kB / 448.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1551, allocations: 0 / 448.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1551, allocations: 3.938 kB / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1551, allocations: 0 / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.1556, allocations: 378.4 kB / 448.7 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1556, allocations: 4 kB / 448.7 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.1556, allocations: 15.98 kB / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1557, allocations: 0 / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1557, allocations: 0 / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1557, allocations: 3.938 kB / 448.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1557, allocations: 4 kB / 448.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1559, allocations: 195.3 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.156, allocations: 89 kB / 449 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.156, allocations: 4 kB / 449 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.1561, allocations: 8.125 kB / 449.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.1561, allocations: 3.984 kB / 449.1 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1562, allocations: 11.94 kB / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1563, allocations: 188.3 kB / 449.3 MB, free: 6.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1564, allocations: 0 / 449.3 MB, free: 6.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.1566, allocations: 15.98 kB / 449.3 MB, free: 6.699 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.001444/0.158, allocations: 1.02 MB / 450.3 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1583, allocations: 63.89 kB / 450.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1583, allocations: 0 / 450.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.93e-05/0.1584, allocations: 36.11 kB / 450.4 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1587, allocations: 15.92 kB / 450.4 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1607, allocations: 1.691 MB / 452.1 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.161, allocations: 0.716 MB / 452.8 MB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.1611, allocations: 8.078 kB / 452.8 MB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.1612, allocations: 31.42 kB / 452.8 MB, free: 3.031 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1612, allocations: 0 / 452.8 MB, free: 3.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01271/0.1739, allocations: 2.504 MB / 455.4 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.1741, allocations: 235.3 kB / 455.6 MB, free: 276 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.101, allocations: 0 / 455.6 MB, free: 276 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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[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