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.001185/0.001185, 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.001365/0.001365, allocations: 201.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.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 71.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.37, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003463/0.3735, allocations: 2.058 MB / 0.5325 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3753, allocations: 1.118 MB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3754, allocations: 3.344 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.376, allocations: 269.5 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.3765, allocations: 261.9 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.378, allocations: 0.6556 MB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000472/0.3785, allocations: 350.3 kB / 0.5351 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.3787, allocations: 79.33 kB / 0.5352 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.3789, allocations: 147.1 kB / 0.5353 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.3791, allocations: 210.2 kB / 0.5355 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.3792, allocations: 11.12 kB / 0.5355 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3794, allocations: 106 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.3796, allocations: 101.2 kB / 0.5357 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3797, allocations: 126.8 kB / 0.5359 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.3802, allocations: 370.7 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3802, allocations: 1.125 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3802, allocations: 0 / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3802, allocations: 0 / 0.5362 GB, free: 9.348 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.0008198/0.381, allocations: 0.7021 MB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3811, allocations: 9.719 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.3811, allocations: 43.12 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.3812, allocations: 44.19 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.3816, allocations: 349.8 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3816, allocations: 8.094 kB / 0.5373 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.3817, allocations: 11.5 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.382, allocations: 136 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.382, allocations: 5.031 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.382, allocations: 1.094 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.382, allocations: 5.766 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.3822, allocations: 94.81 kB / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.383, allocations: 0.5199 MB / 0.5381 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3832, allocations: 107.2 kB / 0.5382 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.3833, allocations: 44.06 kB / 0.5382 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.3833, allocations: 6.516 kB / 0.5382 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3833, allocations: 39.84 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3833, allocations: 0 / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001069/0.3844, allocations: 448.9 kB / 0.5387 GB, free: 7.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3845, allocations: 57.44 kB / 0.5387 GB, free: 7.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007133/0.3852, allocations: 0.5981 MB / 0.5393 GB, free: 6.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3852, allocations: 30.77 kB / 0.5394 GB, free: 6.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3854, allocations: 216.6 kB / 0.5396 GB, free: 6.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.3854, allocations: 53.64 kB / 0.5396 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.3855, allocations: 33.98 kB / 0.5397 GB, free: 6.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3856, allocations: 355.8 kB / 0.54 GB, free: 6.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3858, allocations: 71.27 kB / 0.5401 GB, free: 6.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3859, allocations: 67.61 kB / 0.5401 GB, free: 6.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.3862, allocations: 156.6 kB / 0.5403 GB, free: 6.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3862, allocations: 4 kB / 0.5403 GB, free: 6.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004091/0.3867, allocations: 237.7 kB / 0.5405 GB, free: 6.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3867, allocations: 4.219 kB / 0.5405 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3867, allocations: 1.469 kB / 0.5405 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3867, allocations: 4 kB / 0.5405 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.3869, allocations: 34.84 kB / 0.5405 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3869, allocations: 1.469 kB / 0.5405 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.387, allocations: 13.41 kB / 0.5406 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.387, allocations: 4.531 kB / 0.5406 GB, free: 5.984 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.0001836/0.3872, allocations: 189.3 kB / 0.5407 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.3873, allocations: 43.75 kB / 0.5408 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000569/0.3879, allocations: 280.8 kB / 0.5411 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3879, allocations: 1.344 kB / 0.5411 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3879, allocations: 1.438 kB / 0.5411 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3879, allocations: 3.984 kB / 0.5411 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009153/0.3888, allocations: 0.6952 MB / 0.5417 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3888, allocations: 5.125 kB / 0.5417 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3889, allocations: 33.42 kB / 0.5418 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.389, allocations: 1.25 kB / 0.5418 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.389, allocations: 2.281 kB / 0.5418 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.389, allocations: 5.094 kB / 0.5418 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.389, allocations: 4 kB / 0.5418 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.3894, allocations: 342.5 kB / 0.5421 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.3895, allocations: 118.9 kB / 0.5422 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.3896, allocations: 5.062 kB / 0.5422 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3897, allocations: 17.48 kB / 0.5422 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3897, allocations: 9.391 kB / 0.5423 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.3897, allocations: 4.344 kB / 0.5423 GB, free: 4.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004495/0.3902, allocations: 452.5 kB / 0.5427 GB, free: 4.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3902, allocations: 0 / 0.5427 GB, free: 4.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.3905, allocations: 54.88 kB / 0.5427 GB, free: 4.43 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.002168/0.3927, allocations: 1.449 MB / 0.5442 GB, free: 3.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.393, allocations: 170 kB / 0.5443 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3931, allocations: 0 / 0.5443 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3932, allocations: 92.7 kB / 0.5444 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.3938, allocations: 79.73 kB / 0.5445 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.3975, allocations: 3.342 MB / 0.5478 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.3979, allocations: 0.826 MB / 0.5486 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.398, allocations: 62.23 kB / 0.5486 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3982, allocations: 139.4 kB / 0.5488 GB, free: 14.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3982, allocations: 0 / 0.5488 GB, free: 14.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.4235, allocations: 7.953 MB / 0.5565 GB, free: 7.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.286, allocations: 6.562 kB / 0.5565 GB, free: 7.062 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