Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",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.00122/0.00122, allocations: 105.6 kB / 16.41 MB, free: 6.484 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.00124/0.00124, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.676/1.676, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.234/0.234, allocations: 43.52 MB / 314.1 MB, free: 436 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.001412/0.001412, allocations: 66.72 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1455, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003004/0.1485, allocations: 1.612 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.1493, allocations: 347.5 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.1494, allocations: 0 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1497, allocations: 75.78 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.15, allocations: 67.73 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.1504, allocations: 147.7 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1506, allocations: 79.75 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1508, allocations: 23.98 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.1508, allocations: 35.89 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.151, allocations: 47.83 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.151, allocations: 4 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.863e-05/0.1511, allocations: 43.91 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.1512, allocations: 19.92 kB / 0.4898 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.1512, allocations: 31.75 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.1515, allocations: 111.6 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.1515, allocations: 0 / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1515, allocations: 0 / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1515, allocations: 0 / 0.49 GB, free: 9.625 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.000649/0.1521, allocations: 414.9 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.1522, allocations: 11.89 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1523, allocations: 42.73 kB / 0.4904 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1523, allocations: 16.73 kB / 0.4904 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1526, allocations: 204.7 kB / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1526, allocations: 4.375 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1526, allocations: 4.375 kB / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1528, allocations: 65.59 kB / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1528, allocations: 0 / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1529, allocations: 3.938 kB / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1529, allocations: 4 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.153, allocations: 35.97 kB / 0.4907 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.1536, allocations: 328.6 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1538, allocations: 42.56 kB / 0.4911 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1539, allocations: 28.92 kB / 0.4911 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1539, allocations: 0 / 0.4911 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.154, allocations: 38.56 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.154, allocations: 0 / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008077/0.1548, allocations: 229 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1549, allocations: 51.48 kB / 0.4914 GB, free: 7.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.1551, allocations: 216.3 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1551, allocations: 25.7 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.1552, allocations: 112 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.1552, allocations: 27.64 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.1553, allocations: 21.66 kB / 0.4918 GB, free: 7.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.1555, allocations: 326.8 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1556, allocations: 39.97 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1557, allocations: 35.97 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.156, allocations: 88.8 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.156, allocations: 0 / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003047/0.1563, allocations: 121.5 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1563, allocations: 11.12 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1563, allocations: 0 / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1564, allocations: 0 / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1565, allocations: 27.92 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1565, allocations: 0 / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.346e-05/0.1566, allocations: 11.92 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1566, allocations: 4 kB / 0.4925 GB, free: 6.855 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.0001213/0.1567, allocations: 137.8 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.1567, allocations: 11.81 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.1571, allocations: 147 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1571, allocations: 0 / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.1572, allocations: 0 / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1572, allocations: 7.875 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.1578, allocations: 418.8 kB / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1578, allocations: 0 / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.1579, allocations: 19.98 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1579, allocations: 0 / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1579, allocations: 7.938 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1579, allocations: 0 / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1579, allocations: 4 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.1584, allocations: 227.4 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.1585, allocations: 93.19 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1585, allocations: 3.938 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1586, allocations: 11.98 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.1587, allocations: 7.984 kB / 0.4935 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1587, allocations: 4 kB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1588, allocations: 167.5 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1588, allocations: 0 / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1591, allocations: 20 kB / 0.4937 GB, free: 5.48 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.001454/0.1606, allocations: 1.065 MB / 0.4947 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.1609, allocations: 83.94 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1609, allocations: 0 / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1611, allocations: 55.89 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.1615, allocations: 19.44 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.1639, allocations: 1.749 MB / 0.4966 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1643, allocations: 0.7158 MB / 0.4973 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.996e-05/0.1644, allocations: 24.94 kB / 0.4973 GB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.1645, allocations: 31.42 kB / 0.4973 GB, free: 1.648 MB / 382.1 MB Notification: Performance of SimCode: time 2.484e-06/0.1645, allocations: 0 / 0.4973 GB, free: 1.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1901, allocations: 3.137 MB / 0.5004 GB, free: 14.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/7.874, allocations: 11.95 kB / 0.5004 GB, free: 14.48 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches