Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 92.12 kB / 16.98 MB, free: 6.398 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.000976/0.000976, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.406/1.406, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 12 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 61.93 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002939/0.14, allocations: 1.329 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1412, allocations: 395.5 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.1413, allocations: 4 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.1417, allocations: 59.84 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.142, allocations: 55.8 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005782/0.1426, allocations: 158.3 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1428, allocations: 51.86 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.143, allocations: 23.92 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.1431, allocations: 23.92 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1433, allocations: 47.81 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1433, allocations: 4 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1434, allocations: 31.94 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.1435, allocations: 23.91 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.1436, allocations: 37.64 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1437, allocations: 84.09 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1438, allocations: 0 / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1438, allocations: 0 / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1438, allocations: 0 / 473.8 MB, free: 11.41 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.0006982/0.1445, allocations: 410.9 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.36e-05/0.1446, allocations: 16.55 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.1446, allocations: 15.81 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1449, allocations: 195.6 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1449, allocations: 0 / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.145, allocations: 4 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.1452, allocations: 73.62 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1452, allocations: 0 / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.1452, allocations: 4 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1453, allocations: 7.875 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.1454, allocations: 51.95 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.146, allocations: 332.7 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1463, allocations: 62.58 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.1464, allocations: 0 / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1464, allocations: 38.56 kB / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.675e-06/0.1464, allocations: 3.984 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001713/0.1481, allocations: 497.3 kB / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.1482, allocations: 51.41 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1485, allocations: 220 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1485, allocations: 29.7 kB / 475.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.1486, allocations: 108 kB / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.154e-05/0.1487, allocations: 47.38 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.1487, allocations: 4 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1489, allocations: 326.8 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.149, allocations: 67.95 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1492, allocations: 59.91 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1493, allocations: 71.89 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1493, allocations: 0 / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003467/0.1497, allocations: 181.8 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1497, allocations: 4 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1497, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1497, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1499, allocations: 36.03 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1499, allocations: 4 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.15, allocations: 23.98 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.15, allocations: 0 / 476.6 MB, free: 8.309 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 (11): * Single equations (assignments): 11 * 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.0001178/0.1501, allocations: 137.8 kB / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.1502, allocations: 11.81 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.1506, allocations: 210.9 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1506, allocations: 3.938 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1506, allocations: 0 / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1507, allocations: 0 / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008197/0.1515, allocations: 0.5195 MB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1515, allocations: 0 / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.1516, allocations: 31.92 kB / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.1516, allocations: 0 / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1517, allocations: 4 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1517, allocations: 0 / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1517, allocations: 3.953 kB / 477.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.1521, allocations: 316.5 kB / 477.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.1522, allocations: 96.86 kB / 478 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.1522, allocations: 4 kB / 478 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.1523, allocations: 15.98 kB / 478 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.1524, allocations: 11.98 kB / 478 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.1524, allocations: 8 kB / 478 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1525, allocations: 159.5 kB / 478.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1526, allocations: 0 / 478.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1528, allocations: 24 kB / 478.2 MB, free: 6.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001091/0.1539, allocations: 461.7 kB / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.1543, allocations: 143.8 kB / 478.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1543, allocations: 0 / 478.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.1545, allocations: 79.89 kB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1548, allocations: 15.98 kB / 478.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.1554, allocations: 335.4 kB / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1558, allocations: 0.7278 MB / 479.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.529e-05/0.1559, allocations: 32.52 kB / 480 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.1559, allocations: 15.44 kB / 480 MB, free: 4.973 MB / 350.1 MB Notification: Performance of SimCode: time 1.993e-06/0.1559, allocations: 4 kB / 480 MB, free: 4.969 MB / 350.1 MB Notification: Performance of Templates: time 0.004355/0.1603, allocations: 1.515 MB / 481.5 MB, free: 3.461 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches