Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 95.27 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.00136/0.001361, allocations: 185.1 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.48/1.48, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2251/0.2251, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004624, allocations: 12 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1502, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002835/0.1531, allocations: 1.618 MB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1551, allocations: 0.956 MB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.1553, allocations: 7.938 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.1556, allocations: 35.77 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.156, allocations: 135.6 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.1574, allocations: 0.5406 MB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.1578, allocations: 179.5 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.158, allocations: 68.7 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.1582, allocations: 99.58 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1585, allocations: 139.5 kB / 475.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.1585, allocations: 11.98 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1587, allocations: 35.92 kB / 475.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1588, allocations: 135.6 kB / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.381e-05/0.1589, allocations: 81.45 kB / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.1593, allocations: 275.6 kB / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1593, allocations: 0 / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1593, allocations: 4 kB / 475.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1593, allocations: 0 / 475.7 MB, free: 9.43 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001007/0.1603, allocations: 0.7192 MB / 476.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1604, allocations: 8.031 kB / 476.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.412e-05/0.1605, allocations: 51.34 kB / 476.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.1611, allocations: 435 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1611, allocations: 8 kB / 477 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.1611, allocations: 15.89 kB / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.1614, allocations: 147.3 kB / 477.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1615, allocations: 4 kB / 477.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1615, allocations: 4 kB / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1615, allocations: 4 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.1617, allocations: 107.8 kB / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1628, allocations: 0.6956 MB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.163, allocations: 121.2 kB / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.1631, allocations: 0 / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1631, allocations: 34.69 kB / 478.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1631, allocations: 4 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001472/0.1646, allocations: 0.5799 MB / 478.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.1647, allocations: 81.11 kB / 478.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/0.1656, allocations: 0.878 MB / 479.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.1656, allocations: 25.7 kB / 479.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.1659, allocations: 264.2 kB / 479.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.1659, allocations: 55.2 kB / 480 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.1659, allocations: 0 / 480 MB, free: 4.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.1662, allocations: 370.8 kB / 480.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.1664, allocations: 67.95 kB / 480.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1665, allocations: 97.59 kB / 480.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.1667, allocations: 79.95 kB / 480.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1668, allocations: 4 kB / 480.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004953/0.1673, allocations: 244.9 kB / 480.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1673, allocations: 11.95 kB / 480.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1673, allocations: 3.938 kB / 480.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1673, allocations: 7.938 kB / 480.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1675, allocations: 43.97 kB / 480.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1675, allocations: 0 / 480.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1677, allocations: 19.89 kB / 480.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.1677, allocations: 4 kB / 480.9 MB, free: 4.023 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002115/0.1679, allocations: 222.5 kB / 481.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/0.168, allocations: 59.33 kB / 481.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/0.1687, allocations: 314.2 kB / 481.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1687, allocations: 4 kB / 481.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1687, allocations: 0.75 kB / 481.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1687, allocations: 0 / 481.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.1699, allocations: 0.8216 MB / 482.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1699, allocations: 0 / 482.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.1701, allocations: 39.97 kB / 482.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1701, allocations: 0 / 482.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1701, allocations: 15.98 kB / 482.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1701, allocations: 3.938 kB / 482.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1701, allocations: 0 / 482.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.1707, allocations: 451.6 kB / 482.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.1709, allocations: 148.4 kB / 482.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.1709, allocations: 7.984 kB / 483 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.1711, allocations: 16 kB / 483 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.1712, allocations: 11.97 kB / 483 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1712, allocations: 4 kB / 483 MB, free: 1.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007228/0.172, allocations: 0.6471 MB / 483.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.172, allocations: 0 / 483.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.1724, allocations: 52 kB / 483.7 MB, free: 1.121 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 (16): * Single equations (assignments): 16 * 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.0008837/0.1733, allocations: 414.1 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004404/0.1737, allocations: 186.7 kB / 484.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1738, allocations: 0 / 484.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.174, allocations: 96.36 kB / 484.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.1744, allocations: 71.05 kB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1758, allocations: 0.9645 MB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.1763, allocations: 0.8771 MB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.1765, allocations: 91.2 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.1766, allocations: 39.42 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1766, allocations: 0 / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Templates: time 0.007776/0.1844, allocations: 3.821 MB / 490.2 MB, free: 10.69 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches