Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2367/0.2367, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 80.08 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3846, allocations: 62.44 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003432/0.3881, allocations: 1.614 MB / 0.5327 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3892, allocations: 0.5371 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.3893, allocations: 5.312 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.3896, allocations: 76.78 kB / 0.5333 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.39, allocations: 102.1 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.3903, allocations: 95 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.3905, allocations: 84.88 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3906, allocations: 16.23 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.3907, allocations: 31.03 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3908, allocations: 60.7 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3909, allocations: 2.75 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.391, allocations: 52.78 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.391, allocations: 20.17 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.3911, allocations: 29.25 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3913, allocations: 110.6 kB / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3913, allocations: 0 / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3913, allocations: 0 / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.3913, allocations: 1.375 kB / 0.5339 GB, free: 11.5 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.0005593/0.3919, allocations: 418.2 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3919, allocations: 9.625 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.392, allocations: 14.34 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.3922, allocations: 211.8 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3922, allocations: 1.75 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.3923, allocations: 3.125 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3924, allocations: 55.56 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3925, allocations: 3.984 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3925, allocations: 4 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3925, allocations: 5.375 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.817e-05/0.3926, allocations: 27.09 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.393, allocations: 295.5 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.3931, allocations: 45.75 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.3932, allocations: 21.41 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3932, allocations: 8.062 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3933, allocations: 31.78 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3933, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009107/0.3942, allocations: 227 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3942, allocations: 51.41 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.3945, allocations: 215.8 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3945, allocations: 25.7 kB / 0.5355 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.3946, allocations: 117.9 kB / 0.5356 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.3946, allocations: 27.09 kB / 0.5356 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3947, allocations: 23.36 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3949, allocations: 322.3 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.395, allocations: 30.48 kB / 0.536 GB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.395, allocations: 22.14 kB / 0.536 GB, free: 9.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.3952, allocations: 63.25 kB / 0.536 GB, free: 9.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3952, allocations: 1.188 kB / 0.536 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002129/0.3954, allocations: 99.38 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3955, allocations: 5.75 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3955, allocations: 7.984 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3955, allocations: 1.094 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3956, allocations: 13.31 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3956, allocations: 4.953 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.3957, allocations: 7.062 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.3957, allocations: 2.062 kB / 0.5362 GB, free: 9.352 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.0001253/0.3958, allocations: 132 kB / 0.5363 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.3958, allocations: 13.28 kB / 0.5363 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.3961, allocations: 125 kB / 0.5364 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3962, allocations: 1.344 kB / 0.5364 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3962, allocations: 0 / 0.5364 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.3962, allocations: 3.938 kB / 0.5364 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.3967, allocations: 411.3 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3968, allocations: 1.031 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.3968, allocations: 21.23 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3968, allocations: 5.25 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3969, allocations: 1.25 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3969, allocations: 5.281 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3969, allocations: 0 / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.3972, allocations: 205.6 kB / 0.5371 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.3972, allocations: 96.08 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3973, allocations: 1.062 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.3973, allocations: 7.141 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.3974, allocations: 7.672 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3974, allocations: 2.562 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.3975, allocations: 171.3 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3975, allocations: 0 / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.3978, allocations: 18.66 kB / 0.5374 GB, free: 8.297 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.001659/0.3995, allocations: 459.1 kB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3997, allocations: 70.25 kB / 0.5379 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3997, allocations: 0 / 0.5379 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3998, allocations: 38.45 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.4002, allocations: 21.91 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.4007, allocations: 256.6 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.4011, allocations: 0.7147 MB / 0.5389 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.4012, allocations: 12.5 kB / 0.5389 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.4012, allocations: 17.64 kB / 0.5389 GB, free: 7.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4012, allocations: 3.938 kB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of Templates: time 0.004383/0.4056, allocations: 1.373 MB / 0.5402 GB, free: 6.359 MB / 398.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" 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,t_new.columns[1],t_new.extrapolation,t_new.isCsvExt,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_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time