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.001082/0.001082, allocations: 96.92 kB / 16.99 MB, free: 5.941 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.0009582/0.0009583, allocations: 183.4 kB / 17.87 MB, free: 5.609 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.444/1.444, 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.2261/0.2261, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 12 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1499, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002147/0.1521, allocations: 1.349 MB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007114/0.1528, allocations: 395.5 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.1529, allocations: 0 / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.1531, allocations: 23.86 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.1533, allocations: 31.89 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.1536, allocations: 118.7 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1537, allocations: 51.86 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.1538, allocations: 16.22 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.1539, allocations: 23.86 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.154, allocations: 35.83 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.154, allocations: 4 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.1541, allocations: 39.92 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.1542, allocations: 15.92 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.1542, allocations: 29.7 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1544, allocations: 92.02 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1544, allocations: 0 / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1544, allocations: 0 / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1544, allocations: 0 / 473.7 MB, free: 11.51 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.0007255/0.1551, allocations: 423 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1552, allocations: 8.562 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.1552, allocations: 11.81 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1555, allocations: 187 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1555, allocations: 7.953 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1555, allocations: 3.984 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.1558, allocations: 103.4 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1558, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1559, allocations: 4 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1559, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.1562, allocations: 95.84 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.1567, allocations: 312.7 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.1569, allocations: 86.47 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.157, allocations: 3.984 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.157, allocations: 30.56 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.157, allocations: 4 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00168/0.1587, allocations: 477.2 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.1588, allocations: 81.11 kB / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1589, allocations: 154.3 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.159, allocations: 25.7 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1591, allocations: 100.3 kB / 475.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.1592, allocations: 35.61 kB / 475.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.1592, allocations: 0 / 475.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002793/0.1595, allocations: 318.8 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.16, allocations: 95.92 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.1603, allocations: 117.6 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.1606, allocations: 92.19 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1606, allocations: 0 / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006833/0.1613, allocations: 241.4 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1613, allocations: 4 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1613, allocations: 0 / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1614, allocations: 0 / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.1616, allocations: 47.91 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1616, allocations: 7.984 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.1618, allocations: 35.97 kB / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1618, allocations: 4 kB / 476.7 MB, free: 8.227 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.1619, allocations: 121.7 kB / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.162, allocations: 15.91 kB / 476.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006878/0.1627, allocations: 246.1 kB / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1627, allocations: 0 / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1627, allocations: 4 kB / 477.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1627, allocations: 3.938 kB / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.1636, allocations: 0.5256 MB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1637, allocations: 0 / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.1639, allocations: 51.95 kB / 477.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1639, allocations: 0 / 477.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1639, allocations: 4 kB / 477.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1639, allocations: 0 / 477.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1639, allocations: 0 / 477.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/0.1646, allocations: 335.4 kB / 478 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.1647, allocations: 89 kB / 478.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1647, allocations: 8 kB / 478.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.1649, allocations: 35.95 kB / 478.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.165, allocations: 11.98 kB / 478.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.165, allocations: 0 / 478.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.426e-05/0.1651, allocations: 121.3 kB / 478.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.445e-06/0.1651, allocations: 4 kB / 478.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1654, allocations: 35.84 kB / 478.3 MB, free: 6.531 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 (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.001021/0.1664, allocations: 452.3 kB / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007017/0.1671, allocations: 203.8 kB / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1671, allocations: 0 / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.1674, allocations: 99.92 kB / 479 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1677, allocations: 22.03 kB / 479.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.1684, allocations: 237.3 kB / 479.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.1688, allocations: 0.7004 MB / 480 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.1689, allocations: 12.55 kB / 480 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.169, allocations: 19.44 kB / 480 MB, free: 4.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.216e-06/0.169, allocations: 0 / 480 MB, free: 4.922 MB / 350.1 MB Notification: Performance of Templates: time 0.004662/0.1736, allocations: 1.913 MB / 481.9 MB, free: 3.027 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches