Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.001092/0.001092, allocations: 110.9 kB / 17.33 MB, free: 6.016 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.001048/0.001048, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2373/0.2373, allocations: 44.18 MB / 336.2 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 58.89 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1481, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.004403/0.1526, allocations: 1.677 MB / 470.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009918/0.1536, allocations: 411.3 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1538, allocations: 4 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.1546, allocations: 451.2 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005269/0.1552, allocations: 251.4 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.1557, allocations: 118.6 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.1561, allocations: 155.7 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1562, allocations: 20.17 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.1564, allocations: 111.7 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.1567, allocations: 215.6 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.1568, allocations: 4 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1569, allocations: 35.92 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.157, allocations: 79.69 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.81e-05/0.1571, allocations: 103 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.1575, allocations: 255.2 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1575, allocations: 4 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1575, allocations: 0 / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1576, allocations: 0 / 472.7 MB, free: 10.74 MB / 350.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.0009821/0.1586, allocations: 0.6297 MB / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.1586, allocations: 8.031 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.1587, allocations: 42.69 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.435e-05/0.1588, allocations: 40.47 kB / 473.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.1592, allocations: 304.1 kB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1592, allocations: 384 / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.1592, allocations: 8.125 kB / 473.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1594, allocations: 49.69 kB / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1594, allocations: 0 / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1594, allocations: 0 / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1595, allocations: 0 / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1596, allocations: 23.98 kB / 473.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.1602, allocations: 400.5 kB / 474.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1604, allocations: 38.56 kB / 474.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.1605, allocations: 12.86 kB / 474.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.1605, allocations: 4.094 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1606, allocations: 46.48 kB / 474.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1606, allocations: 0 / 474.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007191/0.1613, allocations: 212 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.1614, allocations: 55.34 kB / 474.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.1624, allocations: 0.8691 MB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1625, allocations: 29.64 kB / 475.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1627, allocations: 220.1 kB / 475.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.1627, allocations: 23.81 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.1628, allocations: 21.7 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.163, allocations: 354.8 kB / 476 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/0.1631, allocations: 19.98 kB / 476 MB, free: 7.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.1632, allocations: 20.17 kB / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1633, allocations: 52.77 kB / 476.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1633, allocations: 0 / 476.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002454/0.1636, allocations: 121 kB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.1636, allocations: 4 kB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1637, allocations: 0 / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1637, allocations: 4.281 kB / 476.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.1638, allocations: 11.98 kB / 476.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1638, allocations: 3.938 kB / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.1638, allocations: 8 kB / 476.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1639, allocations: 0 / 476.3 MB, free: 6.91 MB / 350.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.0002176/0.1641, allocations: 213.8 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.1642, allocations: 47.42 kB / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.1645, allocations: 137 kB / 476.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1645, allocations: 4 kB / 476.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1645, allocations: 3.938 kB / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1645, allocations: 4 kB / 476.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000575/0.1651, allocations: 450.5 kB / 477.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1651, allocations: 0 / 477.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.1652, allocations: 11.98 kB / 477.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1652, allocations: 3.938 kB / 477.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1652, allocations: 4.188 kB / 477.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.1652, allocations: 4 kB / 477.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1652, allocations: 4 kB / 477.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1655, allocations: 210.9 kB / 477.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.1656, allocations: 112.6 kB / 477.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.1656, allocations: 3.938 kB / 477.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.1657, allocations: 4 kB / 477.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.1658, allocations: 7.984 kB / 477.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1658, allocations: 7.938 kB / 477.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006331/0.1664, allocations: 0.6472 MB / 478.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1664, allocations: 0 / 478.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1667, allocations: 31.89 kB / 478.1 MB, free: 4.914 MB / 350.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.1683, allocations: 1.042 MB / 479.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.1685, allocations: 43.97 kB / 479.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1685, allocations: 0 / 479.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.1686, allocations: 27.92 kB / 479.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.1691, allocations: 25.95 kB / 479.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.1733, allocations: 3.301 MB / 482.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.1739, allocations: 0.8314 MB / 483.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.47e-05/0.174, allocations: 7.984 kB / 483.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.1741, allocations: 103.4 kB / 483.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1741, allocations: 4 kB / 483.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.1936, allocations: 5.718 MB / 489.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.1939, allocations: 240.6 kB / 489.5 MB, free: 9.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.189, allocations: 7.875 kB / 489.5 MB, free: 9.66 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches