Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) 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 kB / 16.4 MB, free: 6.496 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.001178/0.001178, allocations: 189.5 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2221/0.2221, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 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.001332/0.001332, allocations: 71.89 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1312, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.003836/0.1351, allocations: 1.622 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1362, allocations: 0.688 MB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.1362, allocations: 0 / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.1366, allocations: 27.86 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1368, allocations: 43.83 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.458e-06/0.1368, allocations: 0 / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.137, allocations: 31.89 kB / 0.4898 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.1371, allocations: 4 kB / 0.4898 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.1371, allocations: 11.92 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.1372, allocations: 19.92 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1372, allocations: 0 / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.706e-05/0.1373, allocations: 12 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.1373, allocations: 11.94 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.1374, allocations: 23.8 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1375, allocations: 67.69 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1375, allocations: 3.984 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1376, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1376, allocations: 0 / 0.4899 GB, free: 9.723 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004453/0.138, allocations: 366.8 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1381, allocations: 15.89 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.1381, allocations: 38.75 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.1382, allocations: 8.781 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.1383, allocations: 180.2 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1384, allocations: 384 / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.1384, allocations: 4.375 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1386, allocations: 131.3 kB / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1386, allocations: 3.938 kB / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1386, allocations: 0 / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.031e-05/0.1387, allocations: 23.98 kB / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.091e-05/0.1388, allocations: 43.91 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.1395, allocations: 0.8945 MB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1396, allocations: 169.2 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.1396, allocations: 88.08 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.1397, allocations: 79.28 kB / 0.4919 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.1397, allocations: 109.8 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1398, allocations: 0 / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.782e-05/0.1399, allocations: 37.61 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.1399, allocations: 126.7 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1402, allocations: 186.1 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1402, allocations: 29.7 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.1403, allocations: 147.1 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.1403, allocations: 3.938 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.1404, allocations: 45.61 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1406, allocations: 326.8 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.1406, allocations: 27.98 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.1408, allocations: 149.2 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.141, allocations: 208.9 kB / 0.4932 GB, free: 5.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.1411, allocations: 0 / 0.4932 GB, free: 5.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003938/0.1415, allocations: 205.2 kB / 0.4934 GB, free: 5.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1415, allocations: 8 kB / 0.4934 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1415, allocations: 4 kB / 0.4934 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.1415, allocations: 8 kB / 0.4934 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1417, allocations: 35.92 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.1417, allocations: 7.938 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1418, allocations: 23.83 kB / 0.4935 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1419, allocations: 12.41 kB / 0.4935 GB, free: 5.637 MB / 382.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.000172/0.142, allocations: 220.9 kB / 0.4937 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.1421, allocations: 116.8 kB / 0.4938 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.527e-05/0.1422, allocations: 120.8 kB / 0.4939 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.27e-05/0.1423, allocations: 180.3 kB / 0.4941 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.629e-05/0.1424, allocations: 176.3 kB / 0.4943 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.06e-05/0.1425, allocations: 188.2 kB / 0.4945 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1428, allocations: 425.1 kB / 0.4949 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.769e-05/0.1428, allocations: 104.9 kB / 0.495 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.1429, allocations: 113 kB / 0.4951 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.46e-05/0.143, allocations: 176.3 kB / 0.4952 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.143, allocations: 184.2 kB / 0.4954 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.902e-05/0.1431, allocations: 176.3 kB / 0.4956 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.063e-05/0.1432, allocations: 184.2 kB / 0.4958 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.1434, allocations: 315.7 kB / 0.4961 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1435, allocations: 189.9 kB / 0.4962 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.1436, allocations: 180.3 kB / 0.4964 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.1437, allocations: 112.9 kB / 0.4965 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.1438, allocations: 180.3 kB / 0.4967 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.1439, allocations: 101 kB / 0.4968 GB, free: 2.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.144, allocations: 124.1 kB / 0.4969 GB, free: 1.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.874e-06/0.144, allocations: 3.938 kB / 0.4969 GB, free: 1.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.1444, allocations: 23.94 kB / 0.4969 GB, free: 1.887 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 (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.0009705/0.1454, allocations: 0.9098 MB / 0.4978 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.1455, allocations: 80.41 kB / 0.4979 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1456, allocations: 0 / 0.4979 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.1456, allocations: 0 / 0.4979 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.146, allocations: 467.6 kB / 0.4983 GB, free: 448 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1477, allocations: 1.872 MB / 0.5002 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1481, allocations: 0.6967 MB / 0.5009 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.1483, allocations: 52.95 kB / 0.5009 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.1484, allocations: 31.36 kB / 0.5009 GB, free: 13.55 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1484, allocations: 0 / 0.5009 GB, free: 13.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.1698, allocations: 2.097 MB / 0.503 GB, free: 11.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.467, allocations: 11.25 kB / 0.503 GB, free: 11.44 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches