Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001829/0.001829, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00213/0.00213, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 79.86 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3713, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003776/0.3751, allocations: 2.056 MB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.3772, allocations: 1.12 MB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3773, allocations: 2.438 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.3778, allocations: 264.9 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.3783, allocations: 265.9 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3797, allocations: 0.6539 MB / 0.5349 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.3801, allocations: 349.3 kB / 0.5352 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3803, allocations: 76.89 kB / 0.5353 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.3805, allocations: 147.1 kB / 0.5354 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.3808, allocations: 214.8 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.3809, allocations: 15.72 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.3811, allocations: 101.3 kB / 0.5357 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.3812, allocations: 97.25 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3813, allocations: 130.1 kB / 0.536 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.3818, allocations: 374.2 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3818, allocations: 1.375 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3818, allocations: 4 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3819, allocations: 3.938 kB / 0.5363 GB, free: 9.258 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009316/0.3828, allocations: 0.7097 MB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3828, allocations: 9.531 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.3829, allocations: 45.98 kB / 0.5371 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.383, allocations: 45.62 kB / 0.5371 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.3834, allocations: 353.8 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3834, allocations: 7.812 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.3835, allocations: 12.41 kB / 0.5375 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.3837, allocations: 135.2 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3838, allocations: 8.984 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3838, allocations: 1.219 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3838, allocations: 2.312 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.384, allocations: 94.73 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.3848, allocations: 0.5152 MB / 0.5382 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.385, allocations: 116.4 kB / 0.5383 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.3851, allocations: 39.69 kB / 0.5384 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3851, allocations: 2.25 kB / 0.5384 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3851, allocations: 35.38 kB / 0.5384 GB, free: 7.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.3851, allocations: 1.094 kB / 0.5384 GB, free: 7.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001045/0.3862, allocations: 462.3 kB / 0.5388 GB, free: 7.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3862, allocations: 52.81 kB / 0.5389 GB, free: 7.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006964/0.3869, allocations: 0.6055 MB / 0.5395 GB, free: 6.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.387, allocations: 30.58 kB / 0.5395 GB, free: 6.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.3872, allocations: 208.4 kB / 0.5397 GB, free: 6.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.3872, allocations: 62.17 kB / 0.5398 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.3873, allocations: 34.89 kB / 0.5398 GB, free: 6.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3875, allocations: 363.1 kB / 0.5401 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3876, allocations: 67.08 kB / 0.5402 GB, free: 6.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3878, allocations: 65.77 kB / 0.5403 GB, free: 6.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.3881, allocations: 159.1 kB / 0.5404 GB, free: 6.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3881, allocations: 0 / 0.5404 GB, free: 6.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004119/0.3885, allocations: 236.5 kB / 0.5406 GB, free: 5.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3885, allocations: 9.469 kB / 0.5407 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3885, allocations: 0 / 0.5407 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3886, allocations: 1.438 kB / 0.5407 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3887, allocations: 34.77 kB / 0.5407 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3888, allocations: 0.9688 kB / 0.5407 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.3888, allocations: 17.89 kB / 0.5407 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3889, allocations: 7.562 kB / 0.5407 GB, free: 5.863 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 (17): * Single equations (assignments): 17 * 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.0001867/0.3891, allocations: 182.5 kB / 0.5409 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.3891, allocations: 51.33 kB / 0.5409 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.3897, allocations: 285.5 kB / 0.5412 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3897, allocations: 1.688 kB / 0.5412 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3897, allocations: 0 / 0.5412 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3897, allocations: 0 / 0.5412 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009648/0.3907, allocations: 0.7025 MB / 0.5419 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3907, allocations: 5.156 kB / 0.5419 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3908, allocations: 33.91 kB / 0.5419 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3908, allocations: 1.125 kB / 0.5419 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3909, allocations: 2.375 kB / 0.5419 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3909, allocations: 3.938 kB / 0.5419 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3909, allocations: 1.094 kB / 0.5419 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.3913, allocations: 332 kB / 0.5423 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3915, allocations: 127.1 kB / 0.5424 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.3915, allocations: 5.062 kB / 0.5424 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3916, allocations: 12.53 kB / 0.5424 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.3917, allocations: 13.69 kB / 0.5424 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3917, allocations: 8.516 kB / 0.5424 GB, free: 4.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005054/0.3922, allocations: 452.9 kB / 0.5429 GB, free: 4.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3922, allocations: 0 / 0.5429 GB, free: 4.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.3925, allocations: 50.09 kB / 0.5429 GB, free: 4.309 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 (17): * Single equations (assignments): 17 * 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.003336/0.3959, allocations: 1.457 MB / 0.5443 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.3963, allocations: 176.2 kB / 0.5445 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3963, allocations: 0 / 0.5445 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3964, allocations: 88.33 kB / 0.5446 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.397, allocations: 84.81 kB / 0.5447 GB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.4014, allocations: 3.346 MB / 0.5479 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.4019, allocations: 0.8338 MB / 0.5487 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.4021, allocations: 62.23 kB / 0.5488 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.4023, allocations: 143.4 kB / 0.5489 GB, free: 14.77 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4023, allocations: 0 / 0.5489 GB, free: 14.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.4351, allocations: 7.879 MB / 0.5566 GB, free: 6.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/8.849, allocations: 11.16 kB / 0.5566 GB, free: 6.973 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches