Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, 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.001691/0.001691, 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.466/1.466, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.09 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 71.89 kB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3592, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.0033/0.3626, allocations: 1.619 MB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3636, allocations: 0.536 MB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.3637, allocations: 0 / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.3641, allocations: 96.47 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.3644, allocations: 106.2 kB / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.3648, allocations: 92.58 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.365, allocations: 88.05 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3651, allocations: 20.08 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.3652, allocations: 32.56 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3653, allocations: 55.86 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3653, allocations: 3.281 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.3655, allocations: 45.45 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.3655, allocations: 23.78 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.3656, allocations: 37.36 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3658, allocations: 109.8 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.3659, allocations: 9.031 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3659, allocations: 3.938 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.3659, allocations: 0 / 0.5333 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.0005969/0.3665, allocations: 417.4 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.3665, allocations: 9.312 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.3666, allocations: 32.16 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.3666, allocations: 14.31 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.3669, allocations: 201.1 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3669, allocations: 9.438 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.3669, allocations: 6.531 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3671, allocations: 54.92 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3671, allocations: 4 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3671, allocations: 1.188 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3671, allocations: 0 / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3673, allocations: 27.56 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.3677, allocations: 304.1 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.3679, allocations: 48.03 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.3679, allocations: 20.44 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.368, allocations: 3.984 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.368, allocations: 32.47 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.368, allocations: 0 / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009492/0.369, allocations: 226.1 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.369, allocations: 56.66 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.3693, allocations: 233.8 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3693, allocations: 25.7 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.3694, allocations: 118.9 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.3694, allocations: 22.36 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.3695, allocations: 20.59 kB / 0.5351 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3696, allocations: 327 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.3697, allocations: 21.73 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.3698, allocations: 29.72 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3699, allocations: 68.67 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3699, allocations: 0 / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001968/0.3701, allocations: 96.19 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3702, allocations: 5.5 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3702, allocations: 0 / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3702, allocations: 5.312 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3703, allocations: 17.73 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.3703, allocations: 3.938 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.3704, allocations: 16.02 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3704, allocations: 5.375 kB / 0.5357 GB, free: 9.09 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.0001062/0.3705, allocations: 130.2 kB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.3705, allocations: 13.34 kB / 0.5358 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.3708, allocations: 120.6 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3708, allocations: 1.062 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.3709, allocations: 4.938 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3709, allocations: 0 / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.3714, allocations: 412.1 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3714, allocations: 1.125 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.3715, allocations: 22.33 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3715, allocations: 0 / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3715, allocations: 1.531 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3715, allocations: 1.469 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3715, allocations: 0 / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.3718, allocations: 209.4 kB / 0.5366 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.3718, allocations: 95.7 kB / 0.5367 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.3719, allocations: 1.031 kB / 0.5367 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.372, allocations: 12.27 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.372, allocations: 2.594 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.372, allocations: 7.5 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.3722, allocations: 186.6 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3722, allocations: 0 / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.3725, allocations: 18.53 kB / 0.5369 GB, free: 8.035 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.001548/0.374, allocations: 1.091 MB / 0.538 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3743, allocations: 75.12 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3743, allocations: 0 / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.746e-05/0.3744, allocations: 33.45 kB / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.3748, allocations: 22.83 kB / 0.5381 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.3769, allocations: 1.699 MB / 0.5397 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3772, allocations: 0.7088 MB / 0.5404 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.687e-05/0.3773, allocations: 12.03 kB / 0.5404 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.3774, allocations: 37.17 kB / 0.5405 GB, free: 4.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3774, allocations: 3.938 kB / 0.5405 GB, free: 4.926 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.3974, allocations: 3.21 MB / 0.5436 GB, free: 3.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.328, allocations: 8.766 kB / 0.5436 GB, free: 3.172 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time