Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.001252/0.001252, allocations: 107.2 kB / 17.2 MB, free: 6.289 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.001262/0.001262, allocations: 194 kB / 18.12 MB, free: 5.383 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.487/1.487, allocations: 222.9 MB / 241.8 MB, free: 13.8 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.2335/0.2335, allocations: 44.18 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 64.86 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.157, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.005456/0.1626, allocations: 1.669 MB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1638, allocations: 411.2 kB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.1639, allocations: 8 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.1646, allocations: 451.2 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.165, allocations: 243.5 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.1655, allocations: 119.1 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.1658, allocations: 155.7 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1659, allocations: 16.19 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.166, allocations: 103.7 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.1663, allocations: 203.6 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.1664, allocations: 4 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1665, allocations: 27.94 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.1667, allocations: 79.69 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1668, allocations: 107 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.1672, allocations: 247.2 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1672, allocations: 0 / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1673, allocations: 0 / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1673, allocations: 0 / 472.4 MB, free: 10.91 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.001138/0.1684, allocations: 0.6337 MB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.1685, allocations: 12.03 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.1685, allocations: 38.69 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.1686, allocations: 40.47 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.169, allocations: 296.1 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.169, allocations: 4.359 kB / 473.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.169, allocations: 8.125 kB / 473.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1692, allocations: 49.69 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1692, allocations: 0 / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1692, allocations: 7.984 kB / 473.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1692, allocations: 0 / 473.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.992e-05/0.1693, allocations: 31.92 kB / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.1699, allocations: 400.6 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.1701, allocations: 38.56 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.1702, allocations: 16.86 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1702, allocations: 4 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1703, allocations: 38.58 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1703, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006921/0.171, allocations: 216 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.171, allocations: 59.41 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008394/0.1719, allocations: 0.8652 MB / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1719, allocations: 29.64 kB / 475.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1721, allocations: 220.1 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1721, allocations: 15.75 kB / 475.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.1721, allocations: 25.64 kB / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1723, allocations: 358.8 kB / 475.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.42e-05/0.1724, allocations: 19.98 kB / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.1724, allocations: 19.98 kB / 475.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.1726, allocations: 44.83 kB / 475.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1726, allocations: 0 / 475.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002188/0.1728, allocations: 117 kB / 476 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1728, allocations: 8 kB / 476 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1729, allocations: 3.984 kB / 476 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1729, allocations: 4 kB / 476 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.1729, allocations: 11.98 kB / 476 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.173, allocations: 7.938 kB / 476 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.173, allocations: 0 / 476 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.173, allocations: 4 kB / 476 MB, free: 7.062 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.0001839/0.1732, allocations: 213.8 kB / 476.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.1733, allocations: 39.44 kB / 476.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.1736, allocations: 145 kB / 476.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1736, allocations: 0 / 476.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1736, allocations: 4.25 kB / 476.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1736, allocations: 0 / 476.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.1742, allocations: 454.5 kB / 476.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1742, allocations: 0 / 476.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.1742, allocations: 15.98 kB / 476.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.1743, allocations: 7.938 kB / 476.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1743, allocations: 0 / 476.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1743, allocations: 3.938 kB / 476.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1743, allocations: 0 / 476.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.1745, allocations: 207 kB / 477.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.1746, allocations: 116.6 kB / 477.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.1746, allocations: 3.938 kB / 477.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.1747, allocations: 8 kB / 477.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.1748, allocations: 3.984 kB / 477.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.1748, allocations: 7.938 kB / 477.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000571/0.1754, allocations: 0.6472 MB / 477.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1754, allocations: 0 / 477.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1757, allocations: 27.89 kB / 477.9 MB, free: 5.074 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.001317/0.177, allocations: 1.053 MB / 479 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1772, allocations: 43.97 kB / 479 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1772, allocations: 0 / 479 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.525e-05/0.1773, allocations: 27.92 kB / 479 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.1777, allocations: 32.3 kB / 479.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.1813, allocations: 3.291 MB / 482.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.1818, allocations: 0.8223 MB / 483.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.328e-05/0.1819, allocations: 15.92 kB / 483.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.1821, allocations: 107.4 kB / 483.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1821, allocations: 0 / 483.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.2005, allocations: 5.68 MB / 489 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.2008, allocations: 228.4 kB / 489.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.087, allocations: 7.938 kB / 489.2 MB, free: 9.863 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches