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.001399/0.001399, allocations: 107.7 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.001662/0.001662, allocations: 194 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.565/1.565, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2614/0.2614, allocations: 44.17 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 60.56 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1414, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004002/0.1454, allocations: 2.011 MB / 470.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.147, allocations: 0.8418 MB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.1472, allocations: 4 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.1477, allocations: 235.5 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.1482, allocations: 171.5 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.1494, allocations: 456.8 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.1499, allocations: 275.2 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.1501, allocations: 68.84 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1503, allocations: 115.5 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.1506, allocations: 191.3 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.1506, allocations: 8 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1508, allocations: 59.92 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1509, allocations: 91.61 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.151, allocations: 123 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1514, allocations: 290.9 kB / 473.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1514, allocations: 4 kB / 473.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1514, allocations: 0 / 473.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1514, allocations: 0 / 473.5 MB, free: 9.824 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.0008164/0.1522, allocations: 0.6457 MB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1523, allocations: 12.03 kB / 474.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.1524, allocations: 38.75 kB / 474.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.1524, allocations: 44.38 kB / 474.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1528, allocations: 314.3 kB / 474.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1528, allocations: 12.31 kB / 474.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1528, allocations: 12.38 kB / 474.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.1531, allocations: 109.6 kB / 474.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1531, allocations: 3.906 kB / 474.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1531, allocations: 4 kB / 474.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1531, allocations: 4 kB / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1533, allocations: 75.88 kB / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.154, allocations: 0.4886 MB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1542, allocations: 94.48 kB / 475.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.1543, allocations: 32.84 kB / 475.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1543, allocations: 4 kB / 475.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1543, allocations: 38.5 kB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.1543, allocations: 0 / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00096/0.1553, allocations: 386.8 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1554, allocations: 55.41 kB / 475.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.1559, allocations: 0.5487 MB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.156, allocations: 25.7 kB / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1561, allocations: 204.3 kB / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.1562, allocations: 59.14 kB / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.1562, allocations: 33.7 kB / 476.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1564, allocations: 350.8 kB / 477.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1565, allocations: 47.97 kB / 477.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1566, allocations: 47.97 kB / 477.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.1569, allocations: 135 kB / 477.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1569, allocations: 0 / 477.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003326/0.1572, allocations: 193.1 kB / 477.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1572, allocations: 4 kB / 477.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1572, allocations: 3.938 kB / 477.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1573, allocations: 4 kB / 477.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.1574, allocations: 35.86 kB / 477.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1574, allocations: 8 kB / 477.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.1575, allocations: 11.98 kB / 477.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1575, allocations: 4 kB / 477.6 MB, free: 5.551 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.0001561/0.1577, allocations: 169.8 kB / 477.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.1578, allocations: 39.53 kB / 477.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.1582, allocations: 243.4 kB / 478 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1582, allocations: 4 kB / 478 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1582, allocations: 0 / 478 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1582, allocations: 0 / 478 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.159, allocations: 0.6269 MB / 478.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.159, allocations: 4 kB / 478.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1591, allocations: 31.92 kB / 478.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1592, allocations: 0 / 478.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1592, allocations: 7.984 kB / 478.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1592, allocations: 3.938 kB / 478.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1592, allocations: 0 / 478.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.1596, allocations: 296.8 kB / 479 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.1597, allocations: 112.7 kB / 479.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.1597, allocations: 8 kB / 479.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.1598, allocations: 11.92 kB / 479.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.1599, allocations: 15.98 kB / 479.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1599, allocations: 4 kB / 479.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004069/0.1603, allocations: 411.1 kB / 479.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1603, allocations: 0 / 479.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.1606, allocations: 47.91 kB / 479.6 MB, free: 3.438 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.002225/0.1629, allocations: 1.428 MB / 481 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.1632, allocations: 130.2 kB / 481.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1632, allocations: 4 kB / 481.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1633, allocations: 71.91 kB / 481.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.1639, allocations: 85.02 kB / 481.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.1675, allocations: 3.144 MB / 484.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1679, allocations: 0.8065 MB / 485.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.168, allocations: 45.91 kB / 485.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1682, allocations: 123.4 kB / 485.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1682, allocations: 0 / 485.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.188, allocations: 6.888 MB / 492.3 MB, free: 7.023 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.1882, allocations: 242.5 kB / 492.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.099, allocations: 7.875 kB / 492.5 MB, free: 6.762 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