Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001116/0.001116, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001045/0.001045, allocations: 192 kB / 18.56 MB, free: 4.562 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.332/1.332, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2082/0.2082, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 73.77 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1504, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.00409/0.1545, allocations: 1.95 MB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1563, allocations: 0.8573 MB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1564, allocations: 4 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.157, allocations: 255.2 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.1574, allocations: 191.3 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.1585, allocations: 492.3 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.1588, allocations: 279.3 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.159, allocations: 68.84 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1592, allocations: 127.5 kB / 473.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.1594, allocations: 195.4 kB / 473.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.1595, allocations: 12 kB / 473.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.1596, allocations: 71.91 kB / 473.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1598, allocations: 87.67 kB / 473.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1599, allocations: 111.1 kB / 474 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1602, allocations: 302.8 kB / 474.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1602, allocations: 0 / 474.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1603, allocations: 3.938 kB / 474.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1603, allocations: 0 / 474.3 MB, free: 9.273 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.0007329/0.161, allocations: 0.6486 MB / 475 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1611, allocations: 12.03 kB / 475 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.1611, allocations: 42.73 kB / 475 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.1612, allocations: 40.38 kB / 475.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.1615, allocations: 314.2 kB / 475.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1615, allocations: 8.375 kB / 475.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.1616, allocations: 16.31 kB / 475.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1618, allocations: 105.5 kB / 475.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1619, allocations: 3.906 kB / 475.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1619, allocations: 8 kB / 475.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1619, allocations: 4 kB / 475.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.1621, allocations: 75.89 kB / 475.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.1627, allocations: 496.3 kB / 476.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1629, allocations: 94.48 kB / 476.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.1629, allocations: 32.84 kB / 476.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.163, allocations: 11.98 kB / 476.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.163, allocations: 34.5 kB / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.163, allocations: 0 / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009466/0.164, allocations: 384 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.164, allocations: 51.41 kB / 476.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.1647, allocations: 0.5409 MB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1647, allocations: 29.7 kB / 477.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.1649, allocations: 200.3 kB / 477.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.1649, allocations: 55.2 kB / 477.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.165, allocations: 37.7 kB / 477.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1651, allocations: 350.8 kB / 477.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1652, allocations: 55.91 kB / 477.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1654, allocations: 51.97 kB / 478 MB, free: 5.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.1656, allocations: 127 kB / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1656, allocations: 0 / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003372/0.1659, allocations: 189.1 kB / 478.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.166, allocations: 10.03 kB / 478.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.166, allocations: 4 kB / 478.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.166, allocations: 0 / 478.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1662, allocations: 39.92 kB / 478.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1662, allocations: 0 / 478.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.527e-05/0.1663, allocations: 7.984 kB / 478.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1663, allocations: 4 kB / 478.3 MB, free: 5.023 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.0001627/0.1664, allocations: 177.8 kB / 478.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1665, allocations: 35.53 kB / 478.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.167, allocations: 245.4 kB / 478.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.167, allocations: 0 / 478.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.167, allocations: 0 / 478.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.167, allocations: 7.922 kB / 478.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008074/0.1678, allocations: 0.6371 MB / 479.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1679, allocations: 0 / 479.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.168, allocations: 31.97 kB / 479.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.168, allocations: 4 kB / 479.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.168, allocations: 4 kB / 479.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.168, allocations: 7.875 kB / 479.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.168, allocations: 4 kB / 479.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.1684, allocations: 290.9 kB / 479.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.1685, allocations: 116.7 kB / 479.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.1686, allocations: 0 / 479.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1687, allocations: 15.94 kB / 479.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.1688, allocations: 7.984 kB / 479.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1688, allocations: 8 kB / 479.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004243/0.1692, allocations: 411.1 kB / 480.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1692, allocations: 4 kB / 480.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.1695, allocations: 51.91 kB / 480.4 MB, free: 2.883 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.002441/0.172, allocations: 1.411 MB / 481.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.1724, allocations: 142.5 kB / 481.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1724, allocations: 0 / 481.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.1725, allocations: 71.91 kB / 482 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.1731, allocations: 80.97 kB / 482.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.1767, allocations: 3.068 MB / 485.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.1772, allocations: 0.8025 MB / 485.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.1774, allocations: 53.89 kB / 486 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.1775, allocations: 115.4 kB / 486.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1775, allocations: 0 / 486.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.2077, allocations: 7.107 MB / 493.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.944, allocations: 11.92 kB / 493.2 MB, free: 6.316 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches