Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",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.001687/0.001686, allocations: 103.4 kB / 16.4 MB, free: 6.496 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.001826/0.001826, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.411/1.411, 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.1983/0.1983, allocations: 43.53 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.001495/0.001495, allocations: 79.89 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.002736/0.1058, allocations: 1.55 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005825/0.1064, allocations: 331.4 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.1065, allocations: 4 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1067, allocations: 123.7 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.107, allocations: 83.77 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1072, allocations: 103.7 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1074, allocations: 71.88 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.1075, allocations: 19.97 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.1076, allocations: 43.83 kB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1077, allocations: 75.84 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1077, allocations: 3.938 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.1078, allocations: 39.94 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.1078, allocations: 31.89 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.1079, allocations: 27.75 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.108, allocations: 103.6 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1081, allocations: 0 / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1081, allocations: 0 / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1081, allocations: 0 / 0.4899 GB, free: 9.684 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004533/0.1085, allocations: 422.3 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1086, allocations: 15.83 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.1086, allocations: 38.75 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.1086, allocations: 16.75 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1088, allocations: 211.8 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1089, allocations: 384 / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1089, allocations: 4.375 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.109, allocations: 45.62 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.109, allocations: 4 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1091, allocations: 0 / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1091, allocations: 0 / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.911e-05/0.1092, allocations: 27.97 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1095, allocations: 304.8 kB / 0.491 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1097, allocations: 42.55 kB / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.1098, allocations: 20.94 kB / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.1098, allocations: 0 / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1098, allocations: 38.56 kB / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1098, allocations: 0 / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005234/0.1104, allocations: 157.1 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1104, allocations: 55.41 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1106, allocations: 262.3 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1107, allocations: 25.7 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.1107, allocations: 116.1 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.1108, allocations: 19.66 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.1108, allocations: 21.66 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1109, allocations: 330.8 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.111, allocations: 27.91 kB / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.1111, allocations: 24.05 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1112, allocations: 52.83 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1112, allocations: 0 / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001939/0.1114, allocations: 85.58 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1114, allocations: 7.984 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1115, allocations: 0 / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1115, allocations: 0 / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.1115, allocations: 15.94 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1115, allocations: 3.938 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.1116, allocations: 11.98 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1116, allocations: 7.938 kB / 0.4922 GB, free: 7.082 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 (5): * Single equations (assignments): 5 * 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 9.092e-05/0.1117, allocations: 133.8 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.1118, allocations: 11.81 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.112, allocations: 110.6 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.112, allocations: 0 / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.112, allocations: 0 / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.112, allocations: 4 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.1124, allocations: 370.4 kB / 0.4928 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1125, allocations: 320 / 0.4928 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.1125, allocations: 15.98 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1125, allocations: 0 / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1125, allocations: 0 / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1126, allocations: 3.938 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1126, allocations: 4 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1128, allocations: 191.3 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.1129, allocations: 85.02 kB / 0.4931 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1129, allocations: 4 kB / 0.4931 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.113, allocations: 11.92 kB / 0.4931 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.113, allocations: 0 / 0.4931 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.113, allocations: 0 / 0.4931 GB, free: 6.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.1132, allocations: 211.2 kB / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1132, allocations: 0 / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1134, allocations: 11.91 kB / 0.4934 GB, free: 5.828 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 (5): * Single equations (assignments): 5 * 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.001305/0.1147, allocations: 1.023 MB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.115, allocations: 55.97 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.115, allocations: 0 / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.89e-05/0.1151, allocations: 27.97 kB / 0.4944 GB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1154, allocations: 19.88 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.1174, allocations: 1.719 MB / 0.4961 GB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1177, allocations: 0.7158 MB / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.142e-05/0.1178, allocations: 11.98 kB / 0.4968 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.1178, allocations: 35.42 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1178, allocations: 0 / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.1359, allocations: 3.059 MB / 0.4999 GB, free: 15.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.058, allocations: 16.28 kB / 0.4999 GB, free: 15.04 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time