Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001634/0.001634, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001949/0.001949, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, 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.2118/0.2118, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 83.81 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.376, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002989/0.379, allocations: 1.619 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009633/0.38, allocations: 0.543 MB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.3801, allocations: 5.406 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.3804, allocations: 106.5 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.3807, allocations: 118.5 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.381, allocations: 115.1 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.3812, allocations: 91.64 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.3813, allocations: 17.91 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.3814, allocations: 39.05 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3815, allocations: 68.92 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.3815, allocations: 6.688 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.3816, allocations: 46.23 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.3817, allocations: 21.55 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.3818, allocations: 42.56 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.382, allocations: 119.1 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.382, allocations: 1.375 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.382, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.382, allocations: 0 / 0.5334 GB, free: 11.28 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.00054/0.3825, allocations: 431.7 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3826, allocations: 9.625 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.3826, allocations: 30.75 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.3827, allocations: 19.72 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3829, allocations: 210 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3829, allocations: 9.688 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3829, allocations: 3.125 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3831, allocations: 63.34 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3831, allocations: 0 / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3831, allocations: 1.375 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3831, allocations: 0 / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3832, allocations: 36.39 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.3837, allocations: 309.7 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3838, allocations: 45.03 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.3839, allocations: 16.12 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3839, allocations: 1.406 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.3839, allocations: 39.69 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3839, allocations: 4 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009129/0.3849, allocations: 235.5 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3849, allocations: 52.31 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.3852, allocations: 262.6 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3852, allocations: 29.7 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.3853, allocations: 115 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.3853, allocations: 27.11 kB / 0.5353 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.3854, allocations: 24.58 kB / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3855, allocations: 323.5 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.3856, allocations: 27.52 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.3857, allocations: 32.94 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3859, allocations: 82.5 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3859, allocations: 3.938 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002488/0.3861, allocations: 110 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3862, allocations: 11.47 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3862, allocations: 0 / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3862, allocations: 1.219 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.3863, allocations: 18.14 kB / 0.5359 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3863, allocations: 7.938 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.3864, allocations: 7.906 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3864, allocations: 1.469 kB / 0.5359 GB, free: 9.02 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 9.407e-05/0.3865, allocations: 137 kB / 0.536 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.3865, allocations: 13.31 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.3868, allocations: 131.3 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3868, allocations: 1.375 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3868, allocations: 7.938 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3868, allocations: 1.375 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.3874, allocations: 426.1 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3874, allocations: 5.281 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.3875, allocations: 20.77 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3875, allocations: 5.469 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3875, allocations: 1.375 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3875, allocations: 9.219 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3875, allocations: 0 / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.3877, allocations: 210.1 kB / 0.5368 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.3878, allocations: 96.53 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3878, allocations: 5.094 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.3879, allocations: 7.312 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.388, allocations: 7.656 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.388, allocations: 2.312 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.3881, allocations: 189.6 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3881, allocations: 0 / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3884, allocations: 23.19 kB / 0.5371 GB, free: 7.941 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 (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.001518/0.3899, allocations: 1.103 MB / 0.5382 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3902, allocations: 78.86 kB / 0.5383 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3902, allocations: 0 / 0.5383 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.521e-05/0.3903, allocations: 43.98 kB / 0.5383 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3907, allocations: 18.59 kB / 0.5383 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3926, allocations: 1.806 MB / 0.5401 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.3929, allocations: 0.7239 MB / 0.5408 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.511e-05/0.393, allocations: 19.89 kB / 0.5408 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.393, allocations: 42.33 kB / 0.5409 GB, free: 4.738 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3931, allocations: 0 / 0.5409 GB, free: 4.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.4154, allocations: 3.329 MB / 0.5441 GB, free: 2.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.172, allocations: 18.58 kB / 0.5441 GB, free: 2.926 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],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[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time