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.001194/0.001194, 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.00136/0.00136, 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.422/1.422, 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.2178/0.2178, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3926, allocations: 62.43 MB / 0.5305 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.005126/0.3978, allocations: 2.06 MB / 0.5325 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.4008, allocations: 1.111 MB / 0.5336 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.401, allocations: 3.844 kB / 0.5336 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007413/0.4018, allocations: 268.6 kB / 0.5339 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007197/0.4026, allocations: 262 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.4051, allocations: 0.6526 MB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007919/0.4059, allocations: 351.1 kB / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.4062, allocations: 82.81 kB / 0.5352 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.4065, allocations: 151.7 kB / 0.5353 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/0.407, allocations: 205.9 kB / 0.5355 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.587e-05/0.4071, allocations: 11.66 kB / 0.5355 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.4075, allocations: 106 kB / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.4078, allocations: 100.5 kB / 0.5357 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.4081, allocations: 130.6 kB / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008892/0.409, allocations: 367.6 kB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.409, allocations: 0 / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.409, allocations: 0 / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.409, allocations: 1.094 kB / 0.5362 GB, free: 9.246 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.001693/0.4107, allocations: 0.6979 MB / 0.5369 GB, free: 8.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.4108, allocations: 13.62 kB / 0.5369 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.147e-05/0.4109, allocations: 42.06 kB / 0.5369 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.4111, allocations: 48.72 kB / 0.537 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006877/0.4118, allocations: 349.4 kB / 0.5373 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.4118, allocations: 4.594 kB / 0.5373 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.4119, allocations: 12.16 kB / 0.5373 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.4122, allocations: 139 kB / 0.5375 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.4122, allocations: 0.9062 kB / 0.5375 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4122, allocations: 4.969 kB / 0.5375 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4122, allocations: 3.125 kB / 0.5375 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.4125, allocations: 89.81 kB / 0.5376 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/0.4134, allocations: 0.5231 MB / 0.5381 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.4136, allocations: 112.3 kB / 0.5382 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4138, allocations: 36 kB / 0.5382 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.4138, allocations: 10.83 kB / 0.5382 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.4139, allocations: 39.5 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.502e-06/0.4139, allocations: 0 / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001542/0.4154, allocations: 449.5 kB / 0.5387 GB, free: 7.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.4155, allocations: 54.19 kB / 0.5387 GB, free: 7.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009728/0.4165, allocations: 0.6017 MB / 0.5393 GB, free: 6.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.4165, allocations: 25.7 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.4167, allocations: 224.4 kB / 0.5396 GB, free: 6.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.4168, allocations: 53.95 kB / 0.5396 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.4168, allocations: 34.58 kB / 0.5397 GB, free: 6.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.417, allocations: 356 kB / 0.54 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.4172, allocations: 62.95 kB / 0.5401 GB, free: 6.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.4174, allocations: 71.36 kB / 0.5401 GB, free: 6.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.4177, allocations: 164.4 kB / 0.5403 GB, free: 6.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4177, allocations: 5 kB / 0.5403 GB, free: 6.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004948/0.4182, allocations: 232 kB / 0.5405 GB, free: 5.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4182, allocations: 5 kB / 0.5405 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4182, allocations: 1.156 kB / 0.5405 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4183, allocations: 1.125 kB / 0.5405 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.4184, allocations: 38.56 kB / 0.5405 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4185, allocations: 5.047 kB / 0.5405 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.4186, allocations: 9.438 kB / 0.5406 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.4186, allocations: 12.41 kB / 0.5406 GB, free: 5.871 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.0002341/0.4188, allocations: 182.3 kB / 0.5407 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.419, allocations: 46.75 kB / 0.5408 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.4196, allocations: 277.1 kB / 0.5411 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4196, allocations: 1.406 kB / 0.5411 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4196, allocations: 0 / 0.5411 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.4196, allocations: 5.484 kB / 0.5411 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000993/0.4206, allocations: 0.6981 MB / 0.5417 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4206, allocations: 3.984 kB / 0.5417 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4208, allocations: 29.89 kB / 0.5418 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.4208, allocations: 1.125 kB / 0.5418 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4208, allocations: 6.188 kB / 0.5418 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4208, allocations: 5.062 kB / 0.5418 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4208, allocations: 5 kB / 0.5418 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.4213, allocations: 342.8 kB / 0.5421 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.4214, allocations: 115.1 kB / 0.5422 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.4215, allocations: 5.156 kB / 0.5422 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.4216, allocations: 12.64 kB / 0.5422 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.4217, allocations: 10.8 kB / 0.5423 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.4217, allocations: 8.438 kB / 0.5423 GB, free: 4.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00067/0.4224, allocations: 451.8 kB / 0.5427 GB, free: 4.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4224, allocations: 0 / 0.5427 GB, free: 4.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005339/0.4229, allocations: 54.25 kB / 0.5427 GB, free: 4.324 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.002388/0.4253, allocations: 1.452 MB / 0.5442 GB, free: 3.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.4257, allocations: 169.1 kB / 0.5443 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4257, allocations: 0 / 0.5443 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.4259, allocations: 92.67 kB / 0.5444 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.4265, allocations: 73.83 kB / 0.5445 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.4312, allocations: 3.34 MB / 0.5477 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.4317, allocations: 0.8337 MB / 0.5486 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.4319, allocations: 58.25 kB / 0.5486 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.4321, allocations: 139.4 kB / 0.5487 GB, free: 14.86 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4321, allocations: 0 / 0.5487 GB, free: 14.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.4689, allocations: 7.961 MB / 0.5565 GB, free: 6.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.606, allocations: 10.34 kB / 0.5565 GB, free: 6.969 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