Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3812, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003301/0.3846, allocations: 1.703 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3857, allocations: 0.5978 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.233e-05/0.3858, allocations: 1.469 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.3861, allocations: 19.77 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.3864, allocations: 84.2 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.3868, allocations: 188 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.387, allocations: 98.62 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3872, allocations: 18.36 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.3873, allocations: 45.59 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3874, allocations: 46.08 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.3874, allocations: 5.188 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.3876, allocations: 103.8 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.3877, allocations: 26.78 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.3878, allocations: 34.67 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.3881, allocations: 171.7 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3881, allocations: 0 / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3881, allocations: 0 / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3881, allocations: 0 / 0.5336 GB, free: 11.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007636/0.3889, allocations: 454.9 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3889, allocations: 9.625 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.389, allocations: 36.06 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.389, allocations: 8.969 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.3893, allocations: 208.5 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3893, allocations: 1.75 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.3894, allocations: 11.06 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.3897, allocations: 100.1 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3897, allocations: 0 / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3897, allocations: 5.375 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3897, allocations: 0 / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.39, allocations: 71.78 kB / 0.5344 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.3909, allocations: 348.8 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.3911, allocations: 76.44 kB / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3913, allocations: 52.12 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3914, allocations: 1.125 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3914, allocations: 31.88 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3914, allocations: 0 / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001738/0.3931, allocations: 417.5 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.3932, allocations: 78.3 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3934, allocations: 168.6 kB / 0.5356 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3934, allocations: 30.86 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.3935, allocations: 104.7 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3935, allocations: 27.03 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.3936, allocations: 25.11 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3937, allocations: 325.9 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.394, allocations: 74.86 kB / 0.5361 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.3944, allocations: 99.78 kB / 0.5362 GB, free: 8.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.395, allocations: 164.1 kB / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.395, allocations: 384 / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006752/0.3957, allocations: 221.3 kB / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3957, allocations: 5.438 kB / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3957, allocations: 1.156 kB / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3957, allocations: 0 / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.396, allocations: 49.8 kB / 0.5366 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.836e-05/0.3961, allocations: 5 kB / 0.5366 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.3962, allocations: 26.31 kB / 0.5367 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3962, allocations: 2.219 kB / 0.5367 GB, free: 8.48 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.0001061/0.3963, allocations: 124.4 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.3964, allocations: 9.25 kB / 0.5368 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007711/0.3972, allocations: 223.3 kB / 0.537 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3972, allocations: 1.156 kB / 0.537 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3972, allocations: 5.031 kB / 0.537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3972, allocations: 0 / 0.537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3983, allocations: 0.5176 MB / 0.5375 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3983, allocations: 0 / 0.5375 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.3985, allocations: 48.8 kB / 0.5376 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3985, allocations: 3.984 kB / 0.5376 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3985, allocations: 1.25 kB / 0.5376 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3985, allocations: 1.188 kB / 0.5376 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3985, allocations: 0 / 0.5376 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007169/0.3992, allocations: 305.4 kB / 0.5379 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.3993, allocations: 92.44 kB / 0.538 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.3993, allocations: 1.281 kB / 0.538 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.3995, allocations: 29.73 kB / 0.538 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.3996, allocations: 15.48 kB / 0.538 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.3996, allocations: 2.312 kB / 0.538 GB, free: 7.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.3997, allocations: 121.2 kB / 0.5381 GB, free: 7.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3997, allocations: 0.9375 kB / 0.5381 GB, free: 7.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.4001, allocations: 48.98 kB / 0.5382 GB, free: 7.281 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.002021/0.4021, allocations: 1.235 MB / 0.5394 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006994/0.4028, allocations: 177.4 kB / 0.5395 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4028, allocations: 1.188 kB / 0.5395 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.4031, allocations: 93.69 kB / 0.5396 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.4036, allocations: 31.14 kB / 0.5397 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.407, allocations: 1.932 MB / 0.5416 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4073, allocations: 0.7092 MB / 0.5422 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.4074, allocations: 30.05 kB / 0.5423 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.775e-05/0.4075, allocations: 40.56 kB / 0.5423 GB, free: 3.895 MB / 398.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4075, allocations: 4 kB / 0.5423 GB, free: 3.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.4295, allocations: 4.44 MB / 0.5467 GB, free: 1.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.967, allocations: 3.75 kB / 0.5467 GB, free: 1.012 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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 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]),der(t_new.y[1]),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.n,t_new.nHeaderLines,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