Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",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.001232/0.001232, allocations: 104.1 kB / 17.21 MB, free: 6.27 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.00139/0.00139, allocations: 190 kB / 18.12 MB, free: 5.363 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.556/1.556, allocations: 222.9 MB / 241.8 MB, free: 13.77 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.257/0.257, allocations: 44.17 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 68.09 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1488, allocations: 60.82 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004116/0.1529, allocations: 2.007 MB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1547, allocations: 0.8457 MB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.155, allocations: 0 / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.1556, allocations: 243.4 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.1562, allocations: 175.5 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.1576, allocations: 462 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.1582, allocations: 275.2 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.1585, allocations: 60.84 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.1587, allocations: 115.5 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.159, allocations: 191.4 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.954e-05/0.159, allocations: 8 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.1593, allocations: 91.91 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.1595, allocations: 91.66 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1596, allocations: 115 kB / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.1601, allocations: 310.8 kB / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1601, allocations: 0 / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1601, allocations: 4 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1601, allocations: 4 kB / 473.6 MB, free: 9.75 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.0009465/0.1611, allocations: 0.6496 MB / 474.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1611, allocations: 12.03 kB / 474.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.883e-05/0.1612, allocations: 38.75 kB / 474.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.1613, allocations: 40.38 kB / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.1617, allocations: 318.3 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1618, allocations: 12.31 kB / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.1618, allocations: 12.38 kB / 474.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.1621, allocations: 109.6 kB / 474.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1621, allocations: 3.906 kB / 474.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1622, allocations: 4 kB / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1622, allocations: 0 / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.1624, allocations: 75.89 kB / 474.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/0.1632, allocations: 496.3 kB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.1634, allocations: 90.48 kB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.1635, allocations: 40.84 kB / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.1635, allocations: 7.984 kB / 475.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1635, allocations: 38.48 kB / 475.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.1635, allocations: 224 / 475.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009685/0.1645, allocations: 386 kB / 475.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.1646, allocations: 55.41 kB / 475.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.1651, allocations: 0.5409 MB / 476.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1652, allocations: 29.7 kB / 476.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.1653, allocations: 204.3 kB / 476.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.1654, allocations: 63.12 kB / 476.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.1655, allocations: 37.7 kB / 476.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1656, allocations: 350.8 kB / 477.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1658, allocations: 47.97 kB / 477.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1659, allocations: 47.97 kB / 477.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1661, allocations: 131 kB / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1661, allocations: 0 / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003434/0.1665, allocations: 197 kB / 477.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1665, allocations: 8 kB / 477.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1665, allocations: 0 / 477.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1665, allocations: 0 / 477.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1667, allocations: 43.86 kB / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1667, allocations: 0 / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.1668, allocations: 7.984 kB / 477.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1668, allocations: 8 kB / 477.6 MB, free: 5.473 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.00016/0.167, allocations: 173.8 kB / 477.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.1671, allocations: 39.53 kB / 477.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.1677, allocations: 239.8 kB / 478.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1677, allocations: 0 / 478.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1677, allocations: 0 / 478.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1677, allocations: 0 / 478.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008221/0.1685, allocations: 0.6308 MB / 478.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1686, allocations: 0 / 478.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1687, allocations: 31.92 kB / 478.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1687, allocations: 4 kB / 478.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1687, allocations: 7.984 kB / 478.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.1687, allocations: 11.94 kB / 478.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1687, allocations: 0 / 478.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.1691, allocations: 292.8 kB / 479 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.1692, allocations: 108.7 kB / 479.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.1693, allocations: 7.984 kB / 479.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1694, allocations: 11.94 kB / 479.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.1694, allocations: 7.984 kB / 479.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1695, allocations: 16 kB / 479.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004035/0.1699, allocations: 407.1 kB / 479.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1699, allocations: 0 / 479.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.1702, allocations: 51.91 kB / 479.6 MB, free: 3.355 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.002506/0.1727, allocations: 1.425 MB / 481.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003651/0.1731, allocations: 138.2 kB / 481.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1731, allocations: 0 / 481.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1732, allocations: 71.91 kB / 481.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.1739, allocations: 75.25 kB / 481.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.1781, allocations: 3.144 MB / 484.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.1786, allocations: 0.8026 MB / 485.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1787, allocations: 45.92 kB / 485.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.1789, allocations: 123.3 kB / 485.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1789, allocations: 0 / 485.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.1977, allocations: 6.908 MB / 492.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.1979, allocations: 233.7 kB / 492.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.149, allocations: 8.062 kB / 492.6 MB, free: 6.664 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches