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.001163/0.001163, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001383/0.001383, allocations: 192 kB / 18.56 MB, free: 4.434 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.333/1.333, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2006/0.2006, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 64.91 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1347, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.00414/0.1388, allocations: 1.612 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1401, allocations: 0.6841 MB / 471.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.1402, allocations: 0 / 471.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1405, allocations: 27.86 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.1408, allocations: 39.83 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.633e-06/0.1408, allocations: 0 / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.141, allocations: 39.78 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.141, allocations: 7.984 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.1411, allocations: 11.92 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.1411, allocations: 15.94 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1412, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.489e-05/0.1412, allocations: 4 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.1413, allocations: 15.98 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.1413, allocations: 27.8 kB / 471.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.1415, allocations: 60.03 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1415, allocations: 4 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1415, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1415, allocations: 3.938 kB / 471.8 MB, free: 11.79 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.000366/0.1419, allocations: 363.3 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1419, allocations: 8.031 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.1419, allocations: 8.844 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1421, allocations: 176.2 kB / 472.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1421, allocations: 4.375 kB / 472.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1421, allocations: 384 / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1423, allocations: 134.2 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1423, allocations: 8.125 kB / 472.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1424, allocations: 3.938 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.1424, allocations: 23.98 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.1425, allocations: 43.84 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006287/0.1431, allocations: 0.8867 MB / 473.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.427e-05/0.1432, allocations: 173.1 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.1433, allocations: 80.14 kB / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.1433, allocations: 79.22 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.1433, allocations: 109.8 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.1434, allocations: 0 / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.278e-05/0.1434, allocations: 41.64 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.1435, allocations: 130.7 kB / 474 MB, free: 9.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1437, allocations: 182.1 kB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.1437, allocations: 25.7 kB / 474.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.1438, allocations: 151.1 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.1439, allocations: 8 kB / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.1439, allocations: 41.61 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.144, allocations: 322.8 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.1441, allocations: 31.98 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1442, allocations: 157.1 kB / 474.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.1444, allocations: 200.9 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.1444, allocations: 4 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003128/0.1448, allocations: 205 kB / 475.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1448, allocations: 8 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1448, allocations: 4 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1448, allocations: 4.625 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.145, allocations: 39.92 kB / 475.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.145, allocations: 12 kB / 475.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.132e-05/0.1451, allocations: 23.69 kB / 475.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1451, allocations: 12 kB / 475.4 MB, free: 7.75 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.0001436/0.1453, allocations: 217.9 kB / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.1453, allocations: 116.8 kB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.1454, allocations: 120.8 kB / 475.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.209e-05/0.1455, allocations: 180.3 kB / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.418e-05/0.1455, allocations: 180.2 kB / 476.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.83e-05/0.1456, allocations: 180.3 kB / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.1459, allocations: 425.1 kB / 476.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.904e-05/0.146, allocations: 104.9 kB / 476.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.146, allocations: 105 kB / 477 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.456e-05/0.1461, allocations: 184.2 kB / 477.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/0.1462, allocations: 184.3 kB / 477.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.348e-05/0.1462, allocations: 188.1 kB / 477.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-05/0.1463, allocations: 176.3 kB / 477.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.1465, allocations: 319.7 kB / 478.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.013e-05/0.1466, allocations: 185.9 kB / 478.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.1467, allocations: 184.2 kB / 478.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.1468, allocations: 101 kB / 478.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.1468, allocations: 184.2 kB / 478.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.1469, allocations: 105 kB / 478.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.147, allocations: 135.2 kB / 478.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.147, allocations: 0 / 478.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1473, allocations: 12 kB / 479 MB, free: 4.016 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.0005312/0.1478, allocations: 283.8 kB / 479.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.148, allocations: 80.72 kB / 479.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.148, allocations: 0 / 479.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.148, allocations: 0 / 479.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1484, allocations: 467.6 kB / 479.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.1488, allocations: 241.3 kB / 480 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1491, allocations: 0.7006 MB / 480.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.1493, allocations: 49.02 kB / 480.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.1494, allocations: 15.44 kB / 480.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1494, allocations: 0 / 480.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Templates: time 0.002845/0.1522, allocations: 0.6771 MB / 481.4 MB, free: 1.52 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