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.001382/0.001382, allocations: 108.1 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.001299/0.001299, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.581/1.581, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2208/0.2208, allocations: 43.53 MB / 314.1 MB, free: 448 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.001457/0.001457, allocations: 73.45 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003494/0.1167, allocations: 1.663 MB / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.1175, allocations: 375.4 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/0.1176, allocations: 4 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.1179, allocations: 23.86 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.1182, allocations: 55.64 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.1186, allocations: 151.7 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.1189, allocations: 83.77 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.119, allocations: 28.19 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.1191, allocations: 31.86 kB / 0.4898 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.1192, allocations: 35.84 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1192, allocations: 4 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1194, allocations: 67.89 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/0.1195, allocations: 15.98 kB / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.1196, allocations: 39.73 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.1198, allocations: 123.6 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1198, allocations: 0 / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1199, allocations: 0 / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1199, allocations: 4 kB / 0.49 GB, free: 9.582 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.0007147/0.1206, allocations: 423 kB / 0.4904 GB, free: 9.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1206, allocations: 11.89 kB / 0.4904 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.1207, allocations: 38.73 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1208, allocations: 8.844 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.121, allocations: 200.1 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.121, allocations: 4.375 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1211, allocations: 12.31 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.1214, allocations: 99.28 kB / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1214, allocations: 0 / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1214, allocations: 4 kB / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1214, allocations: 0 / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.1218, allocations: 79.91 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.1224, allocations: 340.7 kB / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.1227, allocations: 74.47 kB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1228, allocations: 52.88 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.1229, allocations: 4 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1229, allocations: 34.55 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1229, allocations: 0 / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001701/0.1246, allocations: 388.9 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1247, allocations: 77.11 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1248, allocations: 157.7 kB / 0.492 GB, free: 7.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1249, allocations: 25.7 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.1249, allocations: 100.1 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.125, allocations: 27.56 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.125, allocations: 21.7 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1252, allocations: 326.8 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.1255, allocations: 75.86 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.1258, allocations: 85.64 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.1264, allocations: 160.8 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1264, allocations: 0 / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00067/0.1271, allocations: 189.5 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1271, allocations: 4 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1271, allocations: 0 / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1272, allocations: 0 / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1274, allocations: 47.83 kB / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1274, allocations: 384 / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1276, allocations: 27.97 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1276, 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 9.539e-05/0.1277, allocations: 121.8 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.1277, allocations: 11.91 kB / 0.4931 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.1285, allocations: 214.1 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1285, allocations: 3.938 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1285, allocations: 3.938 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1285, allocations: 4 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009306/0.1294, allocations: 494.8 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1295, allocations: 0 / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.1297, allocations: 43.89 kB / 0.4939 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1297, allocations: 0 / 0.4939 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1297, allocations: 3.938 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1297, allocations: 4 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1297, allocations: 3.938 kB / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007264/0.1304, allocations: 295.3 kB / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.1305, allocations: 88.95 kB / 0.4942 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.1305, allocations: 4 kB / 0.4942 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.1307, allocations: 23.95 kB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.1308, allocations: 19.92 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1308, allocations: 4 kB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1309, allocations: 116 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1309, allocations: 0 / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1312, allocations: 32 kB / 0.4944 GB, free: 4.719 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.001849/0.1331, allocations: 1.165 MB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.1338, allocations: 159.8 kB / 0.4957 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.1338, allocations: 4 kB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.1341, allocations: 87.84 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.0003685/0.1345, allocations: 20.5 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.1374, allocations: 1.838 MB / 0.4976 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.1377, allocations: 0.6963 MB / 0.4983 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1379, 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 8.398e-05/0.1379, allocations: 31.42 kB / 0.4984 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.138, allocations: 0 / 0.4984 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.1581, allocations: 3.786 MB / 0.5021 GB, free: 12.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/7.956, allocations: 3.984 kB / 0.5021 GB, free: 12.75 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) "" Variables in the reference:time,t_new.y[1],d_t_new.y,ramp.y,ramp1.y,realExpression.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,realExpression.y,t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time