Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001729/0.001729, 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.001834/0.001834, 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.418/1.418, 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.21/0.21, 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.002142/0.002142, allocations: 69.45 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1169, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003268/0.1202, allocations: 1.662 MB / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007579/0.121, allocations: 379.4 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.1211, allocations: 0 / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1214, allocations: 27.86 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1216, allocations: 47.64 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.122, allocations: 159.7 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1222, allocations: 79.77 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1223, allocations: 32.19 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.1224, allocations: 35.84 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.1225, allocations: 31.84 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1225, allocations: 8 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1227, allocations: 59.89 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.1228, allocations: 19.98 kB / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.1228, allocations: 35.69 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1231, allocations: 127.5 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1231, allocations: 0 / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1231, allocations: 4 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1231, allocations: 4 kB / 0.49 GB, free: 9.578 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006602/0.1238, allocations: 414.9 kB / 0.4904 GB, free: 9.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.739e-05/0.1239, allocations: 15.89 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.1239, allocations: 38.73 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.124, allocations: 12.84 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1243, allocations: 207.7 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1243, allocations: 8.375 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1243, allocations: 4.375 kB / 0.4907 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.1246, allocations: 95.3 kB / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1247, allocations: 3.984 kB / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1247, allocations: 4 kB / 0.4908 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1247, allocations: 0 / 0.4908 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.125, allocations: 75.92 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.1257, allocations: 336.7 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1259, allocations: 74.53 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1261, allocations: 44.89 kB / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.1262, allocations: 3.984 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.1262, allocations: 34.56 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 6.422e-06/0.1262, allocations: 0 / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001718/0.1279, allocations: 397.1 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.128, allocations: 81.05 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1282, allocations: 153.8 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.1283, allocations: 29.7 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.1283, allocations: 100.1 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.1284, allocations: 31.69 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/0.1285, allocations: 29.7 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1287, allocations: 314.8 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.129, allocations: 75.91 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.1294, allocations: 89.64 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.1299, allocations: 152.7 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.13, allocations: 4 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000701/0.1307, allocations: 197.4 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1307, allocations: 4 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1307, allocations: 4 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1307, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.131, allocations: 39.89 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.131, allocations: 0 / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.1311, allocations: 24.34 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1312, allocations: 3.984 kB / 0.493 GB, free: 6.289 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 (8): * Single equations (assignments): 8 * 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.0001305/0.1313, allocations: 129.8 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.1313, allocations: 7.953 kB / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007465/0.1321, allocations: 214.2 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.1321, allocations: 7.938 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1321, allocations: 4 kB / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1321, allocations: 0 / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1333, allocations: 486.8 kB / 0.4938 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1333, allocations: 8 kB / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.1335, allocations: 35.84 kB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.1335, allocations: 7.984 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1335, allocations: 7.938 kB / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1335, allocations: 0 / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1335, allocations: 0 / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.1343, allocations: 291.4 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.1343, allocations: 93 kB / 0.4942 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.1344, allocations: 0 / 0.4942 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.1346, allocations: 31.95 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.1347, allocations: 11.98 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.1347, allocations: 0 / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1348, allocations: 116 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1348, allocations: 4 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1351, allocations: 27.94 kB / 0.4944 GB, free: 4.727 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 (8): * Single equations (assignments): 8 * 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.002691/0.1378, allocations: 1.181 MB / 0.4956 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007208/0.1385, allocations: 163.8 kB / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1385, allocations: 0 / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.1389, allocations: 79.92 kB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.1393, allocations: 24.48 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.1425, allocations: 1.83 MB / 0.4976 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.1429, allocations: 0.7002 MB / 0.4983 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.143, allocations: 32.39 kB / 0.4983 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.449e-05/0.1431, allocations: 35.42 kB / 0.4984 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1431, allocations: 0 / 0.4984 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.1695, allocations: 3.738 MB / 0.502 GB, free: 12.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.094, allocations: 8.062 kB / 0.502 GB, free: 12.79 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches