Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.00118/0.00118, allocations: 104 kB / 16.4 MB, free: 6.453 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.001123/0.001123, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.502/1.502, 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.2182/0.2182, allocations: 43.52 MB / 314.1 MB, free: 460 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.001635/0.001635, allocations: 70.19 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1095, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003047/0.1126, allocations: 1.659 MB / 0.489 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006946/0.1133, allocations: 347.4 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.1134, allocations: 0 / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1137, allocations: 27.84 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.1139, allocations: 47.7 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.1143, allocations: 119.7 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1144, allocations: 75.77 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1145, allocations: 16.22 kB / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.1146, allocations: 35.84 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.1147, allocations: 39.84 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1148, allocations: 4 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1149, allocations: 55.95 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.115, allocations: 23.92 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.115, allocations: 31.8 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1153, allocations: 119.6 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1153, allocations: 0 / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1153, allocations: 0 / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1153, allocations: 0 / 0.4899 GB, free: 9.668 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.0006689/0.116, allocations: 431 kB / 0.4903 GB, free: 9.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.116, allocations: 11.89 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.116, allocations: 38.73 kB / 0.4904 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.1161, allocations: 8.844 kB / 0.4904 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.1163, allocations: 199.8 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1163, allocations: 4.375 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.1164, allocations: 4.375 kB / 0.4906 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.1167, allocations: 103.2 kB / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1167, allocations: 0 / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1167, allocations: 0 / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1167, allocations: 0 / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.117, allocations: 67.92 kB / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.1174, allocations: 312.7 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1177, allocations: 66.53 kB / 0.4911 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1178, allocations: 44.94 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1179, allocations: 0 / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1179, allocations: 38.56 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.1179, allocations: 0 / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001605/0.1195, allocations: 373 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1196, allocations: 77.11 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1197, allocations: 149.8 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1198, allocations: 33.7 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.1198, allocations: 96.02 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.1199, allocations: 31.55 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.12, allocations: 25.72 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1201, allocations: 318.8 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.1204, allocations: 76.23 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.1207, allocations: 81.64 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.1212, allocations: 140.7 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1212, allocations: 4 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006255/0.1219, allocations: 185.4 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1219, allocations: 8 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1219, allocations: 0 / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1219, allocations: 0 / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.1221, allocations: 43.83 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1222, allocations: 0 / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.1223, allocations: 27.91 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1223, allocations: 8 kB / 0.4928 GB, free: 6.473 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.257e-05/0.1224, allocations: 117.8 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.1225, allocations: 7.906 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000687/0.1232, allocations: 198.2 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1232, allocations: 0 / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1232, allocations: 0 / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1232, allocations: 7.875 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008962/0.1241, allocations: 474.4 kB / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1241, allocations: 0 / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.1243, allocations: 35.95 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1243, allocations: 3.984 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1244, allocations: 7.938 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1244, allocations: 4.469 kB / 0.4936 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1244, allocations: 0 / 0.4936 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.125, allocations: 283.2 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.1251, allocations: 89 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1251, allocations: 7.938 kB / 0.494 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1253, allocations: 19.97 kB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.1254, allocations: 11.98 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1254, allocations: 4 kB / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.1255, allocations: 118.5 kB / 0.4941 GB, free: 5.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1255, allocations: 0 / 0.4941 GB, free: 5.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1258, allocations: 35.98 kB / 0.4942 GB, free: 4.969 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.001895/0.1277, allocations: 1.158 MB / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006714/0.1284, allocations: 147.8 kB / 0.4954 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1284, allocations: 0 / 0.4954 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.1287, allocations: 83.86 kB / 0.4955 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.1291, allocations: 23.92 kB / 0.4955 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.1322, allocations: 1.763 MB / 0.4973 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1326, allocations: 0.7041 MB / 0.498 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1327, allocations: 20.34 kB / 0.498 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.1328, allocations: 31.42 kB / 0.498 GB, free: 0.957 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1328, allocations: 0 / 0.498 GB, free: 0.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.1547, allocations: 3.709 MB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.1, allocations: 8 kB / 0.5016 GB, free: 13.17 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,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(ramp.y),der(ramp1.y),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.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,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,time