Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001, allocations: 96.94 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.001256/0.001256, allocations: 184.1 kB / 16.92 MB, free: 6.934 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.06/2.06, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.4361/0.4361, allocations: 43.56 MB / 315 MB, free: 9.109 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.0006119/0.0006119, allocations: 20 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1545, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002395/0.157, allocations: 1.656 MB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1583, allocations: 0.7486 MB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.1584, allocations: 4 kB / 445.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.1589, allocations: 247.4 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.1593, allocations: 175.5 kB / 446.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1603, allocations: 0.5693 MB / 446.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.1607, allocations: 283.3 kB / 447.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1609, allocations: 76.7 kB / 447.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.161, allocations: 115.5 kB / 447.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1612, allocations: 179.3 kB / 447.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.1612, allocations: 4 kB / 447.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1613, allocations: 63.95 kB / 447.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.1615, allocations: 91.61 kB / 447.6 MB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.258e-05/0.1616, allocations: 128.8 kB / 447.8 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.162, allocations: 286.9 kB / 448 MB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.162, allocations: 0 / 448 MB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.162, allocations: 0 / 448 MB, free: 8.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.162, allocations: 0 / 448 MB, free: 8.309 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006206/0.1626, allocations: 0.572 MB / 448.6 MB, free: 7.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1627, allocations: 12.03 kB / 448.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.1627, allocations: 40.38 kB / 448.7 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.1631, allocations: 318.2 kB / 449 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1632, allocations: 4.375 kB / 449 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.1632, allocations: 16.31 kB / 449 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.1635, allocations: 133.7 kB / 449.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1635, allocations: 0 / 449.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.1635, allocations: 8 kB / 449.1 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1635, allocations: 3.938 kB / 449.1 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1637, allocations: 99.94 kB / 449.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.1643, allocations: 496.3 kB / 449.7 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1645, allocations: 114.5 kB / 449.8 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.1646, allocations: 44.77 kB / 449.9 MB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.1647, allocations: 7.984 kB / 449.9 MB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1647, allocations: 34.56 kB / 449.9 MB, free: 6.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.133e-06/0.1647, allocations: 0 / 449.9 MB, free: 6.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009598/0.1657, allocations: 460.2 kB / 450.4 MB, free: 5.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1657, allocations: 55.41 kB / 450.4 MB, free: 5.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.1662, allocations: 0.5211 MB / 450.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1663, allocations: 25.7 kB / 451 MB, free: 5.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1664, allocations: 204.3 kB / 451.2 MB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.1665, allocations: 55.19 kB / 451.2 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.1665, allocations: 17.72 kB / 451.2 MB, free: 4.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1667, allocations: 350.8 kB / 451.6 MB, free: 4.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1668, allocations: 71.95 kB / 451.6 MB, free: 4.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.167, allocations: 71.95 kB / 451.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.1673, allocations: 172.1 kB / 451.9 MB, free: 4.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1673, allocations: 3.938 kB / 451.9 MB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003595/0.1676, allocations: 229.2 kB / 452.1 MB, free: 4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1677, allocations: 8 kB / 452.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1677, allocations: 0 / 452.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1677, allocations: 0 / 452.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.1678, allocations: 35.97 kB / 452.2 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.1679, allocations: 3.938 kB / 452.2 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.1679, allocations: 15.91 kB / 452.2 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.168, allocations: 7.984 kB / 452.2 MB, free: 3.93 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 (17): * Single equations (assignments): 17 * 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 0.0001553/0.1681, allocations: 185.7 kB / 452.4 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.1682, allocations: 35.53 kB / 452.4 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004882/0.1687, allocations: 289.3 kB / 452.7 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1687, allocations: 7.938 kB / 452.7 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1687, allocations: 0 / 452.7 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1687, allocations: 0 / 452.7 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008515/0.1696, allocations: 0.6773 MB / 453.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1696, allocations: 0 / 453.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1697, allocations: 31.98 kB / 453.4 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1697, allocations: 4 kB / 453.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1697, allocations: 7.984 kB / 453.4 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1697, allocations: 0 / 453.4 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1697, allocations: 7.938 kB / 453.4 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.1701, allocations: 338.8 kB / 453.7 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.1702, allocations: 112.6 kB / 453.9 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1703, allocations: 0 / 453.9 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.1704, allocations: 15.98 kB / 453.9 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1704, allocations: 11.92 kB / 453.9 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1704, allocations: 12 kB / 453.9 MB, free: 2.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003532/0.1708, allocations: 399.1 kB / 454.3 MB, free: 1.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1708, allocations: 0 / 454.3 MB, free: 1.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1711, allocations: 48 kB / 454.3 MB, free: 1.672 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 (17): * Single equations (assignments): 17 * 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.001567/0.1727, allocations: 0.6921 MB / 455 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.173, allocations: 179.8 kB / 455.2 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.173, allocations: 0 / 455.2 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.1732, allocations: 91.89 kB / 455.3 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.1737, allocations: 69.5 kB / 455.4 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2097/0.3834, allocations: 0.7969 MB / 456.2 MB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.3837, allocations: 0.8184 MB / 457 MB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.3839, allocations: 49.86 kB / 457 MB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.384, allocations: 34.42 kB / 457.1 MB, free: 45.73 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.384, allocations: 0 / 457.1 MB, free: 45.73 MB / 382.1 MB Notification: Performance of Templates: time 0.005782/0.3898, allocations: 3.1 MB / 460.2 MB, free: 45.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches