Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",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.001296/0.001296, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001257/0.001257, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.569/1.569, 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.2241/0.2241, allocations: 43.52 MB / 314.1 MB, free: 456 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.002243/0.002244, allocations: 81.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1191, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.004644/0.1238, allocations: 1.946 MB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1255, allocations: 0.6666 MB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.1257, allocations: 0 / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006636/0.1264, allocations: 263.2 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005522/0.127, allocations: 191.3 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.1285, allocations: 447.1 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.129, allocations: 275.3 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.1292, allocations: 56.72 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.1295, allocations: 139.4 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.1298, allocations: 191.3 kB / 0.4915 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.1299, allocations: 16 kB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.1301, allocations: 67.97 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.1303, allocations: 83.75 kB / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1305, allocations: 119 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.1311, allocations: 310.4 kB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1311, allocations: 0 / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1311, allocations: 0 / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1311, allocations: 0 / 0.492 GB, free: 7.523 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001122/0.1322, allocations: 0.6647 MB / 0.4927 GB, free: 6.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1323, allocations: 11.89 kB / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.1324, allocations: 42.75 kB / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1325, allocations: 40.66 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.133, allocations: 326.5 kB / 0.4931 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.133, allocations: 8.375 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.1331, allocations: 12.38 kB / 0.4931 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.1334, allocations: 117.4 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1335, allocations: 4 kB / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1335, allocations: 0 / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1335, allocations: 0 / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.1337, allocations: 75.95 kB / 0.4933 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000918/0.1347, allocations: 492.4 kB / 0.4938 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1349, allocations: 90.48 kB / 0.4938 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1351, allocations: 37.06 kB / 0.4939 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.1351, allocations: 11.92 kB / 0.4939 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1352, allocations: 38.5 kB / 0.4939 GB, free: 5.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.1352, allocations: 0 / 0.4939 GB, free: 5.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001299/0.1365, allocations: 384.5 kB / 0.4943 GB, free: 5.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.1365, allocations: 51.41 kB / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008876/0.1374, allocations: 0.5448 MB / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.1375, allocations: 33.7 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.1377, allocations: 200.4 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.1378, allocations: 63.42 kB / 0.4952 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-05/0.1379, allocations: 41.64 kB / 0.4952 GB, free: 4.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.1381, allocations: 350.8 kB / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1383, allocations: 47.97 kB / 0.4956 GB, free: 3.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.1385, allocations: 54.62 kB / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.1388, allocations: 132.6 kB / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1389, allocations: 0 / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005095/0.1394, allocations: 184.2 kB / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1394, allocations: 11.98 kB / 0.4959 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1394, allocations: 0 / 0.4959 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1394, allocations: 0 / 0.4959 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.1397, allocations: 39.92 kB / 0.496 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1397, allocations: 3.984 kB / 0.496 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.1398, allocations: 11.98 kB / 0.496 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.1398, allocations: 4 kB / 0.496 GB, free: 3.219 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 (17): * Single equations (assignments): 17 * 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.0002352/0.1401, allocations: 177.7 kB / 0.4962 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1402, allocations: 43.72 kB / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000645/0.1409, allocations: 237.4 kB / 0.4964 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1409, allocations: 0 / 0.4964 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1409, allocations: 7.984 kB / 0.4964 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1409, allocations: 0 / 0.4964 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1421, allocations: 0.6231 MB / 0.4971 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1421, allocations: 3.938 kB / 0.4971 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1423, allocations: 27.98 kB / 0.4971 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1423, allocations: 0 / 0.4971 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.1423, allocations: 8 kB / 0.4971 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.1424, allocations: 7.922 kB / 0.4971 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1424, allocations: 4 kB / 0.4971 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005769/0.1429, allocations: 303.8 kB / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1431, allocations: 112.9 kB / 0.4975 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.1431, allocations: 0 / 0.4975 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1433, allocations: 15.92 kB / 0.4975 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.1434, allocations: 15.92 kB / 0.4975 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1434, allocations: 12 kB / 0.4975 GB, free: 1.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006276/0.144, allocations: 411.1 kB / 0.4979 GB, free: 1.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.144, allocations: 0 / 0.4979 GB, free: 1.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004522/0.1445, allocations: 43.94 kB / 0.498 GB, free: 1.09 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 (17): * Single equations (assignments): 17 * 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.004464/0.149, allocations: 1.427 MB / 0.4994 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004801/0.1495, allocations: 135.8 kB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.1495, allocations: 4 kB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.1497, allocations: 67.91 kB / 0.4996 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.1506, allocations: 77.33 kB / 0.4996 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/0.1561, allocations: 3.035 MB / 0.5026 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.1567, allocations: 0.8025 MB / 0.5034 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.1569, allocations: 53.91 kB / 0.5034 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.1571, allocations: 123.4 kB / 0.5036 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1571, allocations: 0 / 0.5036 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.1888, allocations: 7.255 MB / 0.5106 GB, free: 3.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/8.418, allocations: 15.91 kB / 0.5107 GB, free: 3.973 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches