Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",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.001006/0.001006, allocations: 103.9 kB / 15.98 MB, free: 6.332 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.0009934/0.0009935, allocations: 192.2 kB / 16.9 MB, free: 6.184 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.551/1.551, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.4472/0.4472, allocations: 43.49 MB / 313.6 MB, free: 8.508 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.002527/0.002527, allocations: 71.84 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1612, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.003975/0.1653, allocations: 1.991 MB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1665, allocations: 0.6589 MB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.1666, allocations: 4 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.1672, allocations: 239.5 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.1676, allocations: 179.5 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.1685, allocations: 423.2 kB / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.1689, allocations: 263.4 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.1691, allocations: 72.92 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1693, allocations: 139.3 kB / 444.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.1696, allocations: 195.4 kB / 444.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.1696, allocations: 12 kB / 444.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.1698, allocations: 71.91 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.1699, allocations: 91.72 kB / 444.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.17, allocations: 115 kB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.1705, allocations: 298.9 kB / 444.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1705, allocations: 0 / 444.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.459e-06/0.1705, allocations: 0 / 444.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1705, allocations: 0 / 444.8 MB, free: 9.887 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00104/0.1715, allocations: 0.6496 MB / 445.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.665e-05/0.1716, allocations: 11.89 kB / 445.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.1717, allocations: 46.69 kB / 445.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.1718, allocations: 40.47 kB / 445.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.1722, allocations: 322.1 kB / 445.9 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1722, allocations: 4.375 kB / 445.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.1722, allocations: 12.38 kB / 445.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.1725, allocations: 113.5 kB / 446 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1725, allocations: 4 kB / 446 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1726, allocations: 7.938 kB / 446 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1726, allocations: 4 kB / 446 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.1727, allocations: 63.95 kB / 446.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/0.1735, allocations: 0.4886 MB / 446.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1737, allocations: 90.48 kB / 446.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.196e-05/0.1738, allocations: 36.84 kB / 446.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.1738, allocations: 4 kB / 446.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1739, allocations: 42.48 kB / 446.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.1739, allocations: 0 / 446.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001007/0.1749, allocations: 380 kB / 447.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.1749, allocations: 51.41 kB / 447.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.1756, allocations: 0.5486 MB / 447.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1756, allocations: 29.7 kB / 447.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1758, allocations: 200.4 kB / 447.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.1758, allocations: 55.11 kB / 448 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.1759, allocations: 33.7 kB / 448 MB, free: 6.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.176, allocations: 350.8 kB / 448.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1762, allocations: 51.97 kB / 448.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1763, allocations: 63.19 kB / 448.5 MB, free: 5.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.1765, allocations: 120.7 kB / 448.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1765, allocations: 0 / 448.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003227/0.1768, allocations: 197.1 kB / 448.8 MB, free: 5.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1769, allocations: 7.594 kB / 448.8 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1769, allocations: 0 / 448.8 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1769, allocations: 0 / 448.8 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.177, allocations: 39.92 kB / 448.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1771, allocations: 3.984 kB / 448.8 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.1771, allocations: 15.98 kB / 448.9 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1772, allocations: 8 kB / 448.9 MB, free: 5.598 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 (17): * Single equations (assignments): 17 * 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.0001568/0.1773, allocations: 173.8 kB / 449 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.1774, allocations: 39.44 kB / 449.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.1778, allocations: 241.4 kB / 449.3 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1778, allocations: 0 / 449.3 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1779, allocations: 4 kB / 449.3 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1779, allocations: 0 / 449.3 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/0.1786, allocations: 0.6231 MB / 449.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1787, allocations: 0 / 449.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1788, allocations: 31.98 kB / 450 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1788, allocations: 0 / 450 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1788, allocations: 7.984 kB / 450 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1788, allocations: 7.938 kB / 450 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1788, allocations: 0 / 450 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.1792, allocations: 294.9 kB / 450.3 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.1793, allocations: 116.6 kB / 450.4 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.1793, allocations: 4 kB / 450.4 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1794, allocations: 15.92 kB / 450.4 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.1795, allocations: 11.98 kB / 450.4 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1795, allocations: 8 kB / 450.4 MB, free: 3.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004082/0.1799, allocations: 411.1 kB / 450.8 MB, free: 3.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1799, allocations: 0 / 450.8 MB, free: 3.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.1802, allocations: 48 kB / 450.9 MB, free: 3.484 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 (17): * Single equations (assignments): 17 * 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.002287/0.1825, allocations: 1.442 MB / 452.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1829, allocations: 143.8 kB / 452.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1829, allocations: 0 / 452.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.183, allocations: 71.91 kB / 452.5 MB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.1837, allocations: 85.17 kB / 452.6 MB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2368/0.4205, allocations: 3.134 MB / 455.7 MB, free: 47.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4207, allocations: 0.8092 MB / 456.6 MB, free: 46.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.4209, allocations: 47.78 kB / 456.6 MB, free: 46.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.4211, allocations: 124.3 kB / 456.7 MB, free: 46.79 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4211, allocations: 0.6562 kB / 456.7 MB, free: 46.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.4396, allocations: 6.993 MB / 463.7 MB, free: 46.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.4398, allocations: 234.7 kB / 463.9 MB, free: 45.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.376, allocations: 0 / 463.9 MB, free: 45.84 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches