Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001883/0.001883, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 79.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3853, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.004395/0.3898, allocations: 1.614 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3912, allocations: 0.533 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.3913, allocations: 4 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.3917, allocations: 123.8 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.3921, allocations: 126.2 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.3925, allocations: 99.12 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3927, allocations: 97.25 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3928, allocations: 15.59 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.3929, allocations: 51.47 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.3931, allocations: 84.78 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.3931, allocations: 3.469 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3933, allocations: 41.14 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.3934, allocations: 30.95 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.3934, allocations: 42.17 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.3937, allocations: 118.7 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3937, allocations: 7.938 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3937, allocations: 0 / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3937, allocations: 0 / 0.5334 GB, free: 11.26 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.0006486/0.3944, allocations: 441 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3945, allocations: 9.625 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.3945, allocations: 32.12 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.3946, allocations: 15.62 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.3949, allocations: 209.5 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3949, allocations: 1.75 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.3949, allocations: 11.12 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3951, allocations: 61.91 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3952, allocations: 1.375 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3952, allocations: 4 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3952, allocations: 1.375 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.3953, allocations: 27.09 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.3958, allocations: 303 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.396, allocations: 47 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.3961, allocations: 19.81 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3961, allocations: 1.375 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3962, allocations: 31.94 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.3962, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001177/0.3973, allocations: 234.8 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.3974, allocations: 52.78 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.3978, allocations: 279.5 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3978, allocations: 25.7 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.3979, allocations: 120.2 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.398, allocations: 26.66 kB / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.398, allocations: 23.59 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3982, allocations: 328 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.3983, allocations: 25.7 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.3984, allocations: 26.58 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3985, allocations: 59.23 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3985, allocations: 5.156 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002911/0.3988, allocations: 108.9 kB / 0.5359 GB, free: 9.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3989, allocations: 9.562 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3989, allocations: 4 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3989, allocations: 1.312 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.399, allocations: 17.3 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.399, allocations: 7.875 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.3991, allocations: 3.375 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3991, allocations: 10.22 kB / 0.5359 GB, free: 9.004 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.0001158/0.3992, allocations: 133.9 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.3993, allocations: 14.56 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.3996, allocations: 122.1 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3996, allocations: 1.156 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3996, allocations: 5.094 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3997, allocations: 3.984 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.4003, allocations: 411.7 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4003, allocations: 1.062 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/0.4004, allocations: 26.02 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4004, allocations: 0 / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4004, allocations: 2 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4004, allocations: 1.062 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4004, allocations: 1.828 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.4007, allocations: 208.9 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.4008, allocations: 93.11 kB / 0.5369 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.4008, allocations: 1.375 kB / 0.5369 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.4009, allocations: 10.23 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.4009, allocations: 7.641 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4009, allocations: 10.58 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.4011, allocations: 208.7 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4011, allocations: 0 / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.4014, allocations: 23.88 kB / 0.5371 GB, free: 7.941 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.001546/0.403, allocations: 1.093 MB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.4032, allocations: 70.55 kB / 0.5383 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4032, allocations: 0 / 0.5383 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.4033, allocations: 33.48 kB / 0.5383 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.4037, allocations: 33.22 kB / 0.5383 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.4063, allocations: 1.8 MB / 0.5401 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.4067, allocations: 0.7172 MB / 0.5408 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.579e-05/0.4068, allocations: 15.67 kB / 0.5408 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-05/0.4069, allocations: 41.05 kB / 0.5409 GB, free: 4.766 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.407, allocations: 0 / 0.5409 GB, free: 4.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.4319, allocations: 3.409 MB / 0.5442 GB, free: 2.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.994, allocations: 10.55 kB / 0.5442 GB, free: 2.918 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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