Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001007/0.001007, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.321/1.321, allocations: 222.9 MB / 243.1 MB, free: 15.2 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.2217/0.2217, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4198, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003399/0.4233, allocations: 1.972 MB / 0.5215 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.4248, allocations: 0.8461 MB / 0.5223 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.425, allocations: 2.312 kB / 0.5223 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.4255, allocations: 249.6 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.4259, allocations: 193.6 kB / 0.5227 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.4271, allocations: 488.6 kB / 0.5232 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.4276, allocations: 280.2 kB / 0.5235 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.4278, allocations: 68.64 kB / 0.5235 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.4279, allocations: 131.2 kB / 0.5237 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.4282, allocations: 194 kB / 0.5239 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.4282, allocations: 8.656 kB / 0.5239 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.4284, allocations: 68.97 kB / 0.5239 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.4286, allocations: 92.11 kB / 0.524 GB, free: 1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.4287, allocations: 110 kB / 0.5241 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.4291, allocations: 291.8 kB / 0.5244 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4291, allocations: 0 / 0.5244 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4291, allocations: 3.938 kB / 0.5244 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4291, allocations: 1.781 kB / 0.5244 GB, free: 0.7812 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006214/0.4297, allocations: 0.6076 MB / 0.525 GB, free: 252 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4298, allocations: 11.72 kB / 0.525 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.4298, allocations: 39.69 kB / 0.525 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.4302, allocations: 303.5 kB / 0.5253 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4302, allocations: 9.344 kB / 0.5253 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.4302, allocations: 11.25 kB / 0.5254 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.4305, allocations: 114.4 kB / 0.5255 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4305, allocations: 1.375 kB / 0.5255 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.4305, allocations: 5.375 kB / 0.5255 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.4305, allocations: 6.734 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.4307, allocations: 70.44 kB / 0.5255 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.4314, allocations: 482.4 kB / 0.526 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.4316, allocations: 91.56 kB / 0.5261 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.4317, allocations: 34.2 kB / 0.5261 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.4317, allocations: 2.125 kB / 0.5261 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.4318, allocations: 36.17 kB / 0.5262 GB, free: 15.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.4318, allocations: 5.312 kB / 0.5262 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009461/0.4327, allocations: 375.9 kB / 0.5265 GB, free: 15.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.4328, allocations: 54.86 kB / 0.5266 GB, free: 15.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.4333, allocations: 0.5158 MB / 0.5271 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4334, allocations: 33.69 kB / 0.5271 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.4335, allocations: 189 kB / 0.5273 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.4336, allocations: 61.98 kB / 0.5274 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.4336, allocations: 32.72 kB / 0.5274 GB, free: 14.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4338, allocations: 349.8 kB / 0.5277 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.4339, allocations: 54.03 kB / 0.5278 GB, free: 14.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.434, allocations: 55.19 kB / 0.5278 GB, free: 14.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.4343, allocations: 117.3 kB / 0.5279 GB, free: 14.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4343, allocations: 7.938 kB / 0.5279 GB, free: 14.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003486/0.4346, allocations: 195.4 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4347, allocations: 5.531 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4347, allocations: 0 / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4347, allocations: 1.344 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.4348, allocations: 34.52 kB / 0.5282 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4349, allocations: 5.359 kB / 0.5282 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.4349, allocations: 8.188 kB / 0.5282 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.435, allocations: 11.84 kB / 0.5282 GB, free: 14.01 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.0001628/0.4351, allocations: 171.2 kB / 0.5284 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.68e-05/0.4352, allocations: 35.5 kB / 0.5284 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.4357, allocations: 243.3 kB / 0.5286 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.4357, allocations: 2.25 kB / 0.5286 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4357, allocations: 3.938 kB / 0.5286 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4357, allocations: 1.5 kB / 0.5286 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000799/0.4365, allocations: 0.6082 MB / 0.5292 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4365, allocations: 1.906 kB / 0.5292 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.4366, allocations: 29.2 kB / 0.5293 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4366, allocations: 1.25 kB / 0.5293 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.4366, allocations: 6.406 kB / 0.5293 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4367, allocations: 3.938 kB / 0.5293 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4367, allocations: 5.125 kB / 0.5293 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.437, allocations: 290.4 kB / 0.5295 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.4371, allocations: 99.95 kB / 0.5296 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.4372, allocations: 5.297 kB / 0.5296 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.4373, allocations: 7.438 kB / 0.5297 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.4373, allocations: 14.8 kB / 0.5297 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.4373, allocations: 4.344 kB / 0.5297 GB, free: 12.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004169/0.4377, allocations: 392.7 kB / 0.53 GB, free: 12.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4378, allocations: 4 kB / 0.53 GB, free: 12.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.4381, allocations: 49.62 kB / 0.5301 GB, free: 12.62 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.001603/0.4397, allocations: 0.6978 MB / 0.5308 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.44, allocations: 132 kB / 0.5309 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.44, allocations: 0 / 0.5309 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.4402, allocations: 76.53 kB / 0.531 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.4408, allocations: 77.2 kB / 0.531 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.4419, allocations: 0.6712 MB / 0.5317 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.4423, allocations: 0.7896 MB / 0.5325 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.606e-05/0.4424, allocations: 34.2 kB / 0.5325 GB, free: 11.01 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4424, allocations: 1.25 kB / 0.5325 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Templates: time 0.008755/0.4512, allocations: 4.275 MB / 0.5367 GB, free: 8.754 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches