Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001126/0.001126, allocations: 107.1 kB / 17.33 MB, free: 6.023 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.001627/0.001628, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.475/1.475, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2413/0.2413, allocations: 44.17 MB / 336.2 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001552, allocations: 62.98 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1516, allocations: 60.82 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004424/0.1561, allocations: 2.014 MB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.158, allocations: 0.9435 MB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.1582, allocations: 0 / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.1588, allocations: 251.4 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.1594, allocations: 171.5 kB / 472.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.1609, allocations: 0.6209 MB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005886/0.1615, allocations: 307.2 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.1618, allocations: 84.53 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.1621, allocations: 135.5 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.1624, allocations: 203.3 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.1625, allocations: 11.94 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1627, allocations: 67.97 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.1629, allocations: 99.73 kB / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.1631, allocations: 126.9 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.1637, allocations: 318.8 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1637, allocations: 0 / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1637, allocations: 4 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.1637, allocations: 0 / 474.1 MB, free: 9.32 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001191/0.1649, allocations: 0.6457 MB / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.165, allocations: 8.031 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.528e-05/0.1651, allocations: 46.73 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.1652, allocations: 44.38 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.1657, allocations: 330.1 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1657, allocations: 4.375 kB / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.1658, allocations: 16.28 kB / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.1661, allocations: 133.6 kB / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1661, allocations: 0 / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1662, allocations: 4 kB / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1662, allocations: 4 kB / 475.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.1664, allocations: 95.86 kB / 475.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/0.1673, allocations: 0.5119 MB / 476 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.1675, allocations: 110.5 kB / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.161e-05/0.1676, allocations: 36.84 kB / 476.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.1676, allocations: 4 kB / 476.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.1677, allocations: 38.48 kB / 476.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.1677, allocations: 4 kB / 476.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0011/0.1688, allocations: 439 kB / 476.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1689, allocations: 55.41 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/0.1695, allocations: 0.5564 MB / 477.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1696, allocations: 29.7 kB / 477.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1697, allocations: 200.4 kB / 477.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.1698, allocations: 63.09 kB / 477.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.1699, allocations: 37.7 kB / 477.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.1701, allocations: 350.8 kB / 477.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1703, allocations: 63.95 kB / 477.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1704, allocations: 67.95 kB / 478 MB, free: 5.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.1707, allocations: 156.7 kB / 478.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1708, allocations: 4 kB / 478.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004138/0.1712, allocations: 227 kB / 478.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.1712, allocations: 8 kB / 478.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1712, allocations: 0 / 478.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1712, allocations: 3.938 kB / 478.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1714, allocations: 35.98 kB / 478.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1714, allocations: 0 / 478.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.995e-05/0.1715, allocations: 11.89 kB / 478.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1716, allocations: 12 kB / 478.4 MB, free: 4.785 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 (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.0002192/0.1718, allocations: 181.7 kB / 478.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.1719, allocations: 43.47 kB / 478.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.1724, allocations: 277.4 kB / 478.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1725, allocations: 3.984 kB / 478.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1725, allocations: 4 kB / 478.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1725, allocations: 4 kB / 478.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009513/0.1734, allocations: 0.6795 MB / 479.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1735, allocations: 0 / 479.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1736, allocations: 31.92 kB / 479.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1736, allocations: 4 kB / 479.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1736, allocations: 8 kB / 479.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1736, allocations: 7.938 kB / 479.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1736, allocations: 0 / 479.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.1741, allocations: 325.1 kB / 480 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/0.1742, allocations: 116.6 kB / 480.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.1742, allocations: 12 kB / 480.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1744, allocations: 11.94 kB / 480.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.1744, allocations: 19.92 kB / 480.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1744, allocations: 7.984 kB / 480.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004445/0.1749, allocations: 411.1 kB / 480.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1749, allocations: 0 / 480.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00033/0.1752, allocations: 43.98 kB / 480.6 MB, free: 2.52 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 (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.002651/0.1779, allocations: 1.459 MB / 482.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004165/0.1783, allocations: 171.8 kB / 482.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1783, allocations: 4 kB / 482.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.1785, allocations: 87.89 kB / 482.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.1791, allocations: 84.77 kB / 482.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.1836, allocations: 3.321 MB / 485.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.1841, allocations: 0.8182 MB / 486.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.1842, allocations: 62.23 kB / 486.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.1844, allocations: 119.4 kB / 486.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1845, allocations: 0 / 486.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2067, allocations: 7.248 MB / 494 MB, free: 5.453 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.2069, allocations: 241.2 kB / 494.2 MB, free: 5.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.14, allocations: 4 kB / 494.2 MB, free: 5.191 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches