Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001779/0.001779, allocations: 118.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002071/0.002071, allocations: 202 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247 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.2086/0.2086, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 75.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.321, allocations: 62.45 MB / 0.5306 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.00336/0.3244, allocations: 2.031 MB / 0.5326 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3262, allocations: 1.022 MB / 0.5336 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.471e-05/0.3263, allocations: 1.375 kB / 0.5336 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.3268, allocations: 260.8 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004762/0.3273, allocations: 257.6 kB / 0.5341 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3283, allocations: 499.1 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.3287, allocations: 327 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.3289, allocations: 68.19 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3291, allocations: 143.9 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.3294, allocations: 197.7 kB / 0.5353 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.3294, allocations: 19.75 kB / 0.5353 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.3296, allocations: 75.66 kB / 0.5354 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3297, allocations: 83.31 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.3298, allocations: 134 kB / 0.5356 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.3303, allocations: 341.8 kB / 0.5359 GB, free: 9.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3303, allocations: 5.078 kB / 0.5359 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3303, allocations: 0 / 0.5359 GB, free: 9.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3303, allocations: 0 / 0.5359 GB, free: 9.754 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.0009113/0.3312, allocations: 0.6934 MB / 0.5366 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3313, allocations: 10.38 kB / 0.5366 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.3313, allocations: 38.34 kB / 0.5366 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/0.3314, allocations: 47.42 kB / 0.5367 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3318, allocations: 339.7 kB / 0.537 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3318, allocations: 12.5 kB / 0.537 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.3319, allocations: 11.84 kB / 0.537 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3321, allocations: 115.6 kB / 0.5371 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3322, allocations: 3.938 kB / 0.5371 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3322, allocations: 5.406 kB / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3322, allocations: 2.469 kB / 0.5372 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.3324, allocations: 66.89 kB / 0.5372 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007389/0.3331, allocations: 0.503 MB / 0.5377 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.3333, allocations: 95.17 kB / 0.5378 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/0.3334, allocations: 33.12 kB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.3334, allocations: 3.281 kB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3335, allocations: 39.59 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.3335, allocations: 4 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009984/0.3345, allocations: 403.5 kB / 0.5383 GB, free: 7.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3345, allocations: 53.62 kB / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/0.3352, allocations: 0.5904 MB / 0.5389 GB, free: 7.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3353, allocations: 29.7 kB / 0.5389 GB, free: 7.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.3354, allocations: 211.2 kB / 0.5391 GB, free: 7.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.3355, allocations: 66.91 kB / 0.5392 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.3355, allocations: 29.94 kB / 0.5392 GB, free: 7.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3357, allocations: 358.8 kB / 0.5396 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.3358, allocations: 46.56 kB / 0.5396 GB, free: 6.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.336, allocations: 55.34 kB / 0.5396 GB, free: 6.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.3362, allocations: 124.5 kB / 0.5398 GB, free: 6.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3362, allocations: 5.281 kB / 0.5398 GB, free: 6.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003396/0.3366, allocations: 199 kB / 0.54 GB, free: 6.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3366, allocations: 5.906 kB / 0.54 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3366, allocations: 0 / 0.54 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3366, allocations: 1.125 kB / 0.54 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3368, allocations: 42.05 kB / 0.54 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3368, allocations: 0.9375 kB / 0.54 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/0.3369, allocations: 9.516 kB / 0.54 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3369, allocations: 4.438 kB / 0.54 GB, free: 6.508 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.0001802/0.3371, allocations: 179.5 kB / 0.5402 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.3372, allocations: 43.19 kB / 0.5402 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.3376, allocations: 247.2 kB / 0.5405 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3377, allocations: 1.344 kB / 0.5405 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3377, allocations: 0 / 0.5405 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3377, allocations: 1.031 kB / 0.5405 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008379/0.3385, allocations: 0.6448 MB / 0.5411 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3385, allocations: 1.094 kB / 0.5411 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.3386, allocations: 29.64 kB / 0.5411 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3386, allocations: 1.156 kB / 0.5411 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3387, allocations: 10.2 kB / 0.5411 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3387, allocations: 9.031 kB / 0.5412 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3387, allocations: 0 / 0.5412 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.3391, allocations: 301.6 kB / 0.5414 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.3392, allocations: 123 kB / 0.5416 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.3393, allocations: 5.141 kB / 0.5416 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3394, allocations: 13.5 kB / 0.5416 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.3394, allocations: 13.44 kB / 0.5416 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3394, allocations: 4.406 kB / 0.5416 GB, free: 5.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004701/0.3399, allocations: 445.8 kB / 0.542 GB, free: 5.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3399, allocations: 7.938 kB / 0.542 GB, free: 5.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.3402, allocations: 44.41 kB / 0.5421 GB, free: 5.02 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.003216/0.3434, allocations: 1.424 MB / 0.5435 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.3438, allocations: 135.7 kB / 0.5436 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3438, allocations: 0 / 0.5436 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.344, allocations: 79.92 kB / 0.5437 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.3445, allocations: 73.36 kB / 0.5437 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.3484, allocations: 3.177 MB / 0.5468 GB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.3489, allocations: 0.8143 MB / 0.5476 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.349, allocations: 50.23 kB / 0.5477 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.3492, allocations: 135.4 kB / 0.5478 GB, free: 72 kB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3492, allocations: 0 / 0.5478 GB, free: 72 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.378, allocations: 7.634 MB / 0.5553 GB, free: 8.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.457, allocations: 4.062 kB / 0.5553 GB, free: 8.516 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches