Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 94.72 kB / 17.35 MB, free: 6.375 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.0008865/0.0008866, allocations: 172.7 kB / 18.25 MB, free: 5.527 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.413/1.413, allocations: 223.3 MB / 242.3 MB, free: 240 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.22/0.22, allocations: 44.25 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 9.406 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 61.91 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002229/0.1378, allocations: 1.333 MB / 473.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009798/0.1388, allocations: 0.6644 MB / 474.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.1389, allocations: 0 / 474.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.1392, allocations: 31.91 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.1393, allocations: 35.89 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/0.1394, allocations: 0 / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1395, allocations: 47.83 kB / 474.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.1396, allocations: 11.92 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.1396, allocations: 7.938 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.1397, allocations: 27.86 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.1397, allocations: 0 / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.1397, allocations: 4 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.1398, allocations: 23.97 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.1399, allocations: 45.52 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.14, allocations: 64 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.14, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.14, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.14, allocations: 4 kB / 474.5 MB, free: 11.05 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003325/0.1403, allocations: 359.4 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1404, allocations: 12.03 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.1404, allocations: 8.844 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1405, allocations: 172.2 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1406, allocations: 4.375 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1406, allocations: 384 / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1408, allocations: 125.6 kB / 475.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1408, allocations: 8.125 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1408, allocations: 7.938 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.1408, allocations: 23.98 kB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.1409, allocations: 35.92 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.1415, allocations: 0.8867 MB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1417, allocations: 173.1 kB / 476.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.1417, allocations: 84.17 kB / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.1418, allocations: 87.2 kB / 476.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/0.1419, allocations: 109.8 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.1419, allocations: 0 / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.351e-05/0.1419, allocations: 33.61 kB / 476.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.142, allocations: 126.7 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1422, allocations: 182.1 kB / 477 MB, free: 8.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1422, allocations: 29.7 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.1423, allocations: 155.1 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/0.1423, allocations: 4 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1424, allocations: 17.72 kB / 477.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1425, allocations: 322.8 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/0.1425, allocations: 27.98 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1427, allocations: 157.1 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.1428, allocations: 204.9 kB / 477.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1429, allocations: 0 / 477.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002854/0.1431, allocations: 205.5 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1432, allocations: 14.44 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1432, allocations: 4 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1432, allocations: 8 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1433, allocations: 35.92 kB / 478.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1434, allocations: 11.92 kB / 478.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.1435, allocations: 31.69 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1435, allocations: 8 kB / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001179/0.1436, allocations: 214 kB / 478.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.1437, allocations: 120.8 kB / 478.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.1437, allocations: 112.9 kB / 478.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.855e-05/0.1438, allocations: 184.2 kB / 478.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.529e-05/0.1439, allocations: 180.2 kB / 479 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.852e-05/0.1439, allocations: 184.2 kB / 479.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.1442, allocations: 425.2 kB / 479.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.009e-05/0.1442, allocations: 104.9 kB / 479.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.1442, allocations: 108.9 kB / 479.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.834e-05/0.1443, allocations: 176.3 kB / 479.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/0.1444, allocations: 184.2 kB / 480.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7e-05/0.1445, allocations: 180.3 kB / 480.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.256e-05/0.1446, allocations: 188.2 kB / 480.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.1447, allocations: 303.7 kB / 480.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.1448, allocations: 193.9 kB / 481 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.1449, allocations: 184.2 kB / 481.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.145, allocations: 112.9 kB / 481.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.145, allocations: 176.3 kB / 481.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.1451, allocations: 105 kB / 481.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1452, allocations: 135.2 kB / 481.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1452, allocations: 0 / 481.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1455, allocations: 16 kB / 481.7 MB, free: 3.316 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 (0): * Single equations (assignments): 0 * 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.0004856/0.146, allocations: 271 kB / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.1461, allocations: 71.78 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1461, allocations: 0 / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1461, allocations: 5.188 kB / 482 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.1465, allocations: 0.5341 MB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.1468, allocations: 262.9 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1471, allocations: 0.7009 MB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.1473, allocations: 49 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.1473, allocations: 23.42 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1473, allocations: 0 / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of Templates: time 0.002775/0.1501, allocations: 0.6534 MB / 484.2 MB, free: 0.7461 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches