Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009677/0.0009677, allocations: 96.17 kB / 16.98 MB, free: 5.938 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.0008713/0.0008712, allocations: 186 kB / 17.88 MB, free: 5.594 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.429/1.429, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2683/0.2683, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 11.98 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1364, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002498/0.1389, allocations: 1.33 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.1398, allocations: 375.6 kB / 473.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.1399, allocations: 0 / 473.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006436/0.1405, allocations: 439.2 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.1409, allocations: 235.5 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.1412, allocations: 119.3 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1415, allocations: 115.8 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1416, allocations: 19.98 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1417, allocations: 95.8 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1419, allocations: 147.7 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.142, allocations: 0 / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.1421, allocations: 35.98 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1422, allocations: 79.69 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.1422, allocations: 65.52 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1425, allocations: 195.9 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1425, allocations: 7.938 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1426, allocations: 0 / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1426, allocations: 3.938 kB / 474.7 MB, free: 10.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007637/0.1433, allocations: 0.6027 MB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1434, allocations: 8.562 kB / 475.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.1435, allocations: 43.44 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1438, allocations: 267.4 kB / 475.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1438, allocations: 4 kB / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1439, allocations: 8 kB / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.144, allocations: 65.56 kB / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1441, allocations: 3.906 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1441, allocations: 4 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1441, allocations: 0 / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1442, allocations: 31.97 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.1448, allocations: 404.6 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.145, allocations: 46.56 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.145, allocations: 0 / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1451, allocations: 30.56 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.517e-06/0.1451, allocations: 4 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00114/0.1462, allocations: 324.3 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.1463, allocations: 59.34 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/0.1472, allocations: 0.8613 MB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1472, allocations: 25.7 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.1474, allocations: 240 kB / 477.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.1475, allocations: 23.62 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.1475, allocations: 0 / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1476, allocations: 366.7 kB / 478 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.004e-05/0.1477, allocations: 23.98 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.1478, allocations: 27.98 kB / 478.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/0.1479, allocations: 39.97 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1479, allocations: 0 / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000232/0.1481, allocations: 137.2 kB / 478.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1482, allocations: 7.984 kB / 478.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.1482, allocations: 4 kB / 478.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.1482, allocations: 3.984 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1483, allocations: 19.94 kB / 478.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1483, allocations: 8.234 kB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.1484, allocations: 8 kB / 478.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1484, allocations: 8 kB / 478.3 MB, free: 6.613 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.1486, allocations: 217.7 kB / 478.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.1487, allocations: 47.44 kB / 478.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.149, allocations: 165.4 kB / 478.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1491, allocations: 7.938 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1491, allocations: 0 / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1491, allocations: 4 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.1497, allocations: 0.4992 MB / 479.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1497, allocations: 4 kB / 479.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.1498, allocations: 28.02 kB / 479.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1498, allocations: 0 / 479.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1498, allocations: 0 / 479.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1498, allocations: 0 / 479.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1499, allocations: 7.953 kB / 479.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1501, allocations: 257.5 kB / 479.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/0.1502, allocations: 120.5 kB / 479.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1503, allocations: 0 / 479.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.1504, allocations: 7.953 kB / 479.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.1504, allocations: 11.98 kB / 479.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1505, allocations: 4 kB / 479.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005908/0.1511, allocations: 0.6588 MB / 480.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1511, allocations: 0 / 480.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1513, allocations: 35.98 kB / 480.4 MB, free: 4.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.1524, allocations: 441.3 kB / 480.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1526, allocations: 79.88 kB / 480.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1526, allocations: 0 / 480.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1527, allocations: 43.98 kB / 480.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.153, allocations: 25.95 kB / 481 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.1542, allocations: 0.8543 MB / 481.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.1547, allocations: 0.8301 MB / 482.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.569e-05/0.1548, allocations: 24.41 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.1548, allocations: 15.44 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1549, allocations: 0 / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of Templates: time 0.00475/0.1596, allocations: 1.602 MB / 484.3 MB, free: 0.6641 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches