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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001591/0.001591, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.469/1.469, 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.2394/0.2394, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 55.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4744, allocations: 60.82 MB / 0.5189 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003886/0.4783, allocations: 1.962 MB / 0.5208 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.4803, allocations: 0.8533 MB / 0.5217 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.4805, allocations: 2.125 kB / 0.5217 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000806/0.4814, allocations: 251.1 kB / 0.5219 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.482, allocations: 193.5 kB / 0.5221 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.4837, allocations: 488.1 kB / 0.5226 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006944/0.4844, allocations: 284.7 kB / 0.5228 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.4847, allocations: 62.2 kB / 0.5229 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.485, allocations: 129.4 kB / 0.523 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.4854, allocations: 193.3 kB / 0.5232 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.4854, allocations: 9.656 kB / 0.5232 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.4857, allocations: 108.1 kB / 0.5233 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.4859, allocations: 82.08 kB / 0.5234 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.486, allocations: 109.7 kB / 0.5235 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.4865, allocations: 304.6 kB / 0.5238 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4865, allocations: 3.938 kB / 0.5238 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.4865, allocations: 0 / 0.5238 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.4865, allocations: 4 kB / 0.5238 GB, free: 1.035 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.0008148/0.4874, allocations: 0.6266 MB / 0.5244 GB, free: 496 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4874, allocations: 8.625 kB / 0.5244 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/0.4875, allocations: 36.59 kB / 0.5244 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.4879, allocations: 299.5 kB / 0.5247 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.4879, allocations: 8.5 kB / 0.5247 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.4879, allocations: 12.05 kB / 0.5247 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.4882, allocations: 114.2 kB / 0.5249 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.4882, allocations: 5.375 kB / 0.5249 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.4882, allocations: 4 kB / 0.5249 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4883, allocations: 3.547 kB / 0.5249 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.4884, allocations: 71.39 kB / 0.5249 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009713/0.4894, allocations: 481 kB / 0.5254 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.4897, allocations: 95.91 kB / 0.5255 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.4898, allocations: 38.2 kB / 0.5255 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.4898, allocations: 2.656 kB / 0.5255 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.4899, allocations: 32.16 kB / 0.5256 GB, free: 15.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.4899, allocations: 0 / 0.5256 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001295/0.4912, allocations: 377.9 kB / 0.5259 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.4913, allocations: 56.88 kB / 0.526 GB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007447/0.492, allocations: 0.5175 MB / 0.5265 GB, free: 15.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.4921, allocations: 34.83 kB / 0.5265 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.4922, allocations: 192.4 kB / 0.5267 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.4923, allocations: 58.14 kB / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.4924, allocations: 33.95 kB / 0.5268 GB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4926, allocations: 353.7 kB / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.4928, allocations: 50.09 kB / 0.5272 GB, free: 14.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.4929, allocations: 55.41 kB / 0.5272 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.4931, allocations: 119.7 kB / 0.5273 GB, free: 14.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4932, allocations: 5.312 kB / 0.5273 GB, free: 14.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003691/0.4935, allocations: 189.5 kB / 0.5275 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4936, allocations: 6.438 kB / 0.5275 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4936, allocations: 1.188 kB / 0.5275 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.4936, allocations: 5.094 kB / 0.5275 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.4938, allocations: 38.67 kB / 0.5276 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.4938, allocations: 5.516 kB / 0.5276 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.4939, allocations: 6.703 kB / 0.5276 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.4939, allocations: 4.188 kB / 0.5276 GB, free: 14.21 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.0002195/0.4941, allocations: 175.6 kB / 0.5278 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.4942, allocations: 36.69 kB / 0.5278 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.4948, allocations: 242.3 kB / 0.528 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4948, allocations: 1.531 kB / 0.528 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4948, allocations: 1.312 kB / 0.528 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4948, allocations: 0 / 0.528 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009622/0.4958, allocations: 0.6058 MB / 0.5286 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4958, allocations: 0 / 0.5286 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.4959, allocations: 38.95 kB / 0.5286 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.4959, allocations: 1.219 kB / 0.5287 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.496, allocations: 5.297 kB / 0.5287 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.496, allocations: 1.094 kB / 0.5287 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.496, allocations: 3.938 kB / 0.5287 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.4965, allocations: 292.2 kB / 0.5289 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.4966, allocations: 103.8 kB / 0.529 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.4966, allocations: 5.281 kB / 0.529 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.4967, allocations: 12.05 kB / 0.5291 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.4968, allocations: 13.42 kB / 0.5291 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4968, allocations: 8.281 kB / 0.5291 GB, free: 13.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005762/0.4974, allocations: 389.3 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4974, allocations: 0 / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.4978, allocations: 45.61 kB / 0.5295 GB, free: 12.82 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.00202/0.4998, allocations: 0.7009 MB / 0.5302 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.5002, allocations: 125.1 kB / 0.5303 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5002, allocations: 0 / 0.5303 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.5004, allocations: 76.47 kB / 0.5304 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.5009, allocations: 73.17 kB / 0.5304 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.5021, allocations: 0.6704 MB / 0.5311 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.5027, allocations: 0.7998 MB / 0.5319 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.5028, allocations: 39.34 kB / 0.5319 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.5029, allocations: 32.55 kB / 0.5319 GB, free: 11.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5029, allocations: 0 / 0.5319 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Templates: time 0.007864/0.5108, allocations: 3.16 MB / 0.535 GB, free: 9.617 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/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