Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11",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.0009444/0.0009442, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 178.4 kB / 16.91 MB, free: 6.633 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.481/1.481, allocations: 205.4 MB / 223.1 MB, free: 5.492 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.3475/0.3475, allocations: 43.58 MB / 315 MB, free: 8.805 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.0005318/0.0005319, allocations: 23.98 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1479, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test11): time 0.002149/0.1501, allocations: 1.337 MB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1516, allocations: 0.9065 MB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.1517, allocations: 0 / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.1519, allocations: 15.91 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.1521, allocations: 39.84 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.1524, allocations: 107.8 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1525, allocations: 55.84 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1526, allocations: 12.45 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.1527, allocations: 23.86 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1529, allocations: 35.84 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1529, allocations: 0 / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.153, allocations: 47.97 kB / 446.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.1531, allocations: 15.92 kB / 446.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.1532, allocations: 41.58 kB / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1534, allocations: 103.6 kB / 446.3 MB, free: 9.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.1534, allocations: 4 kB / 446.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1534, allocations: 0 / 446.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1534, allocations: 0 / 446.3 MB, free: 9.82 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.000589/0.154, allocations: 391.2 kB / 446.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.154, allocations: 8.031 kB / 446.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.1541, allocations: 46.67 kB / 446.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.1542, allocations: 4.938 kB / 446.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1544, allocations: 192.1 kB / 446.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1544, allocations: 384 / 446.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1544, allocations: 8.125 kB / 446.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.1547, allocations: 79.39 kB / 447 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1547, allocations: 0 / 447 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1547, allocations: 3.984 kB / 447 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1547, allocations: 0 / 447 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.1549, allocations: 47.89 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.1554, allocations: 288.8 kB / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1555, allocations: 46.56 kB / 447.4 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.1556, allocations: 32.94 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1557, allocations: 3.938 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1557, allocations: 38.48 kB / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1557, allocations: 0 / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009017/0.1566, allocations: 237.2 kB / 447.7 MB, free: 8.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.1567, allocations: 77.11 kB / 447.8 MB, free: 8.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1569, allocations: 149.8 kB / 447.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1569, allocations: 29.7 kB / 447.9 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.157, allocations: 92.05 kB / 448 MB, free: 7.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.157, allocations: 31.7 kB / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1571, allocations: 13.72 kB / 448.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1572, allocations: 318.8 kB / 448.4 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1573, allocations: 39.97 kB / 448.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1575, allocations: 57.69 kB / 448.5 MB, free: 7.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.1577, allocations: 97.05 kB / 448.6 MB, free: 7.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1577, allocations: 0 / 448.6 MB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002973/0.158, allocations: 125.5 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1581, allocations: 8 kB / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1581, allocations: 0 / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1581, allocations: 4 kB / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1582, allocations: 19.98 kB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1583, allocations: 3.938 kB / 448.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/0.1583, allocations: 23.98 kB / 448.7 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1584, allocations: 4 kB / 448.7 MB, free: 7.098 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 0.00011/0.1585, allocations: 117.8 kB / 448.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.1585, allocations: 7.906 kB / 448.9 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.159, allocations: 142.3 kB / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.159, allocations: 4 kB / 449 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.159, allocations: 3.938 kB / 449 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.159, allocations: 0 / 449 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.1596, allocations: 410.4 kB / 449.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1596, allocations: 0 / 449.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.401e-05/0.1597, allocations: 19.98 kB / 449.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1597, allocations: 7.938 kB / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1597, allocations: 4 kB / 449.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1597, allocations: 0 / 449.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1597, allocations: 0 / 449.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.1601, allocations: 227.3 kB / 449.7 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.1601, allocations: 93 kB / 449.8 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1602, allocations: 3.938 kB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.1603, allocations: 15.98 kB / 449.8 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.1603, allocations: 7.984 kB / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1604, allocations: 8 kB / 449.8 MB, free: 5.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.643e-05/0.1604, allocations: 107.2 kB / 449.9 MB, free: 5.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 0 / 449.9 MB, free: 5.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1607, allocations: 31.98 kB / 449.9 MB, free: 5.809 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.001618/0.1624, allocations: 1.092 MB / 451 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.1627, allocations: 99.88 kB / 451.1 MB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1627, allocations: 4 kB / 451.1 MB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.1629, allocations: 43.97 kB / 451.2 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1632, allocations: 19.92 kB / 451.2 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1653, allocations: 1.601 MB / 452.8 MB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1656, allocations: 0.6965 MB / 453.5 MB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.121e-05/0.1657, allocations: 13.12 kB / 453.5 MB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.1657, allocations: 23.42 kB / 453.5 MB, free: 2.121 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1657, allocations: 0 / 453.5 MB, free: 2.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2277/0.3934, allocations: 2.558 MB / 456.1 MB, free: 45.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.3936, allocations: 232.2 kB / 456.3 MB, free: 45.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.248, allocations: 5.859 kB / 456.3 MB, free: 45.09 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches