Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001103/0.001103, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001227/0.001227, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2084/0.2084, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3551, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003396/0.3585, allocations: 1.664 MB / 0.5201 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.3593, allocations: 448 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.3594, allocations: 1.344 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.3596, allocations: 23.95 kB / 0.5205 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.3599, allocations: 43.47 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.3603, allocations: 139.5 kB / 0.5207 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3605, allocations: 75.89 kB / 0.5208 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3606, allocations: 22.44 kB / 0.5208 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.3607, allocations: 37.7 kB / 0.5208 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.3607, allocations: 33.2 kB / 0.5209 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3608, allocations: 5.688 kB / 0.5209 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.3609, allocations: 59.27 kB / 0.5209 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.361, allocations: 25.16 kB / 0.5209 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.361, allocations: 33.27 kB / 0.521 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.3613, allocations: 121.5 kB / 0.5211 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3613, allocations: 0.9375 kB / 0.5211 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3613, allocations: 5.062 kB / 0.5211 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3613, allocations: 0 / 0.5211 GB, free: 1.547 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006393/0.362, allocations: 414.5 kB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.362, allocations: 9.344 kB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.362, allocations: 32.81 kB / 0.5215 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.3621, allocations: 10.64 kB / 0.5215 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.3623, allocations: 201.1 kB / 0.5217 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3623, allocations: 9.438 kB / 0.5217 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.3623, allocations: 4.266 kB / 0.5217 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.3626, allocations: 96.75 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3627, allocations: 0 / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3627, allocations: 1.125 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3627, allocations: 0.9062 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.363, allocations: 69.94 kB / 0.5219 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.3635, allocations: 308.4 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.3637, allocations: 68.58 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.3639, allocations: 46.02 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.364, allocations: 1.984 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.364, allocations: 39.62 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.364, allocations: 0 / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.00169/0.3657, allocations: 380 kB / 0.5227 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.3657, allocations: 79.28 kB / 0.5228 GB, free: 216 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.3659, allocations: 156.9 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.3659, allocations: 26.83 kB / 0.523 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.366, allocations: 98.23 kB / 0.5231 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.366, allocations: 33.75 kB / 0.5231 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.3661, allocations: 26.89 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3662, allocations: 320.8 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.3665, allocations: 71.09 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.3668, allocations: 96.3 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.3674, allocations: 144.5 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3674, allocations: 32 / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006752/0.3681, allocations: 200.1 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3681, allocations: 5.625 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3682, allocations: 0 / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.3682, allocations: 5.766 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.3684, allocations: 42.45 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3684, allocations: 0 / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.3686, allocations: 23.66 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3686, allocations: 5.438 kB / 0.524 GB, free: 15.43 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 (10): * Single equations (assignments): 10 * 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.0001046/0.3687, allocations: 121.4 kB / 0.5241 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.3688, allocations: 12.28 kB / 0.5241 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007389/0.3695, allocations: 209.2 kB / 0.5243 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3695, allocations: 5.875 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3695, allocations: 1.469 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3696, allocations: 4.609 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.3705, allocations: 492.8 kB / 0.5248 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3706, allocations: 7.984 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.3707, allocations: 34.02 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.3708, allocations: 2.453 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3708, allocations: 4 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3708, allocations: 2.578 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3708, allocations: 0 / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007027/0.3715, allocations: 289.8 kB / 0.5251 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.3716, allocations: 85.86 kB / 0.5252 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.3716, allocations: 6.156 kB / 0.5252 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.3718, allocations: 27.34 kB / 0.5252 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.3718, allocations: 11.55 kB / 0.5252 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3719, allocations: 2.781 kB / 0.5253 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.562e-05/0.372, allocations: 121.7 kB / 0.5254 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.372, allocations: 0 / 0.5254 GB, free: 14.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3723, allocations: 34.41 kB / 0.5254 GB, free: 14.46 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 (9): * Single equations (assignments): 9 * 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.001844/0.3741, allocations: 1.167 MB / 0.5265 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006758/0.3748, allocations: 156.8 kB / 0.5267 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3748, allocations: 1.375 kB / 0.5267 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.3751, allocations: 78.33 kB / 0.5268 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.3755, allocations: 24.81 kB / 0.5268 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.3787, allocations: 1.8 MB / 0.5285 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/0.3793, allocations: 0.6987 MB / 0.5292 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.3794, allocations: 21.28 kB / 0.5292 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.3795, allocations: 42.72 kB / 0.5293 GB, free: 11.42 MB / 398.1 MB Notification: Performance of SimCode: time 1.753e-06/0.3795, allocations: 96 / 0.5293 GB, free: 11.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.4008, allocations: 3.836 MB / 0.533 GB, free: 9.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.271, allocations: 20.78 kB / 0.5331 GB, free: 9.273 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(ramp.y),der(ramp1.y),der(t_new.y),dummy,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.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