Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001479, allocations: 122.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.001773/0.001772, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 83.75 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3801, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003148/0.3833, allocations: 1.657 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.3843, allocations: 0.5536 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.3844, allocations: 1.188 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.3847, allocations: 94.61 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.385, allocations: 110.4 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.3853, allocations: 123.8 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3855, allocations: 100.1 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3856, allocations: 34.5 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.3857, allocations: 43.09 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3858, allocations: 62.06 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.3858, allocations: 5.5 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-05/0.3859, allocations: 50.17 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.386, allocations: 34.84 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.386, allocations: 39.92 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3862, allocations: 123.6 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3862, allocations: 1.375 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3862, allocations: 0 / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.3862, allocations: 0 / 0.5335 GB, free: 11.22 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004915/0.3867, allocations: 442.4 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3868, allocations: 9.625 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.3868, allocations: 41.44 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.3869, allocations: 14.25 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3871, allocations: 207.2 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3871, allocations: 15.12 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3871, allocations: 8.438 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3873, allocations: 71.61 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3873, allocations: 4 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3873, allocations: 5.375 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3874, allocations: 5.359 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3875, allocations: 43.28 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.3879, allocations: 340.7 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.3881, allocations: 72.81 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.735e-05/0.3881, allocations: 27.09 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3882, allocations: 5.594 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3882, allocations: 31.84 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3882, allocations: 0 / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001064/0.3893, allocations: 329.8 kB / 0.5351 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.3893, allocations: 53.59 kB / 0.5351 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.3896, allocations: 242.7 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.3896, allocations: 30.86 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.3896, allocations: 114.8 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.3897, allocations: 44 kB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.3897, allocations: 32.03 kB / 0.5356 GB, free: 9.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3898, allocations: 323.3 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.39, allocations: 48.06 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.524e-05/0.3901, allocations: 48.31 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.3903, allocations: 115.5 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3903, allocations: 0 / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002754/0.3906, allocations: 150.9 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3906, allocations: 5.094 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3906, allocations: 3.938 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3906, allocations: 1.281 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3908, allocations: 33.05 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3908, allocations: 1.375 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.3908, allocations: 6.609 kB / 0.5363 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3908, allocations: 3.844 kB / 0.5363 GB, free: 8.801 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 (13): * Single equations (assignments): 13 * 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.711e-05/0.3909, allocations: 139.7 kB / 0.5364 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.391, allocations: 14.72 kB / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.3914, allocations: 196.8 kB / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3914, allocations: 1.125 kB / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3914, allocations: 1.062 kB / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3914, allocations: 3.984 kB / 0.5366 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.392, allocations: 0.5051 MB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3921, allocations: 0 / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.3922, allocations: 32.97 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3922, allocations: 1.25 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3922, allocations: 9.125 kB / 0.5372 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3922, allocations: 1.25 kB / 0.5372 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3922, allocations: 0.9375 kB / 0.5372 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.3925, allocations: 254.6 kB / 0.5374 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.3926, allocations: 92.23 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3926, allocations: 2.375 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.3927, allocations: 3.531 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3927, allocations: 12.3 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3927, allocations: 3.469 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.3929, allocations: 187.6 kB / 0.5377 GB, free: 7.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.3929, allocations: 0 / 0.5377 GB, free: 7.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3932, allocations: 26.75 kB / 0.5377 GB, free: 7.621 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001443/0.3946, allocations: 1.128 MB / 0.5388 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.3949, allocations: 113.1 kB / 0.5389 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3949, allocations: 5.062 kB / 0.5389 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3951, allocations: 59.75 kB / 0.539 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3954, allocations: 23.45 kB / 0.539 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.3975, allocations: 1.918 MB / 0.5409 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.3977, allocations: 0.7242 MB / 0.5416 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.984e-05/0.3978, allocations: 32.83 kB / 0.5416 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.3979, allocations: 44.48 kB / 0.5417 GB, free: 4.336 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3979, allocations: 0 / 0.5417 GB, free: 4.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.4192, allocations: 3.632 MB / 0.5452 GB, free: 2.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/7.952, allocations: 2.078 kB / 0.5452 GB, free: 2.383 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y,d2_t_new.y,d2_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d2_t_new2.u,d2_t_new2.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u[1],t_new.u[2],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time