Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001513, allocations: 117.1 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.002128/0.002128, allocations: 202 kB / 18.73 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.442/1.442, 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.2973/0.2973, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 75.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3605, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003186/0.3638, allocations: 1.614 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3648, allocations: 0.5418 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.3649, allocations: 3.938 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.3652, allocations: 72.02 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.3655, allocations: 102.1 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.3658, allocations: 87.25 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3659, allocations: 88.23 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3661, allocations: 20.25 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.3661, allocations: 36.45 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3663, allocations: 51.36 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3663, allocations: 3 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3664, allocations: 53.72 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.3665, allocations: 19.98 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.3665, allocations: 28.66 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3667, allocations: 108.2 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3667, allocations: 7.984 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3667, allocations: 3.938 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3667, allocations: 1.406 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.0005172/0.3673, allocations: 410.6 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3673, allocations: 10.34 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.3674, allocations: 35.84 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.3674, allocations: 9.594 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.3676, allocations: 204 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3676, allocations: 5.75 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3677, allocations: 11 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3678, allocations: 58.2 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3678, allocations: 1.062 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3678, allocations: 0 / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3678, allocations: 5.188 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.368, allocations: 31.7 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.3684, allocations: 295 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3685, allocations: 46.75 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.3685, allocations: 19.66 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3686, allocations: 1.656 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3686, allocations: 35.5 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3686, allocations: 0 / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009066/0.3695, allocations: 230.2 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.3696, allocations: 53.12 kB / 0.5347 GB, free: 9.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.3698, allocations: 213.7 kB / 0.5349 GB, free: 9.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3698, allocations: 27.08 kB / 0.5349 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.3699, allocations: 105.6 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3699, allocations: 30.3 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.37, allocations: 19.22 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3701, allocations: 323 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.3702, allocations: 25.72 kB / 0.5354 GB, free: 9.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.3703, allocations: 27.11 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3705, allocations: 67.3 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3705, allocations: 0 / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002062/0.3707, allocations: 104.1 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3707, allocations: 5.5 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3707, allocations: 0 / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3707, allocations: 1.375 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3708, allocations: 17.73 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3708, allocations: 3.938 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.3709, allocations: 8.109 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3709, allocations: 5.375 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 9.704e-05/0.371, allocations: 128.8 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.3711, allocations: 13.31 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.3713, allocations: 120.3 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3714, allocations: 5.312 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3714, allocations: 3.938 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3714, allocations: 0 / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.3719, allocations: 407.3 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3719, allocations: 0 / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.372, allocations: 21.95 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.372, allocations: 1.156 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.372, allocations: 1.156 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.372, allocations: 1.031 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3721, allocations: 5.375 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.3723, allocations: 207.8 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.3724, allocations: 87.8 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3724, allocations: 5.062 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.3725, allocations: 7.484 kB / 0.5366 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.3725, allocations: 3.766 kB / 0.5366 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.3725, allocations: 6.562 kB / 0.5366 GB, free: 8.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.3727, allocations: 168.7 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3728, allocations: 0 / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.373, 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.001474/0.3745, allocations: 1.093 MB / 0.5379 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3748, allocations: 69.47 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3748, allocations: 1.188 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/0.3749, allocations: 32.97 kB / 0.538 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.3753, allocations: 24.02 kB / 0.538 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.378, allocations: 1.658 MB / 0.5396 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.3784, allocations: 0.7073 MB / 0.5403 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.3785, allocations: 20.97 kB / 0.5403 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.3785, allocations: 32.64 kB / 0.5404 GB, free: 5.02 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3785, allocations: 0 / 0.5404 GB, free: 5.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.4027, allocations: 3.116 MB / 0.5434 GB, free: 3.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/8.026, allocations: 8.312 kB / 0.5434 GB, free: 3.312 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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