Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 113.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 184.9 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4427, allocations: 60.81 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003583/0.4463, allocations: 1.962 MB / 0.5203 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.4479, allocations: 0.8539 MB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.448, allocations: 2.406 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.4487, allocations: 252.9 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.4492, allocations: 189.7 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.4503, allocations: 488.6 kB / 0.5221 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.4508, allocations: 285.6 kB / 0.5223 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.451, allocations: 58.91 kB / 0.5224 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.4512, allocations: 131.8 kB / 0.5225 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.4516, allocations: 196.2 kB / 0.5227 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.4516, allocations: 8.969 kB / 0.5227 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.4518, allocations: 102.4 kB / 0.5228 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.452, allocations: 87.42 kB / 0.5229 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.4521, allocations: 117.4 kB / 0.523 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.4525, allocations: 328.1 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4525, allocations: 1.312 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4526, allocations: 4 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.4526, allocations: 0.5625 kB / 0.5233 GB, free: 456 kB / 382.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.0008491/0.4534, allocations: 0.6476 MB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4535, allocations: 9.5 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.4535, allocations: 41.09 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.4536, allocations: 42.94 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.454, allocations: 323.8 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4541, allocations: 8.25 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.4541, allocations: 6.438 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.4544, allocations: 115 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4544, allocations: 4.562 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4545, allocations: 9.469 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4545, allocations: 2.844 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.4547, allocations: 78.84 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/0.4554, allocations: 490.2 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.4557, allocations: 92.23 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.4558, allocations: 39.31 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.4558, allocations: 4.688 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.4558, allocations: 41.48 kB / 0.5252 GB, free: 14.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.4558, allocations: 0 / 0.5252 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001064/0.4569, allocations: 387.2 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.457, allocations: 56.69 kB / 0.5256 GB, free: 14.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007988/0.4578, allocations: 0.5481 MB / 0.5262 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.4578, allocations: 29.7 kB / 0.5262 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.458, allocations: 203.1 kB / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.4581, allocations: 54.48 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.4581, allocations: 36.17 kB / 0.5265 GB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4583, allocations: 355 kB / 0.5268 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4585, allocations: 46.25 kB / 0.5269 GB, free: 13.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.4586, allocations: 50.42 kB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.4589, allocations: 130.9 kB / 0.527 GB, free: 13.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4589, allocations: 0 / 0.527 GB, free: 13.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003613/0.4593, allocations: 189.4 kB / 0.5272 GB, free: 13.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4593, allocations: 8.703 kB / 0.5272 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4593, allocations: 1.656 kB / 0.5272 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4593, allocations: 0 / 0.5272 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.4595, allocations: 34.81 kB / 0.5273 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4595, allocations: 1.562 kB / 0.5273 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.4596, allocations: 12.59 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.4596, allocations: 12.64 kB / 0.5273 GB, free: 13.67 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.0002017/0.4598, allocations: 174.3 kB / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.4599, allocations: 40.41 kB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/0.4604, allocations: 229.7 kB / 0.5277 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.4604, allocations: 1.375 kB / 0.5277 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4604, allocations: 5.312 kB / 0.5277 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.4605, allocations: 7.984 kB / 0.5277 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008822/0.4613, allocations: 0.6256 MB / 0.5283 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4614, allocations: 4 kB / 0.5283 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.4615, allocations: 29.98 kB / 0.5284 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4615, allocations: 1.344 kB / 0.5284 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4615, allocations: 6.594 kB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4615, allocations: 3.938 kB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4615, allocations: 1.469 kB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.462, allocations: 291.8 kB / 0.5287 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.4621, allocations: 121.4 kB / 0.5288 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.4622, allocations: 2.281 kB / 0.5288 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.4623, allocations: 17.11 kB / 0.5288 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.4624, allocations: 9.047 kB / 0.5288 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4624, allocations: 4.812 kB / 0.5288 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005408/0.4629, allocations: 409.3 kB / 0.5292 GB, free: 12.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4629, allocations: 0.9688 kB / 0.5292 GB, free: 12.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003348/0.4633, allocations: 49.61 kB / 0.5292 GB, free: 12.24 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.002529/0.4658, allocations: 1.429 MB / 0.5306 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.4662, allocations: 133.3 kB / 0.5308 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4662, allocations: 0 / 0.5308 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.4664, allocations: 76 kB / 0.5308 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.4671, allocations: 79.73 kB / 0.5309 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.4714, allocations: 3.029 MB / 0.5339 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.472, allocations: 0.804 MB / 0.5347 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.4722, allocations: 47.3 kB / 0.5347 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.4724, allocations: 124.8 kB / 0.5348 GB, free: 8.234 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4724, allocations: 1.156 kB / 0.5348 GB, free: 8.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.5006, allocations: 7.31 MB / 0.542 GB, free: 3.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.558, allocations: 23.61 kB / 0.542 GB, free: 3.961 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches