Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14",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.001198/0.001198, allocations: 100 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.001106/0.001106, allocations: 194.9 kB / 16.91 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.608/1.608, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.452/0.452, allocations: 43.49 MB / 313.6 MB, free: 8.504 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.001699/0.001699, allocations: 66.56 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1504, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.003527/0.1539, allocations: 1.68 MB / 441.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1555, allocations: 0.922 MB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.1556, allocations: 4 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.1559, allocations: 11.92 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1561, allocations: 39.91 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1565, allocations: 103.8 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1567, allocations: 59.78 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1568, allocations: 24.44 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.1569, allocations: 19.94 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1571, allocations: 35.83 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1571, allocations: 4 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.1572, allocations: 47.98 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.1573, allocations: 15.92 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.1574, allocations: 35.78 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.1577, allocations: 103.6 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1577, allocations: 0 / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1577, allocations: 0 / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.1577, allocations: 0 / 443.2 MB, free: 11.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007901/0.1585, allocations: 391.2 kB / 443.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.1586, allocations: 11.89 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.1586, allocations: 42.73 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.1587, allocations: 4.844 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.159, allocations: 196.1 kB / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.159, allocations: 4.375 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1591, allocations: 4.125 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.1593, allocations: 79.33 kB / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1593, allocations: 4 kB / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1593, allocations: 0 / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1593, allocations: 0 / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.1596, allocations: 35.91 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.1601, allocations: 292.7 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1603, allocations: 46.5 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.1604, allocations: 24.94 kB / 444.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1604, allocations: 0 / 444.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1604, allocations: 34.55 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1604, allocations: 0 / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008307/0.1613, allocations: 205.3 kB / 444.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.1614, allocations: 77.11 kB / 444.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1615, allocations: 153.8 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1616, allocations: 25.7 kB / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.1616, allocations: 96.14 kB / 444.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.1617, allocations: 23.64 kB / 444.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.1618, allocations: 21.72 kB / 444.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.162, allocations: 318.8 kB / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1621, allocations: 27.98 kB / 445.3 MB, free: 9.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1623, allocations: 53.67 kB / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.1625, allocations: 72.75 kB / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1625, allocations: 0 / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002769/0.1628, allocations: 117.8 kB / 445.5 MB, free: 8.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1628, allocations: 4 kB / 445.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1628, allocations: 4.031 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1628, allocations: 4 kB / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.163, allocations: 15.98 kB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.163, allocations: 3.938 kB / 445.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.1631, allocations: 11.98 kB / 445.6 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1631, allocations: 0 / 445.6 MB, free: 8.895 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 (7): * Single equations (assignments): 7 * 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 9.233e-05/0.1632, allocations: 121.8 kB / 445.7 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.1632, allocations: 11.91 kB / 445.7 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.1635, allocations: 118.6 kB / 445.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1635, allocations: 0 / 445.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1635, allocations: 7.938 kB / 445.8 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1636, allocations: 7.969 kB / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.1641, allocations: 394.4 kB / 446.2 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1641, allocations: 0 / 446.2 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.1642, allocations: 27.86 kB / 446.2 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1642, allocations: 3.938 kB / 446.2 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1642, allocations: 4 kB / 446.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1642, allocations: 4 kB / 446.2 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1642, allocations: 0 / 446.2 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.1645, allocations: 203.4 kB / 446.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.1646, allocations: 89 kB / 446.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1646, allocations: 3.938 kB / 446.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.1647, allocations: 11.98 kB / 446.5 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.1647, allocations: 7.984 kB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1648, allocations: 4 kB / 446.6 MB, free: 7.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.036e-05/0.1648, allocations: 107.3 kB / 446.7 MB, free: 7.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1648, allocations: 0 / 446.7 MB, free: 7.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1651, allocations: 27.98 kB / 446.7 MB, free: 7.656 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 (7): * Single equations (assignments): 7 * 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.001531/0.1667, allocations: 1.075 MB / 447.8 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.167, allocations: 83.91 kB / 447.8 MB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.167, allocations: 0 / 447.8 MB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1671, allocations: 51.91 kB / 447.9 MB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1675, allocations: 19.78 kB / 447.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1693, allocations: 1.555 MB / 449.5 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1696, allocations: 0.6924 MB / 450.2 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.174e-05/0.1697, allocations: 16.66 kB / 450.2 MB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.1698, allocations: 35.36 kB / 450.2 MB, free: 4.031 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1698, allocations: 0 / 450.2 MB, free: 4.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.1858, allocations: 2.828 MB / 453 MB, free: 1.172 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.186, allocations: 236.7 kB / 453.3 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/2.673, allocations: 4 kB / 453.3 MB, free: 0.9102 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches