Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",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.001231/0.001231, allocations: 105 kB / 16.4 MB, free: 6.461 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.001269/0.00127, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.448/1.448, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2118/0.2118, allocations: 43.52 MB / 314.1 MB, free: 444 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.002256/0.002256, allocations: 73.47 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1474, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.004031/0.1515, allocations: 1.626 MB / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1528, allocations: 0.6841 MB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.1528, allocations: 0 / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1532, allocations: 35.84 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1534, allocations: 35.89 kB / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.022e-06/0.1534, allocations: 0 / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1537, allocations: 35.84 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/0.1537, allocations: 7.984 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.1538, allocations: 11.94 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.1539, allocations: 11.92 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1539, allocations: 4 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.154, allocations: 11.98 kB / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.154, allocations: 11.94 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.1541, allocations: 19.81 kB / 0.4898 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1543, allocations: 71.67 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1543, allocations: 3.984 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1543, allocations: 0 / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1543, allocations: 0 / 0.4899 GB, free: 9.676 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.0004876/0.1548, allocations: 363.4 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1549, allocations: 11.89 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.548e-05/0.1549, allocations: 38.75 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.155, allocations: 4.844 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.1552, allocations: 180.2 kB / 0.4905 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1552, allocations: 8.359 kB / 0.4905 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1552, allocations: 384 / 0.4905 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.1554, allocations: 130.9 kB / 0.4906 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1555, allocations: 7.875 kB / 0.4906 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1555, allocations: 0 / 0.4906 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/0.1555, allocations: 23.98 kB / 0.4906 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1557, allocations: 43.91 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008401/0.1565, allocations: 0.8945 MB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1566, allocations: 165.1 kB / 0.4917 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.1567, allocations: 92.17 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1567, allocations: 83.22 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.1568, allocations: 105.8 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.1568, allocations: 0 / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.000104/0.1569, allocations: 37.61 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.157, allocations: 126.7 kB / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.1573, allocations: 190.1 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1573, allocations: 25.7 kB / 0.4923 GB, free: 6.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1575, allocations: 147.1 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.1575, allocations: 0 / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.1576, allocations: 49.55 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1578, allocations: 322.8 kB / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.1578, allocations: 31.98 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.1581, allocations: 157.1 kB / 0.493 GB, free: 6.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.1584, allocations: 204.9 kB / 0.4932 GB, free: 5.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1584, allocations: 0 / 0.4932 GB, free: 5.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000475/0.1589, allocations: 209.1 kB / 0.4934 GB, free: 5.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1589, allocations: 4 kB / 0.4934 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1589, allocations: 4 kB / 0.4934 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.159, allocations: 8 kB / 0.4934 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.1592, allocations: 35.92 kB / 0.4935 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/0.1592, allocations: 16.52 kB / 0.4935 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.1594, allocations: 23.84 kB / 0.4935 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1594, allocations: 8 kB / 0.4935 GB, free: 5.586 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.0001731/0.1596, allocations: 216.9 kB / 0.4937 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1597, allocations: 116.8 kB / 0.4938 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.1598, allocations: 120.8 kB / 0.4939 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.389e-05/0.1599, allocations: 180.2 kB / 0.4941 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.585e-05/0.16, allocations: 180.3 kB / 0.4943 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-05/0.1601, allocations: 184.2 kB / 0.4945 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.1604, allocations: 421.2 kB / 0.4949 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.512e-05/0.1605, allocations: 105 kB / 0.495 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.1605, allocations: 112.9 kB / 0.4951 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-05/0.1606, allocations: 180.3 kB / 0.4952 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.1608, allocations: 184.1 kB / 0.4954 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.844e-05/0.1609, allocations: 180.3 kB / 0.4956 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.576e-05/0.1609, allocations: 180.2 kB / 0.4958 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.1611, allocations: 319.7 kB / 0.4961 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1613, allocations: 189.9 kB / 0.4962 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/0.1614, allocations: 180.3 kB / 0.4964 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1615, allocations: 105 kB / 0.4965 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.1616, allocations: 184.2 kB / 0.4967 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.1616, allocations: 101 kB / 0.4968 GB, free: 1.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.1618, allocations: 128.1 kB / 0.4969 GB, free: 1.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1618, allocations: 4 kB / 0.4969 GB, free: 1.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.1623, allocations: 16 kB / 0.4969 GB, free: 1.844 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.001054/0.1634, allocations: 0.9177 MB / 0.4978 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1636, allocations: 75.78 kB / 0.4979 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1636, allocations: 0 / 0.4979 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.1636, allocations: 0 / 0.4979 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.1642, allocations: 468.8 kB / 0.4983 GB, free: 400 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.1665, allocations: 1.876 MB / 0.5002 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1669, allocations: 0.6928 MB / 0.5009 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.1672, allocations: 53.02 kB / 0.5009 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.1673, allocations: 23.42 kB / 0.5009 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1673, allocations: 3.938 kB / 0.5009 GB, free: 13.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.1936, allocations: 2.101 MB / 0.503 GB, free: 11.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/7.518, allocations: 8.047 kB / 0.503 GB, free: 11.39 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches