Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25",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.00115/0.00115, allocations: 104.2 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.001367/0.001367, allocations: 189.5 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.571/1.571, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2389/0.2389, allocations: 43.53 MB / 314.1 MB, free: 452 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.002782/0.002782, allocations: 69.62 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1578, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003912/0.1618, allocations: 1.619 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008313/0.1626, allocations: 339.5 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1628, allocations: 3.938 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.1632, allocations: 51.81 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.1635, allocations: 47.81 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.1641, allocations: 159.6 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.1643, allocations: 71.83 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1645, allocations: 23.97 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.302e-05/0.1646, allocations: 31.84 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1647, allocations: 43.83 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1647, allocations: 4 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1649, allocations: 32 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.1649, allocations: 19.92 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.165, allocations: 31.73 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1653, allocations: 91.7 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1653, allocations: 0 / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.92e-06/0.1653, allocations: 4 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1653, allocations: 3.938 kB / 0.4899 GB, free: 9.699 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.0007098/0.166, allocations: 407 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.1661, allocations: 11.89 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.1662, allocations: 34.75 kB / 0.4903 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.1662, allocations: 12.84 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1665, allocations: 192.7 kB / 0.4905 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1665, allocations: 12.11 kB / 0.4905 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.1666, allocations: 4 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.1668, allocations: 61.66 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1668, allocations: 3.938 kB / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1668, allocations: 4 kB / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1669, allocations: 0 / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.167, allocations: 39.97 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.1676, allocations: 308.7 kB / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1679, allocations: 58.48 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.455e-05/0.1679, allocations: 24.94 kB / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.168, allocations: 0 / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.168, allocations: 30.56 kB / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.168, allocations: 0 / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009719/0.169, allocations: 233.5 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.1691, allocations: 55.34 kB / 0.4913 GB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1693, allocations: 178.4 kB / 0.4915 GB, free: 7.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1693, allocations: 29.7 kB / 0.4915 GB, free: 7.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.1694, allocations: 104.1 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.1694, allocations: 15.7 kB / 0.4916 GB, free: 7.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.1695, allocations: 21.72 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1696, allocations: 326.8 kB / 0.492 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1698, allocations: 35.97 kB / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1699, allocations: 44.03 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.1701, allocations: 92.78 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1701, allocations: 0 / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003002/0.1704, allocations: 117.5 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1705, allocations: 8 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1705, allocations: 4 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1705, allocations: 0 / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1706, allocations: 27.91 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.1707, allocations: 3.984 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.1707, allocations: 4 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1708, allocations: 4 kB / 0.4923 GB, free: 7.008 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.0001096/0.1709, allocations: 133.7 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.1709, allocations: 11.81 kB / 0.4924 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.1713, allocations: 146.2 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1713, allocations: 3.938 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1713, allocations: 4 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1713, allocations: 0 / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.1719, allocations: 418.4 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1719, allocations: 0 / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.172, allocations: 23.92 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1721, allocations: 0 / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1721, allocations: 4 kB / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1721, allocations: 0 / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1721, allocations: 0 / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.1724, allocations: 219.4 kB / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1725, allocations: 92.89 kB / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1725, allocations: 0 / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.1726, allocations: 11.98 kB / 0.4933 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.123e-05/0.1727, allocations: 15.92 kB / 0.4933 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1727, allocations: 0 / 0.4933 GB, free: 5.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1729, allocations: 132.1 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1729, allocations: 4 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1731, allocations: 19.98 kB / 0.4935 GB, free: 5.684 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.001645/0.1748, allocations: 1.062 MB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1751, allocations: 91.86 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1751, allocations: 0 / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1753, allocations: 47.97 kB / 0.4947 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1757, allocations: 11.98 kB / 0.4947 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.1778, allocations: 1.677 MB / 0.4963 GB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1781, allocations: 0.7002 MB / 0.497 GB, free: 2.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.577e-05/0.1782, allocations: 24.95 kB / 0.497 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.1783, allocations: 27.42 kB / 0.497 GB, free: 1.957 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1783, allocations: 4 kB / 0.497 GB, free: 1.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.2011, allocations: 2.965 MB / 0.4999 GB, free: 14.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/7.874, allocations: 4.062 kB / 0.4999 GB, free: 14.96 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches