Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 117.7 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 203.8 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, 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.2129/0.2129, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 79.81 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3743, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003943/0.3783, allocations: 1.611 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3796, allocations: 0.5361 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.3797, allocations: 6.156 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.3802, allocations: 105 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.3807, allocations: 123.6 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.381, allocations: 83.44 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.3813, allocations: 105.1 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3814, allocations: 10.81 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.3815, allocations: 38.55 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.3817, allocations: 69.73 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3817, allocations: 6.688 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3818, allocations: 40.86 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.3819, allocations: 22.92 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.382, allocations: 41.17 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.3822, allocations: 119.1 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3822, allocations: 1.375 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3822, allocations: 0 / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3823, allocations: 0 / 0.5334 GB, free: 11.31 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.0007437/0.383, allocations: 435.7 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3831, allocations: 8.25 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.3831, allocations: 32.12 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.3832, allocations: 11.72 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.3835, allocations: 214 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3835, allocations: 5.734 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.3836, allocations: 11.06 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.3837, allocations: 53.98 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3838, allocations: 1.375 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3838, allocations: 0 / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3838, allocations: 1.375 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3839, allocations: 31.05 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.3844, allocations: 301.6 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.3846, allocations: 41.69 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.3846, allocations: 21.19 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3847, allocations: 1.375 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.3847, allocations: 34.5 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3847, allocations: 1.375 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001085/0.3858, allocations: 234.6 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.3859, allocations: 52.41 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.3863, allocations: 259.4 kB / 0.5351 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3864, allocations: 29.7 kB / 0.5351 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.3865, allocations: 115.4 kB / 0.5352 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.3865, allocations: 22.28 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.3866, allocations: 24.36 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3867, allocations: 326.5 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.3868, allocations: 21.77 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.3869, allocations: 22.7 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.3871, allocations: 63.86 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3871, allocations: 3.938 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002214/0.3873, allocations: 108.7 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3873, allocations: 11.41 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3873, allocations: 1.094 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3874, allocations: 0 / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3875, allocations: 21.7 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3875, allocations: 5.062 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.3875, allocations: 7.375 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3876, allocations: 6.375 kB / 0.5358 GB, free: 9.082 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.0001917/0.3878, allocations: 131.5 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3878, allocations: 13.41 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.3881, allocations: 121.2 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3881, allocations: 1.219 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3881, allocations: 9.469 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3881, allocations: 0 / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.3888, allocations: 410.8 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3888, allocations: 0 / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.3889, allocations: 21.67 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3889, allocations: 1.375 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3889, allocations: 5.312 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3889, allocations: 9.422 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3889, allocations: 3.984 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.3892, allocations: 201.2 kB / 0.5367 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.3893, allocations: 96.89 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3893, allocations: 0 / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.3894, allocations: 7.703 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3895, allocations: 7.969 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.3895, allocations: 2.688 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.3897, allocations: 191.5 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3897, allocations: 1.219 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.39, allocations: 17.98 kB / 0.537 GB, free: 8.027 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.001632/0.3916, allocations: 1.086 MB / 0.5381 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.3919, allocations: 70.52 kB / 0.5381 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3919, allocations: 0 / 0.5381 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.392, allocations: 38.25 kB / 0.5382 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.3925, allocations: 19.41 kB / 0.5382 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.395, allocations: 1.76 MB / 0.5399 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.3954, allocations: 0.7148 MB / 0.5406 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.816e-05/0.3955, allocations: 16.22 kB / 0.5406 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.3955, allocations: 37.14 kB / 0.5407 GB, free: 4.875 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3956, allocations: 5.406 kB / 0.5407 GB, free: 4.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.4164, allocations: 3.283 MB / 0.5439 GB, free: 3.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.134, allocations: 9.016 kB / 0.5439 GB, free: 3.082 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.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,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time