Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008395/0.0008393, allocations: 99.45 kB / 17 MB, free: 6.477 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.0008857/0.0008857, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.453/1.453, allocations: 223.3 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 44.25 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.000373, allocations: 16 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002561/0.1469, allocations: 1.602 MB / 473.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1485, allocations: 0.7917 MB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1487, allocations: 7.938 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.1492, allocations: 235.5 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.1497, allocations: 171.5 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1509, allocations: 442.1 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000472/0.1514, allocations: 243.3 kB / 475.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1516, allocations: 56.56 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.1518, allocations: 111.5 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.1521, allocations: 151.5 kB / 475.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.1521, allocations: 11.92 kB / 475.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.1523, allocations: 55.92 kB / 475.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1524, allocations: 79.73 kB / 475.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.1525, allocations: 65.52 kB / 475.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.1529, allocations: 207.9 kB / 475.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1529, allocations: 0 / 475.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1529, allocations: 0 / 475.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.1529, allocations: 0 / 475.8 MB, free: 9.484 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.0009687/0.1539, allocations: 0.568 MB / 476.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.154, allocations: 12.03 kB / 476.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.099e-05/0.1541, allocations: 39.47 kB / 476.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.1545, allocations: 285.3 kB / 476.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1545, allocations: 16 kB / 476.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.1546, allocations: 19.86 kB / 476.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1549, allocations: 113.5 kB / 476.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1549, allocations: 0 / 476.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.1549, allocations: 8 kB / 476.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1549, allocations: 3.938 kB / 476.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1551, allocations: 71.95 kB / 476.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007753/0.1559, allocations: 476.3 kB / 477.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.1561, allocations: 94.47 kB / 477.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.1562, allocations: 44.84 kB / 477.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.1563, allocations: 0 / 477.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1563, allocations: 34.55 kB / 477.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.1563, allocations: 0 / 477.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001047/0.1574, allocations: 388.5 kB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1574, allocations: 55.41 kB / 478 MB, free: 7.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006319/0.158, allocations: 0.5094 MB / 478.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1581, allocations: 29.7 kB / 478.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1582, allocations: 200.3 kB / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.1583, allocations: 59.19 kB / 478.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.1583, allocations: 0 / 478.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1585, allocations: 350.8 kB / 479.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.1586, allocations: 55.97 kB / 479.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1587, allocations: 55.88 kB / 479.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.159, allocations: 65.95 kB / 479.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.159, allocations: 0 / 479.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003207/0.1593, allocations: 197.1 kB / 479.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1594, allocations: 6.031 kB / 479.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1594, allocations: 4 kB / 479.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1594, allocations: 0 / 479.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1595, allocations: 39.97 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1596, allocations: 0 / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.1596, allocations: 11.94 kB / 479.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1596, allocations: 4 kB / 479.5 MB, free: 5.504 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.1598, allocations: 174.3 kB / 479.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.1599, allocations: 43.48 kB / 479.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.1603, allocations: 249.1 kB / 480 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1604, allocations: 3.938 kB / 480 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1604, allocations: 4 kB / 480 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1604, allocations: 0 / 480 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007909/0.1612, allocations: 0.6075 MB / 480.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1612, allocations: 0 / 480.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1613, allocations: 39.98 kB / 480.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1613, allocations: 4 kB / 480.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1613, allocations: 3.938 kB / 480.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1614, allocations: 4 kB / 480.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1614, allocations: 3.984 kB / 480.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.1618, allocations: 308.5 kB / 481 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/0.1619, allocations: 116.6 kB / 481.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1619, allocations: 0 / 481.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.162, allocations: 11.98 kB / 481.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.1621, allocations: 11.98 kB / 481.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1621, allocations: 12 kB / 481.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004098/0.1625, allocations: 391.1 kB / 481.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1625, allocations: 4 kB / 481.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1628, allocations: 40 kB / 481.5 MB, free: 3.395 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 (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.001838/0.1647, allocations: 0.698 MB / 482.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.165, allocations: 143.8 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.165, allocations: 0 / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1652, allocations: 82.72 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.1657, allocations: 61.47 kB / 482.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1669, allocations: 0.7203 MB / 483.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.1675, allocations: 0.8064 MB / 484 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.1676, allocations: 41.91 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.1677, allocations: 31.42 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1677, allocations: 4 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of Templates: time 0.007139/0.1748, allocations: 2.951 MB / 487.1 MB, free: 14.15 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches