Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_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.001113/0.001113, allocations: 117.7 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 204.6 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2481/0.2481, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.401, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003057/0.4041, allocations: 1.601 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.4052, allocations: 0.5535 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.4053, allocations: 5.094 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.4056, allocations: 16.55 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.4058, allocations: 83.95 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.4061, allocations: 91.22 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.4063, allocations: 66.31 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4065, allocations: 21.64 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.531e-05/0.4065, allocations: 23.42 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.4066, allocations: 37.47 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.4066, allocations: 3.844 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.4068, allocations: 106 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.4069, allocations: 20.14 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.4069, allocations: 28.89 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.4072, allocations: 145.2 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4072, allocations: 4 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4072, allocations: 0 / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.4072, allocations: 5.062 kB / 0.5333 GB, free: 11.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005111/0.4078, allocations: 406.6 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4078, allocations: 8.969 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.4078, allocations: 36.59 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.4079, allocations: 8.594 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.4081, allocations: 201 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-06/0.4081, allocations: 2.156 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.4081, allocations: 11.97 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.4083, allocations: 65.28 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4083, allocations: 7.969 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.4083, allocations: 0 / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4084, allocations: 1.375 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.647e-05/0.4085, allocations: 24.48 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.4089, allocations: 302.9 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.409, allocations: 53.92 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.4091, allocations: 33.28 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.4091, allocations: 1.375 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.4092, allocations: 31.94 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4092, allocations: 0 / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000647/0.4098, allocations: 194.4 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.4099, allocations: 78.48 kB / 0.5347 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.41, allocations: 153.7 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.4101, allocations: 31.08 kB / 0.5348 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.4101, allocations: 94.88 kB / 0.5349 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.4102, allocations: 23.69 kB / 0.535 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.4102, allocations: 32.58 kB / 0.535 GB, free: 9.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4104, allocations: 321.5 kB / 0.5353 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.4105, allocations: 29.84 kB / 0.5353 GB, free: 9.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.4106, allocations: 46.31 kB / 0.5354 GB, free: 9.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.4107, allocations: 74.45 kB / 0.5354 GB, free: 9.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4107, allocations: 4.031 kB / 0.5354 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002293/0.411, allocations: 112.4 kB / 0.5356 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.411, allocations: 9.484 kB / 0.5356 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.411, allocations: 4 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.411, allocations: 0 / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4112, allocations: 24.17 kB / 0.5356 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4112, allocations: 0 / 0.5356 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.4112, allocations: 4.062 kB / 0.5356 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4112, allocations: 10.84 kB / 0.5356 GB, free: 9.121 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 (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 prepare postOptimizeDAE: time 9.02e-05/0.4113, allocations: 125.4 kB / 0.5357 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.4114, allocations: 9.188 kB / 0.5357 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.4117, allocations: 113.8 kB / 0.5358 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4117, allocations: 0.8438 kB / 0.5358 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4117, allocations: 0 / 0.5358 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4117, allocations: 4.812 kB / 0.5358 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.4122, allocations: 403.8 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4122, allocations: 0 / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.4123, allocations: 21.55 kB / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4123, allocations: 0 / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4123, allocations: 5.125 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4123, allocations: 4.938 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4123, allocations: 0 / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.4126, allocations: 203.7 kB / 0.5365 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.4126, allocations: 83.27 kB / 0.5365 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.4127, allocations: 5.062 kB / 0.5365 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.4127, allocations: 7.359 kB / 0.5365 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.4128, allocations: 7.188 kB / 0.5366 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.4128, allocations: 2.156 kB / 0.5366 GB, free: 8.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.833e-05/0.4129, allocations: 128.4 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4129, allocations: 4.094 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000295/0.4132, allocations: 51.02 kB / 0.5367 GB, free: 8.094 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 (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.001579/0.4148, allocations: 1.116 MB / 0.5378 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.4151, allocations: 79.92 kB / 0.5379 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4151, allocations: 0 / 0.5379 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.4152, allocations: 35.03 kB / 0.5379 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.4155, allocations: 21.83 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.4174, allocations: 1.55 MB / 0.5395 GB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.4177, allocations: 0.7003 MB / 0.5401 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.45e-05/0.4178, allocations: 33.28 kB / 0.5402 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.4179, allocations: 30.83 kB / 0.5402 GB, free: 5.055 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4179, allocations: 0 / 0.5402 GB, free: 5.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.4409, allocations: 3.575 MB / 0.5437 GB, free: 3.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.308, allocations: 5.844 kB / 0.5437 GB, free: 3.039 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),der(t_new.y[1]),dummy,t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time