Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.001842/0.001842, allocations: 110.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.002039/0.002039, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.36/1.36, 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.2147/0.2147, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.328, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002772/0.3308, allocations: 1.626 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007297/0.3315, allocations: 0.6847 MB / 0.5207 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.3316, allocations: 1.031 kB / 0.5207 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.3318, allocations: 24.75 kB / 0.5207 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.332, allocations: 40.33 kB / 0.5207 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.088e-06/0.332, allocations: 3.938 kB / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.3322, allocations: 30.05 kB / 0.5208 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3322, allocations: 6.984 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.123e-05/0.3323, allocations: 16.53 kB / 0.5208 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.3323, allocations: 16.72 kB / 0.5208 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3323, allocations: 1.094 kB / 0.5208 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.189e-05/0.3324, allocations: 7.984 kB / 0.5208 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.3325, allocations: 17.56 kB / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.3325, allocations: 18.38 kB / 0.5209 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.3326, allocations: 67.48 kB / 0.5209 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3326, allocations: 0.7969 kB / 0.5209 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3326, allocations: 5.375 kB / 0.5209 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.3327, allocations: 0 / 0.5209 GB, free: 1.562 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003259/0.333, allocations: 369 kB / 0.5213 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.333, allocations: 9.219 kB / 0.5213 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.3331, allocations: 35.69 kB / 0.5213 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.3331, allocations: 7.812 kB / 0.5213 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.3332, allocations: 181.3 kB / 0.5215 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3332, allocations: 1.438 kB / 0.5215 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.3333, allocations: 2.469 kB / 0.5215 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3334, allocations: 128.8 kB / 0.5216 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3335, allocations: 5.219 kB / 0.5216 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3335, allocations: 1.219 kB / 0.5216 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/0.3335, allocations: 27.67 kB / 0.5217 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.3336, allocations: 42.12 kB / 0.5217 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.3342, allocations: 0.8937 MB / 0.5226 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.3343, allocations: 166.3 kB / 0.5227 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.3344, allocations: 92.02 kB / 0.5228 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.3344, allocations: 76.98 kB / 0.5229 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.3345, allocations: 106.5 kB / 0.523 GB, free: 15.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3345, allocations: 1.094 kB / 0.523 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.38e-05/0.3346, allocations: 41.86 kB / 0.523 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.3346, allocations: 127.8 kB / 0.5232 GB, free: 15.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.3349, allocations: 189.6 kB / 0.5233 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3349, allocations: 25.7 kB / 0.5234 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.335, allocations: 150.6 kB / 0.5235 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/0.335, allocations: 5.766 kB / 0.5235 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.3351, allocations: 43.59 kB / 0.5236 GB, free: 14.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3352, allocations: 320.8 kB / 0.5239 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.3353, allocations: 27.81 kB / 0.5239 GB, free: 14.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.3354, allocations: 157.8 kB / 0.524 GB, free: 14.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.3357, allocations: 207.8 kB / 0.5242 GB, free: 14.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3357, allocations: 1.188 kB / 0.5242 GB, free: 14.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003118/0.336, allocations: 199.4 kB / 0.5244 GB, free: 14.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.336, allocations: 6.438 kB / 0.5244 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.336, allocations: 5.156 kB / 0.5244 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.3361, allocations: 6.25 kB / 0.5244 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3362, allocations: 41.03 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3362, allocations: 6.625 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.3363, allocations: 17.19 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3363, allocations: 18.42 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001134/0.3364, allocations: 212 kB / 0.5247 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.3365, allocations: 122.6 kB / 0.5248 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.3366, allocations: 119.8 kB / 0.525 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/0.3366, allocations: 182.3 kB / 0.5251 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-05/0.3367, allocations: 186.3 kB / 0.5253 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-05/0.3367, allocations: 178 kB / 0.5255 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.337, allocations: 431.1 kB / 0.5259 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/0.337, allocations: 103.1 kB / 0.526 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.337, allocations: 106.5 kB / 0.5261 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-05/0.3371, allocations: 177.9 kB / 0.5263 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.3372, allocations: 185.9 kB / 0.5264 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.507e-05/0.3372, allocations: 182.9 kB / 0.5266 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.315e-05/0.3373, allocations: 181.4 kB / 0.5268 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.3374, allocations: 316.1 kB / 0.5271 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.3375, allocations: 189.5 kB / 0.5273 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/0.3376, allocations: 186.7 kB / 0.5274 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.3376, allocations: 103 kB / 0.5275 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.3377, allocations: 182.2 kB / 0.5277 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.3377, allocations: 109.6 kB / 0.5278 GB, free: 10.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.3379, allocations: 131 kB / 0.528 GB, free: 10.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3379, allocations: 4 kB / 0.528 GB, free: 10.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.3382, allocations: 11.97 kB / 0.528 GB, free: 10.48 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 (0): * Single equations (assignments): 0 * 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.000725/0.3389, allocations: 0.897 MB / 0.5288 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.339, allocations: 78.02 kB / 0.5289 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3391, allocations: 0.9688 kB / 0.5289 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.3391, allocations: 0 / 0.5289 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3394, allocations: 461.4 kB / 0.5294 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.3411, allocations: 1.895 MB / 0.5312 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.3414, allocations: 0.7057 MB / 0.5319 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.3416, allocations: 50.3 kB / 0.5319 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.3417, allocations: 24.55 kB / 0.532 GB, free: 6.652 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3417, allocations: 1.781 kB / 0.532 GB, free: 6.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.3618, allocations: 2.112 MB / 0.534 GB, free: 5.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.187, allocations: 12.7 kB / 0.534 GB, free: 5.988 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches