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.001854/0.001854, allocations: 110.7 kB / 16.46 MB, free: 6.477 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.002218/0.002218, allocations: 192.1 kB / 17.39 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 207.6 MB / 225.8 MB, free: 11.57 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.3228/0.3228, allocations: 44.24 MB / 319.9 MB, free: 12.86 MB / 270.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.002629/0.002629, allocations: 67.91 kB / 453.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2129, allocations: 61.02 MB / 0.5025 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.006638/0.2195, allocations: 1.65 MB / 0.5041 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2207, allocations: 367.3 kB / 0.5044 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.2208, allocations: 4 kB / 0.5044 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.2211, allocations: 23.86 kB / 0.5045 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.2215, allocations: 47.72 kB / 0.5045 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.2221, allocations: 115.8 kB / 0.5046 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.2223, allocations: 83.7 kB / 0.5047 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2225, allocations: 20.2 kB / 0.5047 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.2226, allocations: 23.92 kB / 0.5047 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.2227, allocations: 47.77 kB / 0.5048 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.2227, allocations: 4 kB / 0.5048 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.223, allocations: 47.98 kB / 0.5048 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.2231, allocations: 19.97 kB / 0.5049 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.2232, allocations: 35.73 kB / 0.5049 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.2236, allocations: 127.5 kB / 0.505 GB, free: 9.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2236, allocations: 3.938 kB / 0.505 GB, free: 9.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2236, allocations: 0 / 0.505 GB, free: 9.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.2236, allocations: 0 / 0.505 GB, free: 9.418 MB / 398.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.001058/0.2247, allocations: 418.9 kB / 0.5054 GB, free: 8.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.371e-05/0.2248, allocations: 15.89 kB / 0.5054 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/0.2248, allocations: 34.75 kB / 0.5055 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.2249, allocations: 8.891 kB / 0.5055 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.2252, allocations: 199.8 kB / 0.5057 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.2253, allocations: 8.312 kB / 0.5057 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.2253, allocations: 8.375 kB / 0.5057 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.2257, allocations: 95.28 kB / 0.5058 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.2257, allocations: 4 kB / 0.5058 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.2257, allocations: 4 kB / 0.5058 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.2258, allocations: 0 / 0.5058 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.2262, allocations: 67.92 kB / 0.5058 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006984/0.2269, allocations: 316.7 kB / 0.5061 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.2272, allocations: 66.53 kB / 0.5062 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.2275, allocations: 44.89 kB / 0.5062 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.2275, allocations: 0 / 0.5062 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.967e-05/0.2276, allocations: 34.56 kB / 0.5063 GB, free: 7.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.2276, allocations: 0 / 0.5063 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.002337/0.2299, allocations: 369 kB / 0.5066 GB, free: 7.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.23, allocations: 81.11 kB / 0.5067 GB, free: 7.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.2303, allocations: 149.8 kB / 0.5069 GB, free: 7.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.2304, allocations: 29.69 kB / 0.5069 GB, free: 7.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.2305, allocations: 100.1 kB / 0.507 GB, free: 7.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.2305, allocations: 35.73 kB / 0.507 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.2306, allocations: 21.66 kB / 0.507 GB, free: 7.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.2309, allocations: 322.8 kB / 0.5073 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.2312, allocations: 71.98 kB / 0.5074 GB, free: 6.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.2315, allocations: 81.64 kB / 0.5075 GB, free: 6.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.2322, allocations: 136.8 kB / 0.5076 GB, free: 6.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2322, allocations: 0 / 0.5076 GB, free: 6.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008735/0.2331, allocations: 181.5 kB / 0.5078 GB, free: 6.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.2331, allocations: 4 kB / 0.5078 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2331, allocations: 0 / 0.5078 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.2331, allocations: 3.984 kB / 0.5078 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.2335, allocations: 39.91 kB / 0.5078 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2335, allocations: 4 kB / 0.5078 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.2337, allocations: 31.89 kB / 0.5079 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2337, allocations: 0 / 0.5079 GB, free: 6.242 MB / 398.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 0.0001902/0.2339, allocations: 121.8 kB / 0.508 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.234, allocations: 11.91 kB / 0.508 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009246/0.2349, allocations: 198.9 kB / 0.5082 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.2349, allocations: 4 kB / 0.5082 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.2349, allocations: 4 kB / 0.5082 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.2349, allocations: 3.938 kB / 0.5082 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.2363, allocations: 482.4 kB / 0.5087 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2363, allocations: 0 / 0.5087 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.2366, allocations: 31.97 kB / 0.5087 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.2366, allocations: 7.984 kB / 0.5087 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.2366, allocations: 3.938 kB / 0.5087 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.2366, allocations: 3.938 kB / 0.5087 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2366, allocations: 0 / 0.5087 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009474/0.2376, allocations: 283.3 kB / 0.509 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.2377, allocations: 89.05 kB / 0.5091 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.2377, allocations: 7.938 kB / 0.5091 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.238, allocations: 19.97 kB / 0.5091 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.2381, allocations: 19.97 kB / 0.5091 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2381, allocations: 7.875 kB / 0.5091 GB, free: 4.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.2383, allocations: 126.6 kB / 0.5092 GB, free: 4.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2383, allocations: 0 / 0.5092 GB, free: 4.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.2387, allocations: 31.94 kB / 0.5093 GB, free: 4.707 MB / 398.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.00344/0.2422, allocations: 1.139 MB / 0.5104 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007392/0.2429, allocations: 147.8 kB / 0.5105 GB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.2429, allocations: 0 / 0.5105 GB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.2432, allocations: 83.86 kB / 0.5106 GB, free: 3.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.2437, allocations: 20.23 kB / 0.5106 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.2469, allocations: 1.774 MB / 0.5123 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.2474, allocations: 0.7001 MB / 0.513 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.2475, allocations: 8.438 kB / 0.513 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.884e-05/0.2475, allocations: 35.42 kB / 0.5131 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2475, allocations: 0 / 0.5131 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.285, allocations: 3.665 MB / 0.5167 GB, free: 12.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.82, allocations: 11.94 kB / 0.5167 GB, free: 12.98 MB / 414.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