Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.0009838/0.0009839, allocations: 106.9 kB / 15.99 MB, free: 6.352 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.001038/0.001038, allocations: 192.3 kB / 16.9 MB, free: 6.191 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.684/1.684, allocations: 205.1 MB / 222.8 MB, free: 4.625 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.4009/0.4009, allocations: 43.49 MB / 313.6 MB, free: 8.523 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.001657/0.001657, allocations: 63.91 kB / 382.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1436, allocations: 57.79 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.004685/0.1484, allocations: 1.998 MB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1499, allocations: 0.6628 MB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.1501, allocations: 4 kB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006035/0.1507, allocations: 243.4 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005017/0.1513, allocations: 175.5 kB / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.1524, allocations: 419.2 kB / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.1529, allocations: 267.4 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.1531, allocations: 76.91 kB / 443.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.1534, allocations: 135.4 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.1537, allocations: 195.4 kB / 444.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.1537, allocations: 12 kB / 444.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.1539, allocations: 71.91 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1541, allocations: 83.75 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1542, allocations: 123 kB / 444.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.1547, allocations: 298.9 kB / 444.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1547, allocations: 0 / 444.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.1547, allocations: 0 / 444.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1547, allocations: 0 / 444.8 MB, free: 9.859 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009381/0.1557, allocations: 0.649 MB / 445.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1557, allocations: 11.89 kB / 445.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.1558, allocations: 46.73 kB / 445.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.1559, allocations: 44.41 kB / 445.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.1563, allocations: 326.1 kB / 445.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1563, allocations: 4.375 kB / 445.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.1563, allocations: 16.31 kB / 445.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.1566, allocations: 109.5 kB / 446 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.1567, allocations: 3.984 kB / 446 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.1567, allocations: 11.94 kB / 446 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1567, allocations: 0 / 446 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.1569, allocations: 67.95 kB / 446.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/0.1579, allocations: 492.4 kB / 446.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.1581, allocations: 94.47 kB / 446.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.1582, allocations: 36.84 kB / 446.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.1583, allocations: 4 kB / 446.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.1583, allocations: 38.5 kB / 446.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.1583, allocations: 0 / 446.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001191/0.1595, allocations: 376.6 kB / 447.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.1596, allocations: 55.39 kB / 447.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007278/0.1603, allocations: 0.5486 MB / 447.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.1604, allocations: 29.7 kB / 447.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.1606, allocations: 200.4 kB / 447.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.468e-05/0.1607, allocations: 59.11 kB / 448 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/0.1608, allocations: 33.7 kB / 448 MB, free: 6.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.161, allocations: 350.8 kB / 448.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1611, allocations: 51.97 kB / 448.4 MB, free: 6.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1612, allocations: 55.97 kB / 448.5 MB, free: 5.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.1615, allocations: 124 kB / 448.6 MB, free: 5.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1615, allocations: 0 / 448.6 MB, free: 5.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003806/0.1619, allocations: 189.1 kB / 448.8 MB, free: 5.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1619, allocations: 8 kB / 448.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1619, allocations: 0 / 448.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1619, allocations: 3.984 kB / 448.8 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1621, allocations: 39.92 kB / 448.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.1621, allocations: 0 / 448.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.1622, allocations: 8 kB / 448.8 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1622, allocations: 7.984 kB / 448.9 MB, free: 5.582 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 (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.0001698/0.1624, allocations: 177.8 kB / 449 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.1625, allocations: 39.44 kB / 449.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.1629, allocations: 249 kB / 449.3 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1629, allocations: 0 / 449.3 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1629, allocations: 0 / 449.3 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1629, allocations: 3.984 kB / 449.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007739/0.1637, allocations: 0.6308 MB / 449.9 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1637, allocations: 0 / 449.9 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1638, allocations: 27.98 kB / 450 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1639, allocations: 4 kB / 450 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1639, allocations: 4 kB / 450 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1639, allocations: 3.938 kB / 450 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1639, allocations: 4 kB / 450 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.1643, allocations: 298.9 kB / 450.3 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.1644, allocations: 120.6 kB / 450.4 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.1644, allocations: 0 / 450.4 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1645, allocations: 19.92 kB / 450.4 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.1646, allocations: 7.984 kB / 450.4 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.1646, allocations: 4 kB / 450.4 MB, free: 3.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003973/0.165, allocations: 411.1 kB / 450.8 MB, free: 3.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.165, allocations: 0 / 450.8 MB, free: 3.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.1653, allocations: 51.98 kB / 450.9 MB, free: 3.453 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 (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.002256/0.1676, allocations: 1.432 MB / 452.3 MB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.1679, allocations: 147.8 kB / 452.5 MB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1679, allocations: 0 / 452.5 MB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1681, allocations: 71.91 kB / 452.5 MB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.1687, allocations: 81.17 kB / 452.6 MB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2234/0.3921, allocations: 3.145 MB / 455.8 MB, free: 47.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.3923, allocations: 0.8053 MB / 456.6 MB, free: 46.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.3925, allocations: 48 kB / 456.6 MB, free: 46.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.3926, allocations: 117.1 kB / 456.7 MB, free: 46.79 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3926, allocations: 3.531 kB / 456.7 MB, free: 46.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.4106, allocations: 6.986 MB / 463.7 MB, free: 46.08 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/0.411, allocations: 238.4 kB / 463.9 MB, free: 45.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.367, allocations: 3.938 kB / 463.9 MB, free: 45.82 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches