Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001217/0.001217, allocations: 187 kB / 19.34 MB, free: 3.641 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.484/1.484, allocations: 222.9 MB / 243 MB, free: 15.12 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.2773/0.2773, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.05 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1481, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003206/0.1514, allocations: 1.657 MB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008158/0.1522, allocations: 451 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.1523, allocations: 0 / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.1524, allocations: 23.86 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.1526, allocations: 51.64 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1529, allocations: 134.6 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.153, allocations: 75.83 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1531, allocations: 20.22 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.1532, allocations: 35.84 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.1533, allocations: 39.78 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1533, allocations: 4 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1535, allocations: 63.95 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.141e-05/0.1535, allocations: 19.92 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.1536, allocations: 23.81 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1538, allocations: 119.6 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.1538, allocations: 0 / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1538, allocations: 4 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1538, allocations: 0 / 473.4 MB, free: 10.93 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.0006656/0.1545, allocations: 411.1 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1546, allocations: 8.031 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.1546, allocations: 12.83 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1548, allocations: 188.2 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1548, allocations: 8.375 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1549, allocations: 4.359 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.1551, allocations: 91.5 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1552, allocations: 0 / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1552, allocations: 4 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1552, allocations: 3.938 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.1555, allocations: 75.92 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.1559, allocations: 300.7 kB / 474.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.1562, allocations: 74.47 kB / 474.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1563, allocations: 48.94 kB / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1564, allocations: 7.938 kB / 474.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1564, allocations: 30.56 kB / 474.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.066e-06/0.1564, allocations: 7.922 kB / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001377/0.1578, allocations: 381 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1578, allocations: 77.11 kB / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.158, allocations: 149 kB / 475.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.158, allocations: 25.7 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.1581, allocations: 100.1 kB / 475.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.1581, allocations: 27.56 kB / 475.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.1582, allocations: 29.7 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1583, allocations: 326.8 kB / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.1586, allocations: 67.92 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.1588, allocations: 85.64 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.1593, allocations: 144.7 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1593, allocations: 0 / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005374/0.1598, allocations: 193.4 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.1599, allocations: 4 kB / 476.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1599, allocations: 3.984 kB / 476.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.1599, allocations: 384 / 476.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.1601, allocations: 43.91 kB / 476.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.1601, allocations: 0 / 476.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.1602, allocations: 31.89 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1602, allocations: 7.938 kB / 476.3 MB, free: 7.777 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 (10): * Single equations (assignments): 10 * 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.921e-05/0.1603, allocations: 113.8 kB / 476.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.1604, allocations: 7.906 kB / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.161, allocations: 206.2 kB / 476.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.161, allocations: 4 kB / 476.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.161, allocations: 0 / 476.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.161, allocations: 3.938 kB / 476.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007998/0.1618, allocations: 490.2 kB / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1618, allocations: 0 / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.162, allocations: 39.91 kB / 477.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.162, allocations: 11.88 kB / 477.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.162, allocations: 4 kB / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.162, allocations: 384 / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.162, allocations: 0 / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.1626, allocations: 287.2 kB / 477.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.1627, allocations: 88.95 kB / 477.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1627, allocations: 0 / 477.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.1628, allocations: 27.97 kB / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.1629, allocations: 11.98 kB / 477.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1629, allocations: 7.984 kB / 477.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.163, allocations: 109.5 kB / 477.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.163, allocations: 0 / 477.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1633, allocations: 36.27 kB / 477.7 MB, free: 6.254 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 (9): * Single equations (assignments): 9 * 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.0009817/0.1643, allocations: 461.4 kB / 478.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005337/0.1648, allocations: 155.8 kB / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1648, allocations: 0 / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.1651, allocations: 83.86 kB / 478.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1654, allocations: 23.67 kB / 478.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.1658, allocations: 217.9 kB / 478.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1661, allocations: 0.6963 MB / 479.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.737e-05/0.1662, allocations: 12.42 kB / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.1663, allocations: 23.44 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1663, allocations: 0 / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Templates: time 0.005037/0.1713, allocations: 2.102 MB / 481.5 MB, free: 2.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches