Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29",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.001165/0.001165, allocations: 104.2 kB / 16.4 MB, free: 6.492 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.001299/0.001299, allocations: 189.5 kB / 17.33 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.366/1.366, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.217/0.217, allocations: 43.53 MB / 314.1 MB, free: 448 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.001566/0.001566, allocations: 71.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1338, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003898/0.1378, allocations: 1.612 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.1386, allocations: 347.5 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.1387, allocations: 4 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1391, allocations: 71.77 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1394, allocations: 55.75 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.1399, allocations: 159.7 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.1401, allocations: 75.75 kB / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1402, allocations: 27.97 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.1403, allocations: 31.91 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1404, allocations: 47.83 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1405, allocations: 4 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1406, allocations: 31.98 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.1407, allocations: 27.86 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.1407, allocations: 39.72 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.141, allocations: 103.6 kB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.141, allocations: 0 / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.141, allocations: 0 / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.141, allocations: 4 kB / 0.49 GB, free: 9.656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006268/0.1416, allocations: 410.9 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1417, allocations: 15.89 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1417, allocations: 30.75 kB / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1419, allocations: 12.75 kB / 0.4904 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1421, allocations: 212.7 kB / 0.4906 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1421, allocations: 4.375 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1422, allocations: 384 / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.1424, allocations: 65.61 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1424, allocations: 4 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1424, allocations: 0 / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1424, allocations: 0 / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1426, allocations: 51.88 kB / 0.4907 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.1431, allocations: 312.7 kB / 0.491 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1433, allocations: 54.55 kB / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.497e-05/0.1434, allocations: 24.94 kB / 0.4911 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.1434, allocations: 4.078 kB / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.1434, allocations: 30.56 kB / 0.4911 GB, free: 8.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.794e-06/0.1435, allocations: 0 / 0.4911 GB, free: 8.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000892/0.1443, allocations: 237 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1444, allocations: 51.41 kB / 0.4914 GB, free: 7.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1447, allocations: 216.3 kB / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1447, allocations: 25.7 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.1448, allocations: 112 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.1449, allocations: 23.59 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.1449, allocations: 21.72 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1451, allocations: 326.8 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1452, allocations: 39.89 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1454, allocations: 35.97 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.1456, allocations: 92.8 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1456, allocations: 0 / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003117/0.1459, allocations: 121.5 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.146, allocations: 7.984 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.146, allocations: 4 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.146, allocations: 4 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1461, allocations: 23.92 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1461, allocations: 0 / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.1462, allocations: 16.2 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1462, allocations: 4 kB / 0.4924 GB, free: 6.883 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001291/0.1464, allocations: 129.8 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.1464, allocations: 11.81 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.1468, allocations: 147 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1468, allocations: 0 / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1468, allocations: 0 / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1468, allocations: 3.938 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/0.1474, allocations: 414.4 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1474, allocations: 7.938 kB / 0.4931 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1475, allocations: 23.97 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1475, allocations: 0 / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1476, allocations: 3.938 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1476, allocations: 4 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1476, allocations: 0 / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.1479, allocations: 227.8 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.148, allocations: 92.92 kB / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.148, allocations: 3.938 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.1481, allocations: 7.984 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.1482, allocations: 11.98 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1482, allocations: 4 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1483, allocations: 159.5 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1483, allocations: 0 / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1486, allocations: 28 kB / 0.4937 GB, free: 5.516 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 (7): * Single equations (assignments): 7 * 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.001515/0.1501, allocations: 1.057 MB / 0.4947 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.1505, allocations: 95.86 kB / 0.4948 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1505, allocations: 4 kB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.1506, allocations: 47.91 kB / 0.4948 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.151, allocations: 19.92 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.1534, allocations: 1.757 MB / 0.4966 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.1538, allocations: 0.7157 MB / 0.4973 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.421e-05/0.1539, allocations: 24.95 kB / 0.4973 GB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.621e-05/0.154, allocations: 31.42 kB / 0.4973 GB, free: 1.68 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.154, allocations: 0 / 0.4973 GB, free: 1.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.1758, allocations: 3.136 MB / 0.5004 GB, free: 14.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.633, allocations: 4.062 kB / 0.5004 GB, free: 14.52 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches