Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 118.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.001333/0.001333, allocations: 201.2 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.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 79.81 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3673, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003993/0.3713, allocations: 1.618 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3725, allocations: 0.552 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/0.3726, allocations: 1.938 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.373, allocations: 105.2 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.3734, allocations: 115.2 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.3738, allocations: 121.5 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.3741, allocations: 89.14 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3742, allocations: 17.02 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.3743, allocations: 38.67 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.3744, allocations: 69.62 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3745, allocations: 3.375 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.3746, allocations: 49.42 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.3747, allocations: 29.48 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.3747, allocations: 34.61 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.375, allocations: 119.1 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.375, allocations: 1.375 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.375, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.375, allocations: 0 / 0.5334 GB, free: 11.29 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.0006042/0.3756, allocations: 427.7 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3757, allocations: 9.625 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.931e-05/0.3757, allocations: 38.75 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.3758, allocations: 15.7 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.376, allocations: 213.9 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.376, allocations: 1.75 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3761, allocations: 3.125 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3762, allocations: 55.38 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3763, allocations: 3.984 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-06/0.3763, allocations: 1.375 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3763, allocations: 0 / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.3764, allocations: 36.41 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.3768, allocations: 305.7 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.972e-05/0.377, allocations: 48.38 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.377, allocations: 21.12 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3771, allocations: 5.375 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.3771, allocations: 34.56 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.3771, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009044/0.378, allocations: 239.1 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3781, allocations: 60.78 kB / 0.5349 GB, free: 9.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.3783, allocations: 257.5 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3784, allocations: 26.67 kB / 0.5351 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.3785, allocations: 115.4 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.3785, allocations: 26.39 kB / 0.5353 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.3786, allocations: 20.56 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3787, allocations: 322.4 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3788, allocations: 37 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.3789, allocations: 32.48 kB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3791, allocations: 82.53 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3791, allocations: 3.938 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002376/0.3794, allocations: 109.3 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3794, allocations: 7.594 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3794, allocations: 0 / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3794, allocations: 1.219 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3796, allocations: 21.58 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3796, allocations: 5.156 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.3796, allocations: 10.2 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3796, allocations: 2.219 kB / 0.5359 GB, free: 9.027 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.0001138/0.3798, allocations: 136.1 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.3798, allocations: 14.78 kB / 0.536 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.3801, allocations: 131.7 kB / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3801, allocations: 1.031 kB / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3802, allocations: 3.938 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3802, allocations: 3.984 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.3807, allocations: 423.6 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3807, allocations: 0 / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.3808, allocations: 25.67 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3808, allocations: 5.406 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3808, allocations: 1.312 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.3808, allocations: 1.25 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3808, allocations: 0 / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.3811, allocations: 213.8 kB / 0.5368 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.3812, allocations: 92.73 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.3812, allocations: 9.219 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.3813, allocations: 3.969 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.3814, allocations: 14.59 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3814, allocations: 2.969 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.3815, allocations: 196.2 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 0 / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3818, allocations: 19.44 kB / 0.5371 GB, free: 7.949 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.001515/0.3833, allocations: 1.105 MB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.3836, allocations: 79.41 kB / 0.5383 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3836, allocations: 0 / 0.5383 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.3837, allocations: 44.28 kB / 0.5383 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3841, allocations: 19.36 kB / 0.5384 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3862, allocations: 1.801 MB / 0.5401 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3865, allocations: 0.7157 MB / 0.5408 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.3866, allocations: 24.77 kB / 0.5408 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.3867, allocations: 37.8 kB / 0.5409 GB, free: 4.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3867, allocations: 3.938 kB / 0.5409 GB, free: 4.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.4061, allocations: 3.333 MB / 0.5441 GB, free: 2.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/8.023, allocations: 7.578 kB / 0.5441 GB, free: 2.941 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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