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.00117/0.00117, allocations: 113.4 kB / 17.78 MB, free: 5.289 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.001146/0.001146, allocations: 188.1 kB / 18.71 MB, free: 4.363 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.437/1.437, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2058/0.2058, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 71.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3442, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003039/0.3472, allocations: 1.964 MB / 0.5203 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3485, allocations: 0.8532 MB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.3486, allocations: 2.719 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.349, allocations: 249.6 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.3494, allocations: 189.3 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.3503, allocations: 491.8 kB / 0.5221 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000319/0.3506, allocations: 280.3 kB / 0.5223 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3508, allocations: 68.22 kB / 0.5224 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3509, allocations: 130.9 kB / 0.5225 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.3512, allocations: 192.2 kB / 0.5227 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.3512, allocations: 10.44 kB / 0.5227 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.3514, allocations: 103.2 kB / 0.5228 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3515, allocations: 91.47 kB / 0.5229 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.3516, allocations: 115.9 kB / 0.523 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.3519, allocations: 329.6 kB / 0.5233 GB, free: 448 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.3519, allocations: 0 / 0.5233 GB, free: 448 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3519, allocations: 0 / 0.5233 GB, free: 448 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3519, allocations: 1.156 kB / 0.5233 GB, free: 448 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.0006914/0.3526, allocations: 0.643 MB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3527, allocations: 10.22 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.3527, allocations: 52.59 kB / 0.524 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/0.3528, allocations: 42.73 kB / 0.5241 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.3532, allocations: 319.6 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3532, allocations: 8.781 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3532, allocations: 10.91 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3534, allocations: 109.6 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3535, allocations: 10.39 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3535, allocations: 5.906 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3535, allocations: 5.656 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.3537, allocations: 75.28 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.3543, allocations: 493.6 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.3545, allocations: 92.47 kB / 0.5251 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.3546, allocations: 37.38 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3546, allocations: 2.734 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3546, allocations: 43.88 kB / 0.5252 GB, free: 14.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.3546, allocations: 1.375 kB / 0.5252 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008865/0.3555, allocations: 370.2 kB / 0.5256 GB, free: 14.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.3556, allocations: 58.62 kB / 0.5256 GB, free: 14.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.3562, allocations: 0.5475 MB / 0.5262 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3562, allocations: 35.11 kB / 0.5262 GB, free: 14.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3564, allocations: 202.9 kB / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.3564, allocations: 53.92 kB / 0.5264 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.3565, allocations: 32.14 kB / 0.5265 GB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3566, allocations: 351.1 kB / 0.5268 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3567, allocations: 50.05 kB / 0.5269 GB, free: 13.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3569, allocations: 54.94 kB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.3571, allocations: 130 kB / 0.527 GB, free: 13.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3571, allocations: 0 / 0.527 GB, free: 13.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003133/0.3574, allocations: 190 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3574, allocations: 8.094 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3574, allocations: 0 / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3575, allocations: 1.562 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3576, allocations: 34.09 kB / 0.5273 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3576, allocations: 5.312 kB / 0.5273 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.44e-05/0.3577, allocations: 17.41 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3577, allocations: 4.125 kB / 0.5273 GB, free: 13.66 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.0001572/0.3579, allocations: 178.9 kB / 0.5275 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.3579, allocations: 36.03 kB / 0.5275 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.3584, allocations: 241.3 kB / 0.5277 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3584, allocations: 1.625 kB / 0.5277 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3584, allocations: 1.625 kB / 0.5277 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.3584, allocations: 7.984 kB / 0.5277 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007695/0.3592, allocations: 0.6234 MB / 0.5283 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3592, allocations: 1.688 kB / 0.5283 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3593, allocations: 33.7 kB / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3593, allocations: 0 / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3593, allocations: 6.875 kB / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3593, allocations: 5.281 kB / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3594, allocations: 4 kB / 0.5284 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3597, allocations: 289.9 kB / 0.5287 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/0.3598, allocations: 121.9 kB / 0.5288 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.3599, allocations: 1.281 kB / 0.5288 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.36, allocations: 16.95 kB / 0.5288 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.36, allocations: 11.05 kB / 0.5288 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.36, allocations: 8.188 kB / 0.5288 GB, free: 12.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004083/0.3604, allocations: 409.2 kB / 0.5292 GB, free: 12.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3605, allocations: 0 / 0.5292 GB, free: 12.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.3608, allocations: 50.73 kB / 0.5293 GB, free: 12.21 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.002103/0.3629, allocations: 1.418 MB / 0.5306 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.3632, allocations: 140.7 kB / 0.5308 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3632, allocations: 0 / 0.5308 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3633, allocations: 75.38 kB / 0.5308 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.3639, allocations: 67.44 kB / 0.5309 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.3675, allocations: 3.035 MB / 0.5339 GB, free: 9.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.368, allocations: 0.7982 MB / 0.5347 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.3681, allocations: 49.92 kB / 0.5347 GB, free: 8.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3683, allocations: 121.9 kB / 0.5348 GB, free: 8.215 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3683, allocations: 3.938 kB / 0.5348 GB, free: 8.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.395, allocations: 7.314 MB / 0.542 GB, free: 3.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.146, allocations: 23.5 kB / 0.542 GB, free: 3.922 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