Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.00118/0.00118, allocations: 109.8 kB / 16.41 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.001179/0.001179, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.326/1.326, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2032/0.2032, allocations: 43.52 MB / 314.1 MB, free: 468 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.001523/0.001524, allocations: 63.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.003119/0.1087, allocations: 1.554 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006365/0.1093, allocations: 331.4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.1094, allocations: 0 / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.1098, allocations: 127.7 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.11, allocations: 83.77 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1103, allocations: 95.8 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1105, allocations: 79.81 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1106, allocations: 19.97 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.1107, allocations: 43.83 kB / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1108, allocations: 75.84 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1108, allocations: 11.94 kB / 0.4898 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.1109, allocations: 31.98 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.111, allocations: 23.92 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.111, allocations: 35.67 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1112, allocations: 103.6 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1113, allocations: 0 / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1113, allocations: 0 / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1113, allocations: 4 kB / 0.4899 GB, free: 9.688 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.0005122/0.1118, allocations: 414.8 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.1119, allocations: 23.83 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.1119, allocations: 30.75 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.1119, allocations: 12.75 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1122, allocations: 215.8 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.1122, allocations: 4.312 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1122, allocations: 384 / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1124, allocations: 53.62 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1124, allocations: 3.984 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1124, allocations: 0 / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1124, allocations: 0 / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/0.1125, allocations: 31.97 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.113, allocations: 292.8 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1132, allocations: 46.5 kB / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.1132, allocations: 20.94 kB / 0.491 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1133, allocations: 4 kB / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.1133, allocations: 30.56 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1133, allocations: 0 / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005815/0.1139, allocations: 161.1 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.1139, allocations: 51.41 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.1142, allocations: 266.3 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1142, allocations: 29.7 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.1143, allocations: 112.1 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1143, allocations: 19.66 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.1143, allocations: 13.72 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1145, allocations: 334.8 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.159e-05/0.1146, allocations: 19.98 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.1146, allocations: 28.03 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1148, allocations: 56.77 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1148, allocations: 0 / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000177/0.115, allocations: 85.58 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.115, allocations: 4 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.115, allocations: 4 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.115, allocations: 3.984 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.1151, allocations: 8 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1151, allocations: 7.938 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.1152, allocations: 7.984 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1152, allocations: 3.938 kB / 0.4922 GB, free: 7.098 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.817e-05/0.1153, allocations: 137.7 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.1153, allocations: 19.81 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.1156, allocations: 102.6 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1156, allocations: 4 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1156, allocations: 4 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1156, allocations: 0 / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.116, allocations: 366.4 kB / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.116, allocations: 320 / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.1161, allocations: 19.98 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1161, allocations: 0 / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1161, allocations: 0 / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1161, allocations: 3.938 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1161, allocations: 4 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1164, allocations: 187.3 kB / 0.493 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.1164, allocations: 88.95 kB / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1164, allocations: 0 / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.1165, allocations: 15.86 kB / 0.4931 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.1166, allocations: 4 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1166, allocations: 4 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.1167, allocations: 203.2 kB / 0.4933 GB, free: 5.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1167, allocations: 0 / 0.4933 GB, free: 5.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.117, allocations: 19.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.001245/0.1182, allocations: 1.026 MB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1184, allocations: 47.91 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1184, allocations: 0 / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.1185, allocations: 23.98 kB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1189, allocations: 27.86 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.1207, allocations: 1.723 MB / 0.4961 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.121, allocations: 0.708 MB / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.62e-05/0.1211, allocations: 11.98 kB / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.1212, allocations: 35.42 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1212, allocations: 4 kB / 0.4969 GB, free: 2.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.1414, allocations: 3.048 MB / 0.4999 GB, free: 15.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/7.775, allocations: 8.219 kB / 0.4999 GB, free: 15.06 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.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