Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27",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.001911/0.001911, allocations: 110.7 kB / 16.41 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.001976/0.001976, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.605/1.605, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2184/0.2184, allocations: 43.52 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.002511/0.002511, allocations: 69.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1395, allocations: 57.81 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.004136/0.1437, allocations: 1.616 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00074/0.1444, allocations: 311.6 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.1446, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.145, allocations: 67.72 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.1452, allocations: 55.75 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.1457, allocations: 111.7 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.1459, allocations: 71.81 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.146, allocations: 12.17 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.1461, allocations: 31.92 kB / 0.4896 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1462, allocations: 43.83 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1463, allocations: 8 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.1464, allocations: 35.92 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.1465, allocations: 19.92 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.1466, allocations: 35.72 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.1468, allocations: 91.72 kB / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1468, allocations: 0 / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1469, allocations: 0 / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1469, allocations: 0 / 0.4898 GB, free: 9.762 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.0008426/0.1477, allocations: 403 kB / 0.4902 GB, free: 9.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/0.1478, allocations: 19.89 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.49e-05/0.1479, allocations: 30.75 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.148, allocations: 16.75 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1483, allocations: 204 kB / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1483, allocations: 384 / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.1483, allocations: 8.125 kB / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.1486, allocations: 53.67 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1486, allocations: 4 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1486, allocations: 0 / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1486, allocations: 4 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.1488, allocations: 31.97 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.1494, allocations: 292.8 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1495, allocations: 42.55 kB / 0.4909 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.1497, allocations: 28.94 kB / 0.4909 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1497, allocations: 0 / 0.4909 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.1498, allocations: 38.56 kB / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1498, allocations: 0 / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009276/0.1507, allocations: 217.2 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1508, allocations: 51.41 kB / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.151, allocations: 186.2 kB / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.151, allocations: 29.64 kB / 0.4914 GB, free: 7.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.1511, allocations: 104 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.1511, allocations: 27.64 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.1512, allocations: 21.66 kB / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1513, allocations: 326.8 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1515, allocations: 27.97 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1516, allocations: 35.91 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.1518, allocations: 72.81 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1518, allocations: 0 / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002709/0.1521, allocations: 113.5 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1521, allocations: 8 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1522, allocations: 0 / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.1522, allocations: 0 / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1523, allocations: 23.92 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.1523, allocations: 7.938 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.1524, allocations: 11.98 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1524, allocations: 4 kB / 0.4922 GB, free: 7.133 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.000121/0.1526, allocations: 121.8 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.1526, allocations: 11.89 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.153, allocations: 122.3 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.153, allocations: 4 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.153, allocations: 7.938 kB / 0.4924 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.153, allocations: 0 / 0.4924 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.1536, allocations: 394.9 kB / 0.4928 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1536, allocations: 0 / 0.4928 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/0.1537, allocations: 19.98 kB / 0.4928 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.1537, allocations: 3.938 kB / 0.4928 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.1537, allocations: 0 / 0.4928 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1537, allocations: 4 kB / 0.4928 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1537, allocations: 8 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.1541, allocations: 211.3 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.1542, allocations: 85.02 kB / 0.4931 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1542, allocations: 7.938 kB / 0.4931 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.1543, allocations: 11.98 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.1544, allocations: 7.984 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.1544, allocations: 7.938 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1545, allocations: 139.9 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1545, allocations: 0 / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1548, allocations: 23.98 kB / 0.4933 GB, free: 5.855 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.001533/0.1563, allocations: 1.046 MB / 0.4943 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.1567, allocations: 75.94 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.1567, allocations: 4 kB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1568, allocations: 39.91 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1572, allocations: 19.94 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.1598, allocations: 1.647 MB / 0.4961 GB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1602, allocations: 0.7079 MB / 0.4968 GB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.941e-05/0.1603, allocations: 8.969 kB / 0.4968 GB, free: 2.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.1604, allocations: 31.42 kB / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1604, allocations: 0 / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.1824, allocations: 2.929 MB / 0.4997 GB, free: 15.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.863, allocations: 19.67 kB / 0.4997 GB, free: 15.22 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches