Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 202 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.409/1.409, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3767, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003115/0.3799, allocations: 1.66 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3818, allocations: 1.17 MB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.3819, allocations: 0 / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.3821, allocations: 25.03 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.3825, allocations: 85.19 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.383, allocations: 137.8 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.3831, allocations: 68.77 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3833, allocations: 16.08 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.3833, allocations: 42.75 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3835, allocations: 34.97 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3835, allocations: 5.25 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3838, allocations: 100.5 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.3838, allocations: 16.67 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.3839, allocations: 29.52 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.3841, allocations: 152.5 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3842, allocations: 3.938 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3842, allocations: 0 / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3842, allocations: 0 / 0.534 GB, free: 10.73 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.0005634/0.3847, allocations: 424 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3848, allocations: 8.562 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.3848, allocations: 36.62 kB / 0.5344 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.3849, allocations: 8.625 kB / 0.5344 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.3851, allocations: 197.5 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3851, allocations: 2.469 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.3851, allocations: 2.344 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3853, allocations: 89.03 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3853, allocations: 0 / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3854, allocations: 1 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3854, allocations: 1.062 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3855, allocations: 40.12 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.3859, allocations: 293.8 kB / 0.535 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.386, allocations: 50.91 kB / 0.5351 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.3861, allocations: 24.53 kB / 0.5351 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3861, allocations: 0 / 0.5351 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.3862, allocations: 35.97 kB / 0.5351 GB, free: 9.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3862, allocations: 0 / 0.5351 GB, free: 9.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008068/0.387, allocations: 223.5 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.3871, allocations: 78.48 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.3872, allocations: 149.7 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3873, allocations: 29.7 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.3873, allocations: 100.2 kB / 0.5357 GB, free: 9.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3874, allocations: 22.41 kB / 0.5357 GB, free: 9.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.3874, allocations: 23.2 kB / 0.5357 GB, free: 8.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3876, allocations: 321.6 kB / 0.536 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.3877, allocations: 35.17 kB / 0.5361 GB, free: 8.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3878, allocations: 46.3 kB / 0.5361 GB, free: 8.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.3881, allocations: 76.72 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3881, allocations: 0 / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003075/0.3884, allocations: 119.2 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3884, allocations: 5.5 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3884, allocations: 0 / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3885, allocations: 4 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3886, allocations: 19.83 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3886, allocations: 3.984 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.3887, allocations: 10.44 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3887, allocations: 2.219 kB / 0.5364 GB, free: 8.496 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.694e-05/0.3888, allocations: 118.2 kB / 0.5365 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.3888, allocations: 12.16 kB / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.3892, allocations: 132.3 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3892, allocations: 1.375 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3892, allocations: 0 / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3892, allocations: 3.938 kB / 0.5366 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.3898, allocations: 401.3 kB / 0.537 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3898, allocations: 4 kB / 0.537 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.371e-05/0.3899, allocations: 23.33 kB / 0.537 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3899, allocations: 0 / 0.537 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3899, allocations: 5.156 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3899, allocations: 1.156 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.39, allocations: 0 / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.3903, allocations: 209.7 kB / 0.5372 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.3904, allocations: 88.33 kB / 0.5373 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3904, allocations: 5.094 kB / 0.5373 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3905, allocations: 10.77 kB / 0.5373 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.3905, allocations: 6.109 kB / 0.5373 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3906, allocations: 10.31 kB / 0.5373 GB, free: 7.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.3907, allocations: 122.7 kB / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3907, allocations: 3.938 kB / 0.5375 GB, free: 7.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.391, allocations: 38.88 kB / 0.5375 GB, free: 7.469 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.00165/0.3926, allocations: 1.132 MB / 0.5386 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.393, allocations: 83.06 kB / 0.5387 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.393, allocations: 0 / 0.5387 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3931, allocations: 41.72 kB / 0.5387 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.3935, allocations: 19.12 kB / 0.5387 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.3956, allocations: 1.598 MB / 0.5403 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3959, allocations: 0.6968 MB / 0.541 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.626e-05/0.396, allocations: 21.2 kB / 0.541 GB, free: 4.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.3961, allocations: 32.23 kB / 0.541 GB, free: 4.391 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3961, allocations: 0 / 0.541 GB, free: 4.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.4175, allocations: 3.528 MB / 0.5445 GB, free: 2.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.902, allocations: 6.219 kB / 0.5445 GB, free: 2.383 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.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