Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 121.7 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.001334/0.001334, allocations: 199.8 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.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002042, allocations: 83.8 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3944, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.00433/0.3988, allocations: 1.625 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.4003, allocations: 0.5331 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.4004, allocations: 1.625 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.4008, allocations: 80.92 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.4012, allocations: 98.28 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.4017, allocations: 98.22 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.402, allocations: 88.67 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.4021, allocations: 16.5 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.4022, allocations: 35.14 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.4024, allocations: 53.23 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.4024, allocations: 1.375 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.4026, allocations: 50.22 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.4026, allocations: 26.73 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.4027, allocations: 33.25 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.403, allocations: 112.4 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.403, allocations: 0 / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.403, allocations: 0 / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.4031, allocations: 1.375 kB / 0.5333 GB, free: 11.33 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.000624/0.4037, allocations: 407.8 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4037, allocations: 9.625 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.4038, allocations: 34.75 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.4038, allocations: 10.34 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.4041, allocations: 213.1 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.4041, allocations: 1.75 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.4042, allocations: 9.594 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.4043, allocations: 59.36 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4044, allocations: 3.938 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4044, allocations: 0 / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4044, allocations: 1.375 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.4045, allocations: 27.09 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.4051, allocations: 302.9 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.4053, allocations: 39.06 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/0.4054, allocations: 21.19 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.4054, allocations: 0 / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.4055, allocations: 31.94 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.4055, allocations: 4 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001209/0.4067, allocations: 225.9 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.4069, allocations: 52.75 kB / 0.5347 GB, free: 9.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.4072, allocations: 214 kB / 0.5349 GB, free: 9.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.4072, allocations: 35.08 kB / 0.5349 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4074, allocations: 97.08 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.4074, allocations: 30.89 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.4075, allocations: 20.38 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4076, allocations: 326.1 kB / 0.5354 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4078, allocations: 25.31 kB / 0.5354 GB, free: 9.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.181e-05/0.4079, allocations: 22.95 kB / 0.5354 GB, free: 9.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.4081, allocations: 71.95 kB / 0.5355 GB, free: 9.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4081, allocations: 0 / 0.5355 GB, free: 9.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002991/0.4084, allocations: 100.8 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4084, allocations: 5.656 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4085, allocations: 4 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.4085, allocations: 1.125 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4086, allocations: 17.77 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4087, allocations: 7.938 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/0.4087, allocations: 7.359 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4087, allocations: 6.438 kB / 0.5356 GB, free: 9.156 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 0.0001429/0.4089, allocations: 124.4 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.409, allocations: 16.98 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.4094, allocations: 124.2 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4094, allocations: 1.25 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4094, allocations: 7.938 kB / 0.5359 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4094, allocations: 0 / 0.5359 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007834/0.4102, allocations: 399.5 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4102, allocations: 0 / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/0.4104, allocations: 23.05 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4104, allocations: 0 / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4104, allocations: 9.312 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4104, allocations: 5.406 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4104, allocations: 1.375 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.4108, allocations: 204.1 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.411, allocations: 87.7 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.411, allocations: 1.375 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.4111, allocations: 10.73 kB / 0.5366 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.4112, allocations: 12.11 kB / 0.5366 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.4112, allocations: 2.75 kB / 0.5366 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.4114, allocations: 162.5 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4115, allocations: 0 / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004284/0.4119, allocations: 22.23 kB / 0.5368 GB, free: 8.113 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.002137/0.414, allocations: 1.095 MB / 0.5379 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.4144, allocations: 62.31 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4144, allocations: 0 / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.4145, allocations: 41.75 kB / 0.538 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.4151, allocations: 19.33 kB / 0.538 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.4178, allocations: 1.664 MB / 0.5396 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.4183, allocations: 0.7027 MB / 0.5403 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.452e-05/0.4184, allocations: 20.92 kB / 0.5403 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.634e-05/0.4185, allocations: 40.7 kB / 0.5404 GB, free: 5.016 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4185, allocations: 1.156 kB / 0.5404 GB, free: 5.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.4463, allocations: 3.111 MB / 0.5434 GB, free: 3.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.177, allocations: 2.219 kB / 0.5434 GB, free: 3.316 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.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(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time