Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 95.45 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.0008811/0.0008811, 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.387/1.387, allocations: 223.2 MB / 241.8 MB, free: 388 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.2042/0.2042, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1397, allocations: 61.92 MB / 471.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.00192/0.1416, allocations: 1.307 MB / 472.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007183/0.1423, allocations: 375.5 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.1424, allocations: 4 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.143, allocations: 435.2 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1433, allocations: 235.5 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.1436, allocations: 110.7 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1438, allocations: 111.8 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.1439, allocations: 16.16 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.144, allocations: 107.7 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.1443, allocations: 143.8 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1443, allocations: 4 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.1444, allocations: 15.94 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1445, allocations: 83.75 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.1445, allocations: 61.52 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.1448, allocations: 188 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1448, allocations: 0 / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1448, allocations: 0 / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1448, allocations: 4 kB / 474.6 MB, free: 10.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000799/0.1456, allocations: 0.5987 MB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1457, allocations: 8.562 kB / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/0.1458, allocations: 47.38 kB / 475.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1461, allocations: 271.4 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1461, allocations: 0 / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.1461, allocations: 8 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1463, allocations: 57.62 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1464, allocations: 0 / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1464, allocations: 8 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1464, allocations: 0 / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1465, allocations: 27.92 kB / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.1471, allocations: 388.7 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.1473, allocations: 50.5 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1474, allocations: 0 / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1474, allocations: 34.56 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1474, allocations: 0 / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006905/0.1481, allocations: 240 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.1482, allocations: 55.41 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008856/0.1491, allocations: 0.8613 MB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.1491, allocations: 29.7 kB / 477.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1493, allocations: 224.1 kB / 477.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1493, allocations: 19.66 kB / 477.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.1493, allocations: 0 / 477.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1495, allocations: 358.8 kB / 477.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.1496, allocations: 23.98 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.1496, allocations: 31.97 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.739e-05/0.1497, allocations: 20.19 kB / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1497, allocations: 0 / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002274/0.15, allocations: 129.2 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.15, allocations: 7.938 kB / 478.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.15, allocations: 0 / 478.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.15, allocations: 0 / 478.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.1501, allocations: 12 kB / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1501, allocations: 0 / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.1502, allocations: 11.98 kB / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1502, allocations: 3.938 kB / 478.1 MB, free: 6.898 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 (5): * Single equations (assignments): 5 * 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.0002162/0.1504, allocations: 217.7 kB / 478.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.1505, allocations: 47.42 kB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.1508, allocations: 133.1 kB / 478.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1508, allocations: 3.938 kB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1509, allocations: 0 / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1509, allocations: 4 kB / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.1515, allocations: 474.5 kB / 478.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1515, allocations: 0 / 478.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.1515, allocations: 15.94 kB / 479 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1516, allocations: 4 kB / 479 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1516, allocations: 0 / 479 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1516, allocations: 4 kB / 479 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.1516, allocations: 0 / 479 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.1518, allocations: 223.3 kB / 479.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.1519, allocations: 120.6 kB / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.152, allocations: 7.984 kB / 479.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.1521, allocations: 7.984 kB / 479.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1521, allocations: 7.984 kB / 479.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1521, allocations: 0 / 479.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006169/0.1527, allocations: 0.6511 MB / 480 MB, free: 4.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1527, allocations: 4 kB / 480 MB, free: 4.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.153, allocations: 20 kB / 480 MB, free: 4.871 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 (5): * Single equations (assignments): 5 * 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.0008842/0.1539, allocations: 407 kB / 480.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1541, allocations: 55.91 kB / 480.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1541, allocations: 0 / 480.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.1542, allocations: 32.11 kB / 480.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.1545, allocations: 32.08 kB / 480.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1557, allocations: 0.818 MB / 481.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.1562, allocations: 0.8301 MB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.698e-05/0.1562, allocations: 11.95 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.1563, allocations: 19.42 kB / 482.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1563, allocations: 0 / 482.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of Templates: time 0.004438/0.1607, allocations: 1.365 MB / 483.6 MB, free: 1.418 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches