Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, 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.2395/0.2395, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 72.09 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3895, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003397/0.3929, allocations: 1.666 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.3947, allocations: 1.2 MB / 0.5333 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.3948, allocations: 1.031 kB / 0.5333 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.3951, allocations: 23.73 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.3954, allocations: 83.2 kB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.3959, allocations: 176.9 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3961, allocations: 83.09 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3962, allocations: 17.62 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.3963, allocations: 30.8 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.3965, allocations: 41.58 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3965, allocations: 4.125 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.3967, allocations: 100.2 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.3968, allocations: 22.8 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.3969, allocations: 37.23 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.3972, allocations: 146.3 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3972, allocations: 0 / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3972, allocations: 4 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3972, allocations: 1.375 kB / 0.5341 GB, free: 10.68 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.0007148/0.3979, allocations: 414.8 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.398, allocations: 9.625 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.209e-05/0.3981, allocations: 36.12 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.3981, allocations: 8.969 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3984, allocations: 209.3 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3984, allocations: 7.062 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.3984, allocations: 5.734 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3986, allocations: 82.56 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3987, allocations: 1.375 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3987, allocations: 4 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3987, allocations: 1.375 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3988, allocations: 43.31 kB / 0.5349 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.3993, allocations: 317.6 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.3995, allocations: 45.81 kB / 0.5352 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.3995, allocations: 25.31 kB / 0.5352 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3996, allocations: 5.438 kB / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.3996, allocations: 34.55 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3996, allocations: 5.375 kB / 0.5353 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008924/0.4005, allocations: 225.3 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.4006, allocations: 82.77 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.4008, allocations: 169.3 kB / 0.5357 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4008, allocations: 27.08 kB / 0.5357 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.4009, allocations: 99.34 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.4009, allocations: 22.94 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.401, allocations: 28.17 kB / 0.5359 GB, free: 8.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4011, allocations: 317 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4013, allocations: 41.3 kB / 0.5362 GB, free: 8.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.4014, allocations: 54.66 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.4017, allocations: 86.44 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4017, allocations: 1.094 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003391/0.402, allocations: 135.6 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4021, allocations: 5.656 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4021, allocations: 0 / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4021, allocations: 1.125 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.4022, allocations: 18.89 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4023, allocations: 1.156 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.4024, allocations: 13.64 kB / 0.5365 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.4024, allocations: 2.125 kB / 0.5365 GB, free: 8.391 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 0.0001157/0.4025, allocations: 128.1 kB / 0.5367 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.4025, allocations: 8.156 kB / 0.5367 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.403, allocations: 138.7 kB / 0.5368 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.403, allocations: 5.438 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.403, allocations: 0 / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.403, allocations: 3.938 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.4036, allocations: 420.5 kB / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4036, allocations: 0 / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.4037, allocations: 23.23 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4037, allocations: 0 / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.4038, allocations: 9.156 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4038, allocations: 1.156 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4038, allocations: 0 / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.4042, allocations: 223.9 kB / 0.5375 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.4042, allocations: 87.56 kB / 0.5375 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.4043, allocations: 5.188 kB / 0.5375 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4044, allocations: 14.67 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.4044, allocations: 6.641 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.4045, allocations: 6.688 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.4046, allocations: 118.5 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4046, allocations: 1.531 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.4049, allocations: 38.41 kB / 0.5377 GB, free: 7.348 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.001808/0.4067, allocations: 1.152 MB / 0.5388 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.4071, allocations: 88.33 kB / 0.5389 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4071, allocations: 1.031 kB / 0.5389 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.4072, allocations: 51.86 kB / 0.539 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.4076, allocations: 23.94 kB / 0.539 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.4099, allocations: 1.648 MB / 0.5406 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4103, allocations: 0.7064 MB / 0.5413 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.4104, allocations: 19.42 kB / 0.5413 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.4105, allocations: 36.56 kB / 0.5414 GB, free: 4.219 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4105, allocations: 0 / 0.5414 GB, free: 4.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.4354, allocations: 3.606 MB / 0.5449 GB, free: 2.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.858, allocations: 11.42 kB / 0.5449 GB, free: 2.176 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],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(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],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[1],time