Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",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.00127/0.00127, allocations: 106.5 kB / 16.41 MB, free: 6.516 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.001328/0.001328, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.579/1.579, 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.2163/0.2163, 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.001964/0.001964, allocations: 73.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1042, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003292/0.1075, allocations: 1.965 MB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1087, allocations: 0.6549 MB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.1088, allocations: 4 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.1093, allocations: 255.2 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1097, allocations: 203.2 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009002/0.1106, allocations: 447.1 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.1109, allocations: 279.3 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1111, allocations: 60.72 kB / 0.4912 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1113, allocations: 135.4 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.1115, allocations: 191.4 kB / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.1115, allocations: 16 kB / 0.4915 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1117, allocations: 67.92 kB / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1118, allocations: 83.73 kB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1119, allocations: 119 kB / 0.4918 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.1123, allocations: 306.4 kB / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1123, allocations: 0 / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1123, allocations: 3.938 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1123, allocations: 0 / 0.492 GB, free: 7.512 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.0007694/0.1131, allocations: 0.6647 MB / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1131, allocations: 19.89 kB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1132, allocations: 42.75 kB / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.1133, allocations: 40.66 kB / 0.4928 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1136, allocations: 318.6 kB / 0.4931 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1136, allocations: 8.375 kB / 0.4931 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.1137, allocations: 12.38 kB / 0.4931 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.1139, allocations: 109.5 kB / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1139, allocations: 0 / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1139, allocations: 8 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1139, allocations: 0 / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1141, allocations: 75.89 kB / 0.4933 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.1147, allocations: 496.4 kB / 0.4938 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1149, allocations: 90.55 kB / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.115, allocations: 33.06 kB / 0.4939 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.115, allocations: 7.938 kB / 0.4939 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1151, allocations: 42.44 kB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1151, allocations: 0 / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009005/0.116, allocations: 384.5 kB / 0.4943 GB, free: 5.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.116, allocations: 55.41 kB / 0.4944 GB, free: 4.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.1166, allocations: 0.5487 MB / 0.4949 GB, free: 4.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1167, allocations: 29.7 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.1168, allocations: 200.4 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.1169, allocations: 63.44 kB / 0.4952 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.1169, allocations: 37.64 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1171, allocations: 350.8 kB / 0.4955 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1172, allocations: 47.97 kB / 0.4956 GB, free: 3.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1173, allocations: 50.62 kB / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.1176, allocations: 132.7 kB / 0.4958 GB, free: 3.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1176, allocations: 0 / 0.4958 GB, free: 3.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000343/0.118, allocations: 196.2 kB / 0.496 GB, free: 3.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.118, allocations: 4 kB / 0.496 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.118, allocations: 4 kB / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.118, allocations: 0 / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1182, allocations: 31.98 kB / 0.496 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1182, allocations: 4 kB / 0.496 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.1182, allocations: 11.92 kB / 0.496 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1183, allocations: 8 kB / 0.496 GB, free: 3.211 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.0001625/0.1184, allocations: 177.6 kB / 0.4962 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.1185, allocations: 43.72 kB / 0.4962 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.119, allocations: 237.4 kB / 0.4965 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.119, allocations: 3.984 kB / 0.4965 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.119, allocations: 4 kB / 0.4965 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.119, allocations: 0 / 0.4965 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008064/0.1198, allocations: 0.6153 MB / 0.4971 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.1198, allocations: 8 kB / 0.4971 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1199, allocations: 35.92 kB / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.12, allocations: 0 / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.12, allocations: 7.984 kB / 0.4971 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.12, allocations: 7.938 kB / 0.4971 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.12, allocations: 0 / 0.4971 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.1204, allocations: 299.8 kB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.1205, allocations: 116.9 kB / 0.4975 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.1206, allocations: 7.984 kB / 0.4975 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.1207, allocations: 11.92 kB / 0.4975 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.1207, allocations: 19.92 kB / 0.4976 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1207, allocations: 8 kB / 0.4976 GB, free: 1.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004267/0.1212, allocations: 411.1 kB / 0.498 GB, free: 1.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1212, allocations: 0 / 0.498 GB, free: 1.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000292/0.1215, allocations: 43.94 kB / 0.498 GB, free: 1.078 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.003248/0.1247, allocations: 1.431 MB / 0.4994 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.1251, allocations: 127.8 kB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1251, allocations: 0 / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1252, allocations: 71.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.0005396/0.1258, allocations: 77.38 kB / 0.4997 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.1295, allocations: 3.039 MB / 0.5026 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.1301, allocations: 0.8026 MB / 0.5034 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000167/0.1303, allocations: 45.91 kB / 0.5035 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.1305, allocations: 119.4 kB / 0.5036 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 1.443e-06/0.1305, allocations: 0 / 0.5036 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.1601, allocations: 7.255 MB / 0.5107 GB, free: 3.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.306, allocations: 3.984 kB / 0.5107 GB, free: 3.98 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches