Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001287/0.001287, allocations: 121.8 kB / 17.79 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.001837/0.001836, allocations: 204.6 kB / 18.74 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.538/1.538, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 83.81 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.388, allocations: 62.43 MB / 0.5305 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003152/0.3912, allocations: 1.62 MB / 0.5321 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3923, allocations: 0.5335 MB / 0.5326 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3924, allocations: 5.312 kB / 0.5326 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.3928, allocations: 109.7 kB / 0.5328 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.3933, allocations: 119.7 kB / 0.5329 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.3936, allocations: 89.61 kB / 0.533 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.3939, allocations: 92.55 kB / 0.533 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.394, allocations: 21.36 kB / 0.5331 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3941, allocations: 42.83 kB / 0.5331 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.3943, allocations: 64.81 kB / 0.5332 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3943, allocations: 2.219 kB / 0.5332 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.3945, allocations: 45.2 kB / 0.5332 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.3945, allocations: 25.61 kB / 0.5332 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.3946, allocations: 38.64 kB / 0.5333 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.3949, allocations: 119.8 kB / 0.5334 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3949, allocations: 4 kB / 0.5334 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3949, allocations: 0 / 0.5334 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3949, allocations: 0 / 0.5334 GB, free: 11.53 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.0005821/0.3955, allocations: 431.7 kB / 0.5338 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3956, allocations: 9.625 kB / 0.5338 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.3956, allocations: 36.12 kB / 0.5338 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.3957, allocations: 10.34 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.3959, allocations: 213.9 kB / 0.5341 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3959, allocations: 1.75 kB / 0.5341 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.3959, allocations: 11.06 kB / 0.5341 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3961, allocations: 57.98 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3961, allocations: 1.375 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3962, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3962, allocations: 1.375 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.3963, allocations: 27.09 kB / 0.5342 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.3967, allocations: 305.5 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3968, allocations: 51.05 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.3969, allocations: 11.83 kB / 0.5345 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3969, allocations: 9.359 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3969, allocations: 31.94 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3969, allocations: 0 / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00089/0.3978, allocations: 222.8 kB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.3979, allocations: 60.72 kB / 0.5348 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3981, allocations: 254.2 kB / 0.5351 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3982, allocations: 29.69 kB / 0.5351 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.3982, allocations: 115.3 kB / 0.5352 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.3983, allocations: 30.88 kB / 0.5352 GB, free: 9.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.3983, allocations: 20.31 kB / 0.5352 GB, free: 9.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3984, allocations: 326.7 kB / 0.5356 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.3985, allocations: 25.98 kB / 0.5356 GB, free: 9.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.3986, allocations: 22.48 kB / 0.5356 GB, free: 9.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3988, allocations: 63.83 kB / 0.5357 GB, free: 9.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3988, allocations: 7.938 kB / 0.5357 GB, free: 9.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002259/0.399, allocations: 100.5 kB / 0.5358 GB, free: 9.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.399, allocations: 9.484 kB / 0.5358 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.399, allocations: 5.031 kB / 0.5358 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3991, allocations: 0 / 0.5358 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3992, allocations: 17.61 kB / 0.5358 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3992, allocations: 5 kB / 0.5358 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.3992, allocations: 3.406 kB / 0.5358 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3993, allocations: 6.25 kB / 0.5358 GB, free: 9.305 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.0001121/0.3994, allocations: 131.4 kB / 0.5359 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.3994, allocations: 13.72 kB / 0.5359 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.3997, allocations: 129.7 kB / 0.5361 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3998, allocations: 1.094 kB / 0.5361 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3998, allocations: 3.938 kB / 0.5361 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3998, allocations: 1.062 kB / 0.5361 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.4003, allocations: 409.6 kB / 0.5365 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4004, allocations: 1.156 kB / 0.5365 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.4004, allocations: 21.3 kB / 0.5365 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4005, allocations: 1.062 kB / 0.5365 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.4005, allocations: 4.906 kB / 0.5365 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4005, allocations: 1.094 kB / 0.5365 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4005, allocations: 1 kB / 0.5365 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.4008, allocations: 213.1 kB / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.4008, allocations: 91.77 kB / 0.5368 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.4008, allocations: 5.344 kB / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.4009, allocations: 3.875 kB / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.401, allocations: 7.578 kB / 0.5368 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.401, allocations: 6.656 kB / 0.5368 GB, free: 8.371 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.4011, allocations: 192.1 kB / 0.537 GB, free: 8.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4012, allocations: 0 / 0.537 GB, free: 8.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.4014, allocations: 15.06 kB / 0.537 GB, free: 8.25 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.001412/0.4028, allocations: 1.091 MB / 0.5381 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.4031, allocations: 62.19 kB / 0.5381 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4031, allocations: 0 / 0.5381 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/0.4032, allocations: 38.52 kB / 0.5382 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.4036, allocations: 22.78 kB / 0.5382 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.4057, allocations: 1.763 MB / 0.5399 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.406, allocations: 0.7147 MB / 0.5406 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.647e-05/0.4061, allocations: 15.98 kB / 0.5406 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.4061, allocations: 33.33 kB / 0.5407 GB, free: 5.098 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4062, allocations: 4.812 kB / 0.5407 GB, free: 5.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.4296, allocations: 3.283 MB / 0.5439 GB, free: 3.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.151, allocations: 8.469 kB / 0.5439 GB, free: 3.305 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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(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