Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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: translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009229/0.0009229, allocations: 97.09 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.0008384/0.0008388, allocations: 177.8 kB / 16.92 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 223.1 MB, free: 5.562 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.4934/0.4934, allocations: 43.58 MB / 315 MB, free: 8.812 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.0005231/0.0005229, allocations: 12 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1434, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.001974/0.1454, allocations: 1.376 MB / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006266/0.1461, allocations: 343.6 kB / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.1461, allocations: 4 kB / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.1463, allocations: 15.92 kB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.1465, allocations: 35.84 kB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1468, allocations: 111.8 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.147, allocations: 79.7 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1471, allocations: 20.16 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.1472, allocations: 23.86 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.812e-05/0.1473, allocations: 31.84 kB / 445.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1473, allocations: 4 kB / 445.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1474, allocations: 55.95 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.1475, allocations: 23.86 kB / 445.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.1475, allocations: 49.52 kB / 445.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1477, allocations: 107.9 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1477, allocations: 0 / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1478, allocations: 4 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1478, allocations: 0 / 445.7 MB, free: 10.39 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005503/0.1483, allocations: 419.1 kB / 446.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1484, allocations: 8.031 kB / 446.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1484, allocations: 8.844 kB / 446.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1486, allocations: 195.6 kB / 446.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1486, allocations: 4.375 kB / 446.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1487, allocations: 8.312 kB / 446.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.1489, allocations: 107.5 kB / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.149, allocations: 0 / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.149, allocations: 4 kB / 446.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.149, allocations: 0 / 446.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.1493, allocations: 91.92 kB / 446.5 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1497, allocations: 308.6 kB / 446.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.1499, allocations: 78.53 kB / 446.9 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1501, allocations: 52.95 kB / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1501, allocations: 4 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1502, allocations: 30.56 kB / 447 MB, free: 8.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.1502, allocations: 0 / 447 MB, free: 8.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001611/0.1518, allocations: 473 kB / 447.5 MB, free: 8.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.1519, allocations: 77.11 kB / 447.5 MB, free: 8.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.152, allocations: 145.8 kB / 447.7 MB, free: 8.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.152, allocations: 25.7 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.1521, allocations: 100 kB / 447.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1521, allocations: 23.66 kB / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1521, allocations: 9.719 kB / 447.8 MB, free: 8.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1523, allocations: 326.8 kB / 448.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.1526, allocations: 95.86 kB / 448.3 MB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.1529, allocations: 105.6 kB / 448.4 MB, free: 7.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.1534, allocations: 193 kB / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1534, allocations: 0 / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006221/0.1541, allocations: 225.4 kB / 448.8 MB, free: 7.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1541, allocations: 4 kB / 448.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1541, allocations: 3.938 kB / 448.8 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1541, allocations: 3.984 kB / 448.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1543, allocations: 55.89 kB / 448.8 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1544, allocations: 0 / 448.8 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.1545, allocations: 39.91 kB / 448.9 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1545, allocations: 4 kB / 448.9 MB, free: 6.992 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 (8): * Single equations (assignments): 8 * 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 8.747e-05/0.1546, allocations: 113.8 kB / 449 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.1547, allocations: 11.91 kB / 449 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.1554, allocations: 242.1 kB / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1554, allocations: 0 / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1554, allocations: 3.938 kB / 449.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1554, allocations: 3.938 kB / 449.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008723/0.1563, allocations: 0.5062 MB / 449.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1563, allocations: 384 / 449.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.1565, allocations: 43.97 kB / 449.8 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1565, allocations: 0 / 449.8 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1565, allocations: 11.92 kB / 449.8 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1565, allocations: 4 kB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1565, allocations: 3.938 kB / 449.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.1572, allocations: 315.3 kB / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.1572, allocations: 93.02 kB / 450.2 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1573, allocations: 7.922 kB / 450.2 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.1574, allocations: 31.97 kB / 450.2 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.1575, allocations: 11.98 kB / 450.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1575, allocations: 0 / 450.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.613e-05/0.1576, allocations: 115.2 kB / 450.4 MB, free: 5.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1576, allocations: 0 / 450.4 MB, free: 5.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1579, allocations: 28 kB / 450.4 MB, free: 5.363 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 (8): * Single equations (assignments): 8 * 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.001009/0.1589, allocations: 459.4 kB / 450.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006627/0.1596, allocations: 195.8 kB / 451 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1596, allocations: 0 / 451 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.1599, allocations: 99.92 kB / 451.1 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.1602, allocations: 19.92 kB / 451.2 MB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.1607, allocations: 244.8 kB / 451.4 MB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.161, allocations: 0.6965 MB / 452.1 MB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.649e-05/0.1611, allocations: 8.984 kB / 452.1 MB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.1611, allocations: 23.42 kB / 452.1 MB, free: 3.613 MB / 382.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1612, allocations: 0 / 452.1 MB, free: 3.613 MB / 382.1 MB Notification: Performance of Templates: time 0.004526/0.1657, allocations: 1.826 MB / 453.9 MB, free: 1.789 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches