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.001294/0.001294, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001341/0.001342, allocations: 188 kB / 18.71 MB, free: 4.387 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.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.22 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.2346/0.2346, allocations: 44.19 MB / 336.8 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3782, allocations: 60.83 MB / 0.5184 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002699/0.381, allocations: 1.654 MB / 0.5201 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007118/0.3817, allocations: 458.5 kB / 0.5205 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.3818, allocations: 1.219 kB / 0.5205 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.382, allocations: 23.27 kB / 0.5205 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.3822, allocations: 43.83 kB / 0.5206 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.3826, allocations: 135.5 kB / 0.5207 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.3828, allocations: 84.59 kB / 0.5208 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3829, allocations: 13.66 kB / 0.5208 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.383e-05/0.383, allocations: 32.48 kB / 0.5208 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.3831, allocations: 44.08 kB / 0.5209 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3831, allocations: 4.688 kB / 0.5209 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3832, allocations: 58.78 kB / 0.5209 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.3833, allocations: 16.88 kB / 0.5209 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.3833, allocations: 41.92 kB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.3836, allocations: 117.6 kB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3836, allocations: 4.969 kB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3836, allocations: 0 / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3836, allocations: 0 / 0.5211 GB, free: 1.418 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.0006068/0.3842, allocations: 424 kB / 0.5215 GB, free: 1.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3843, allocations: 9.375 kB / 0.5215 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.3843, allocations: 32.81 kB / 0.5215 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.3844, allocations: 10.06 kB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.3846, allocations: 208.3 kB / 0.5217 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3846, allocations: 5.344 kB / 0.5218 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.3846, allocations: 4.422 kB / 0.5218 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.3849, allocations: 95.75 kB / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3849, allocations: 1.25 kB / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3849, allocations: 0 / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3849, allocations: 1.219 kB / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.3852, allocations: 65.77 kB / 0.5219 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.3856, allocations: 316.3 kB / 0.5222 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3859, allocations: 65.12 kB / 0.5223 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.386, allocations: 45 kB / 0.5223 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3861, allocations: 5.734 kB / 0.5223 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.3861, allocations: 36.17 kB / 0.5224 GB, free: 280 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3861, allocations: 0 / 0.5224 GB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001535/0.3876, allocations: 379.2 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3877, allocations: 84 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.3879, allocations: 157.6 kB / 0.5229 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3879, allocations: 26.92 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.388, allocations: 94.2 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.388, allocations: 28.92 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.3881, allocations: 27.05 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3882, allocations: 320.8 kB / 0.5234 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.3885, allocations: 71.08 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.3888, allocations: 88.33 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.3893, allocations: 151.7 kB / 0.5237 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3893, allocations: 0.7969 kB / 0.5237 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000595/0.3899, allocations: 196.1 kB / 0.5239 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.39, allocations: 5.75 kB / 0.5239 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.39, allocations: 0 / 0.5239 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.39, allocations: 4.844 kB / 0.5239 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.3902, allocations: 42.33 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3902, allocations: 0 / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.3904, allocations: 27.92 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.3904, allocations: 2.125 kB / 0.524 GB, free: 15.3 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.0001021/0.3905, allocations: 124.8 kB / 0.5241 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.3906, allocations: 8.5 kB / 0.5241 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006774/0.3913, allocations: 206.1 kB / 0.5243 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3913, allocations: 5.438 kB / 0.5243 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3913, allocations: 0.8906 kB / 0.5243 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3913, allocations: 0.8906 kB / 0.5243 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.3924, allocations: 0.4924 MB / 0.5248 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.3924, allocations: 0.6094 kB / 0.5248 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.3926, allocations: 35.92 kB / 0.5248 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3926, allocations: 4 kB / 0.5248 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3926, allocations: 1.781 kB / 0.5248 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3926, allocations: 0.8438 kB / 0.5248 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3926, allocations: 0 / 0.5248 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.3933, allocations: 299.6 kB / 0.5251 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.3934, allocations: 86.11 kB / 0.5252 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3934, allocations: 0 / 0.5252 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.3936, allocations: 27.73 kB / 0.5252 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.3937, allocations: 9.797 kB / 0.5252 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3937, allocations: 4 kB / 0.5252 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.3938, allocations: 123.1 kB / 0.5254 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3938, allocations: 0 / 0.5254 GB, free: 14.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.3942, allocations: 37.34 kB / 0.5254 GB, free: 14.33 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.002073/0.3962, allocations: 1.17 MB / 0.5265 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006174/0.3969, allocations: 157.5 kB / 0.5267 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3969, allocations: 0 / 0.5267 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.3972, allocations: 82.8 kB / 0.5268 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.3975, allocations: 20.88 kB / 0.5268 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.401, allocations: 1.803 MB / 0.5286 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.4014, allocations: 0.6981 MB / 0.5292 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.4016, allocations: 16.8 kB / 0.5293 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.4017, allocations: 39.61 kB / 0.5293 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.116e-06/0.4017, allocations: 96 / 0.5293 GB, free: 11.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.4271, allocations: 3.843 MB / 0.533 GB, free: 9.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.885, allocations: 17.81 kB / 0.5331 GB, free: 9.168 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