Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.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.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001615/0.001615, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, 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.2138/0.2138, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 76.09 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3906, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.002909/0.3935, allocations: 1.664 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3952, allocations: 1.175 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.3953, allocations: 0 / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.3955, allocations: 19.55 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.3959, allocations: 89.67 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.3963, allocations: 130.8 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.3964, allocations: 71.31 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3966, allocations: 16.23 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.3966, allocations: 38.78 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3968, allocations: 32.23 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3968, allocations: 8.125 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.397, allocations: 97.55 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.3971, allocations: 23.98 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.3972, allocations: 30.72 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.3975, allocations: 146.9 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3975, allocations: 3.938 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3975, allocations: 1.219 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3975, allocations: 0 / 0.534 GB, free: 10.77 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.0005976/0.3981, allocations: 423 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3981, allocations: 13.5 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.3982, allocations: 31.53 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.3982, allocations: 8.906 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3985, allocations: 205.1 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3985, allocations: 1.531 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3985, allocations: 3.25 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3987, allocations: 76.47 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3987, allocations: 0 / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3988, allocations: 9.234 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3988, allocations: 0 / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.3989, allocations: 40.97 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.3993, allocations: 292.6 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3995, allocations: 47.59 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.3995, allocations: 27.22 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3996, allocations: 1.156 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3996, allocations: 31.66 kB / 0.5351 GB, free: 9.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.3996, allocations: 3.938 kB / 0.5351 GB, free: 9.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007653/0.4004, allocations: 216.9 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.4004, allocations: 82.14 kB / 0.5354 GB, free: 9.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.4006, allocations: 151.5 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4006, allocations: 25.7 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.4007, allocations: 104.4 kB / 0.5357 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.4007, allocations: 21.77 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.4008, allocations: 23.78 kB / 0.5357 GB, free: 9.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4009, allocations: 325 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.401, allocations: 35 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.4011, allocations: 46.47 kB / 0.5361 GB, free: 8.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.4013, allocations: 77.38 kB / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4013, allocations: 0 / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002641/0.4016, allocations: 119.3 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4016, allocations: 5.5 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4016, allocations: 0 / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4017, allocations: 0 / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4018, allocations: 23.09 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4018, allocations: 5.375 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.167e-05/0.4019, allocations: 9.438 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.4019, allocations: 6.734 kB / 0.5364 GB, free: 8.527 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 (7): * Single equations (assignments): 7 * 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 9.066e-05/0.402, allocations: 114 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.402, allocations: 11.97 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.4024, allocations: 127.8 kB / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4024, allocations: 1.375 kB / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4024, allocations: 0 / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4024, allocations: 5.312 kB / 0.5366 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.403, allocations: 404 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.403, allocations: 0.9688 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-05/0.4031, allocations: 26.02 kB / 0.537 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4031, allocations: 1.125 kB / 0.537 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4031, allocations: 5.219 kB / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4031, allocations: 0 / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4031, allocations: 1.094 kB / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.4034, allocations: 210.4 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.4035, allocations: 91.17 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.4035, allocations: 8.984 kB / 0.5373 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.4036, allocations: 6.375 kB / 0.5373 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.4037, allocations: 7.234 kB / 0.5373 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.4037, allocations: 1.031 kB / 0.5373 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.4038, allocations: 131.5 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4038, allocations: 0 / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.4041, allocations: 38.64 kB / 0.5375 GB, free: 7.504 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001558/0.4056, allocations: 1.133 MB / 0.5386 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.4059, allocations: 79.16 kB / 0.5387 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.406, allocations: 7.875 kB / 0.5387 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4061, allocations: 38.69 kB / 0.5387 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.4064, allocations: 18.77 kB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.4084, allocations: 1.587 MB / 0.5403 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.4086, allocations: 0.6922 MB / 0.541 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.936e-05/0.4087, allocations: 26.22 kB / 0.541 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.4088, allocations: 31.42 kB / 0.541 GB, free: 4.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4088, allocations: 0 / 0.541 GB, free: 4.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.4319, allocations: 3.532 MB / 0.5445 GB, free: 2.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.194, allocations: 10.08 kB / 0.5445 GB, free: 2.418 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(clock1.y),der(clock2.y),der(d_t_new.u),t_new.extrapolation,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time