Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001231, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001361/0.001361, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.562/1.562, allocations: 222.9 MB / 243 MB, free: 15.07 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.2881/0.2881, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 64 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1448, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004087/0.1489, allocations: 1.95 MB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1507, allocations: 0.8689 MB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.1509, allocations: 0 / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.1515, allocations: 255.2 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.152, allocations: 195.3 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1532, allocations: 481.9 kB / 474.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006869/0.1539, allocations: 279.3 kB / 474.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.1541, allocations: 76.55 kB / 474.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.1543, allocations: 127.5 kB / 474.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.1546, allocations: 195.3 kB / 475.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.1546, allocations: 8 kB / 475.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.1549, allocations: 104 kB / 475.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.155, allocations: 87.67 kB / 475.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1552, allocations: 111.1 kB / 475.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.1556, allocations: 310.8 kB / 475.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1556, allocations: 0 / 475.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1556, allocations: 0 / 475.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1557, allocations: 0 / 475.7 MB, free: 8.629 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008569/0.1565, allocations: 0.6108 MB / 476.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1566, allocations: 12.03 kB / 476.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.1567, allocations: 40.47 kB / 476.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.1571, allocations: 306.2 kB / 476.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1571, allocations: 12.31 kB / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.1571, allocations: 12.38 kB / 476.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1574, allocations: 101.8 kB / 476.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1574, allocations: 0 / 476.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1574, allocations: 4 kB / 476.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1574, allocations: 4 kB / 476.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.1576, allocations: 75.89 kB / 476.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/0.1583, allocations: 484.2 kB / 477.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1585, allocations: 98.41 kB / 477.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.698e-05/0.1586, allocations: 32.84 kB / 477.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.1586, allocations: 4 kB / 477.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.29e-05/0.1587, allocations: 34.56 kB / 477.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1587, allocations: 0 / 477.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001027/0.1598, allocations: 380.1 kB / 477.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1598, allocations: 55.41 kB / 477.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/0.1605, allocations: 0.521 MB / 478.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1605, allocations: 25.7 kB / 478.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1606, allocations: 196.4 kB / 478.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.1607, allocations: 55.17 kB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.1608, allocations: 33.7 kB / 478.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.161, allocations: 346.8 kB / 479.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1611, allocations: 51.97 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.773e-05/0.1613, allocations: 43.98 kB / 479.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.1615, allocations: 131.1 kB / 479.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1615, allocations: 3.938 kB / 479.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003543/0.1619, allocations: 193.1 kB / 479.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1619, allocations: 4 kB / 479.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1619, allocations: 0 / 479.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1619, allocations: 0 / 479.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1621, allocations: 35.97 kB / 479.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1621, allocations: 0 / 479.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.1622, allocations: 7.938 kB / 479.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1622, allocations: 12 kB / 479.6 MB, free: 4.535 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 (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.0001616/0.1623, allocations: 181.7 kB / 479.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.1624, allocations: 35.53 kB / 479.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.1629, allocations: 227.5 kB / 480 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1629, allocations: 4 kB / 480 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1629, allocations: 0 / 480 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1629, allocations: 0 / 480 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000831/0.1637, allocations: 0.6152 MB / 480.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1638, allocations: 0 / 480.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1639, allocations: 35.92 kB / 480.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1639, allocations: 0 / 480.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1639, allocations: 4 kB / 480.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1639, allocations: 4 kB / 480.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1639, allocations: 3.938 kB / 480.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.1643, allocations: 293.2 kB / 481 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.1644, allocations: 100.7 kB / 481.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.1644, allocations: 7.938 kB / 481.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.1645, allocations: 4 kB / 481.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.1646, allocations: 19.86 kB / 481.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1646, allocations: 7.984 kB / 481.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.165, allocations: 395.1 kB / 481.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.165, allocations: 0 / 481.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.1653, allocations: 47.91 kB / 481.5 MB, free: 2.469 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 (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.001688/0.167, allocations: 0.7028 MB / 482.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.1674, allocations: 130.1 kB / 482.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1674, allocations: 4 kB / 482.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.1675, allocations: 71.91 kB / 482.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.1681, allocations: 73.52 kB / 482.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1692, allocations: 0.6509 MB / 483.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.1696, allocations: 0.8022 MB / 484 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.1697, allocations: 41.92 kB / 484 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.1698, allocations: 31.42 kB / 484 MB, free: 244 kB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1698, allocations: 0 / 484 MB, free: 244 kB / 350.1 MB Notification: Performance of Templates: time 0.007062/0.1769, allocations: 3.144 MB / 487.2 MB, free: 13.11 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches