Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002299/0.002299, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 213.4 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 46.97 MB / 361.7 MB, free: 4.137 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.91 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4042, allocations: 66.03 MB / 0.5614 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003878/0.408, allocations: 1.98 MB / 0.5633 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.41, allocations: 0.979 MB / 0.5643 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.4101, allocations: 4 kB / 0.5643 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005409/0.4107, allocations: 251.2 kB / 0.5645 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005788/0.4112, allocations: 279 kB / 0.5648 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.4124, allocations: 0.4892 MB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.4129, allocations: 331 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.413, allocations: 56.89 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.4132, allocations: 147.3 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.4135, allocations: 231.2 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.4135, allocations: 12 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.4137, allocations: 95.95 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.4139, allocations: 95.62 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.414, allocations: 95.14 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.4144, allocations: 366.2 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4145, allocations: 8 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4145, allocations: 0 / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4145, allocations: 0 / 0.5666 GB, free: 14.86 MB / 414.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.0008888/0.4154, allocations: 0.6243 MB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4154, allocations: 12.02 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.6e-05/0.4154, allocations: 4.188 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.4155, allocations: 42.75 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.4155, allocations: 48.61 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.4159, allocations: 268.6 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4159, allocations: 8.375 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.416, allocations: 20.11 kB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.4162, allocations: 113.5 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4162, allocations: 0 / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.4163, allocations: 4 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.4163, allocations: 4 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.4164, allocations: 71.89 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.4172, allocations: 459.5 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.4173, allocations: 86.48 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.4174, allocations: 36.84 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.4175, allocations: 4 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4175, allocations: 34.5 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.4175, allocations: 0 / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001004/0.4185, allocations: 400.6 kB / 0.5688 GB, free: 12.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.4185, allocations: 55.34 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007166/0.4193, allocations: 0.5916 MB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.4193, allocations: 29.7 kB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.4195, allocations: 216.4 kB / 0.5696 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.4195, allocations: 59.48 kB / 0.5697 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.4196, allocations: 37.64 kB / 0.5697 GB, free: 11.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4198, allocations: 358.7 kB / 0.5701 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.4199, allocations: 47.98 kB / 0.5701 GB, free: 11.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.42, allocations: 55.97 kB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.4203, allocations: 119.6 kB / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4203, allocations: 0 / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003635/0.4206, allocations: 201.3 kB / 0.5705 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4206, allocations: 7.938 kB / 0.5705 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4207, allocations: 0 / 0.5705 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4207, allocations: 7.984 kB / 0.5705 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.4208, allocations: 27.98 kB / 0.5705 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4208, allocations: 4 kB / 0.5705 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.4209, allocations: 8 kB / 0.5705 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.4209, allocations: 7.984 kB / 0.5705 GB, free: 10.64 MB / 414.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.0001952/0.4211, allocations: 185.7 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/0.4212, allocations: 39.72 kB / 0.5707 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.4217, allocations: 247.7 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4217, allocations: 0 / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4217, allocations: 0 / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4217, allocations: 4 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.4226, allocations: 0.5832 MB / 0.5716 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4226, allocations: 4 kB / 0.5716 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.4227, allocations: 39.86 kB / 0.5716 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4227, allocations: 0 / 0.5716 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4228, allocations: 8 kB / 0.5716 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.4228, allocations: 7.938 kB / 0.5716 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4228, allocations: 0 / 0.5716 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.4232, allocations: 297.2 kB / 0.5719 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.4233, allocations: 47.7 kB / 0.5719 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.4233, allocations: 0 / 0.5719 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4234, allocations: 23.92 kB / 0.572 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.4235, allocations: 7.984 kB / 0.572 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4235, allocations: 4 kB / 0.572 GB, free: 9.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004909/0.424, allocations: 443.1 kB / 0.5724 GB, free: 8.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.424, allocations: 0 / 0.5724 GB, free: 8.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.4243, allocations: 51.94 kB / 0.5724 GB, free: 8.598 MB / 414.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.003739/0.428, allocations: 1.493 MB / 0.5739 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.4284, allocations: 131.8 kB / 0.574 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4284, allocations: 0 / 0.574 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.4286, allocations: 67.91 kB / 0.5741 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.4292, allocations: 84.31 kB / 0.5742 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/0.4344, allocations: 3.163 MB / 0.5773 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.4346, allocations: 212.1 kB / 0.5775 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.4348, allocations: 50.25 kB / 0.5775 GB, free: 3.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.435, allocations: 135.4 kB / 0.5776 GB, free: 3.523 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.435, allocations: 0 / 0.5776 GB, free: 3.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.4662, allocations: 8.043 MB / 0.5855 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.3, allocations: 10.88 kB / 0.5855 GB, free: 11.49 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.737477683927864]