Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001186, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001264/0.001263, allocations: 183.1 kB / 18.71 MB, free: 4.348 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.485/1.485, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.227/0.227, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 71.88 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4818, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003213/0.485, allocations: 1.579 MB / 0.5205 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.4859, allocations: 406.4 kB / 0.5208 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.486, allocations: 1.125 kB / 0.5208 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008597/0.4869, allocations: 449.6 kB / 0.5213 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.4874, allocations: 254 kB / 0.5215 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.488, allocations: 128.6 kB / 0.5216 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.4883, allocations: 147.1 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.4885, allocations: 12.52 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.4887, allocations: 113.5 kB / 0.5219 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.489, allocations: 201.2 kB / 0.5221 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.489, allocations: 2.094 kB / 0.5221 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.4891, allocations: 24.19 kB / 0.5221 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.4893, allocations: 81.5 kB / 0.5222 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.4893, allocations: 97.08 kB / 0.5223 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.4897, allocations: 237.5 kB / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4897, allocations: 0 / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4897, allocations: 10.44 kB / 0.5225 GB, free: 1.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4898, allocations: 0 / 0.5225 GB, free: 1.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007749/0.4905, allocations: 0.619 MB / 0.5231 GB, free: 1.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.4906, allocations: 9.25 kB / 0.5231 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.213e-05/0.4907, allocations: 39.77 kB / 0.5232 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.491, allocations: 292.3 kB / 0.5235 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.491, allocations: 4.375 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.4911, allocations: 3 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.4912, allocations: 55.28 kB / 0.5235 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4913, allocations: 3.938 kB / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.4913, allocations: 1.062 kB / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4913, allocations: 0 / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4914, allocations: 21.34 kB / 0.5235 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.492, allocations: 374.2 kB / 0.5239 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.4922, allocations: 33.19 kB / 0.5239 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.4922, allocations: 16.73 kB / 0.5239 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.4923, allocations: 1.891 kB / 0.5239 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.4923, allocations: 39.91 kB / 0.524 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.565e-06/0.4923, allocations: 0 / 0.524 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003248/0.4926, allocations: 91.03 kB / 0.5241 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4927, allocations: 56.81 kB / 0.5241 GB, free: 428 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009375/0.4936, allocations: 0.8537 MB / 0.525 GB, free: 104 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.4937, allocations: 29.7 kB / 0.525 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.4939, allocations: 217.9 kB / 0.5252 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.4939, allocations: 9.828 kB / 0.5252 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.494, allocations: 17.2 kB / 0.5252 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.4942, allocations: 364.5 kB / 0.5256 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.4943, allocations: 7.562 kB / 0.5256 GB, free: 15.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.4943, allocations: 11.61 kB / 0.5256 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.494e-05/0.4944, allocations: 23.28 kB / 0.5256 GB, free: 15.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4944, allocations: 0 / 0.5256 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001665/0.4946, allocations: 93.2 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4946, allocations: 6.109 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4946, allocations: 0 / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4946, allocations: 0 / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.4947, allocations: 11 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4947, allocations: 3.938 kB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.4948, allocations: 2.688 kB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.4948, allocations: 1.375 kB / 0.5257 GB, free: 15.44 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 (2): * Single equations (assignments): 2 * 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.0002147/0.495, allocations: 217.8 kB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.4951, allocations: 37.41 kB / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.4953, allocations: 105.8 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4953, allocations: 5.125 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4953, allocations: 0 / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4953, allocations: 1 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.4957, allocations: 289 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4957, allocations: 1.5 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.4958, allocations: 3.594 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4958, allocations: 0 / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.4958, allocations: 0.8438 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4958, allocations: 1.406 kB / 0.5264 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4958, allocations: 7.875 kB / 0.5264 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.496, allocations: 191.1 kB / 0.5265 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/0.4961, allocations: 105.5 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.4961, allocations: 1.281 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.4962, allocations: 1.281 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.4963, allocations: 5.109 kB / 0.5266 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.4963, allocations: 1.25 kB / 0.5266 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007239/0.497, allocations: 0.6463 MB / 0.5273 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.497, allocations: 4.031 kB / 0.5273 GB, free: 14.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.4973, allocations: 18.03 kB / 0.5273 GB, free: 14.31 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 (2): * Single equations (assignments): 2 * 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.0008356/0.4982, allocations: 344.8 kB / 0.5276 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.4983, allocations: 25.8 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4983, allocations: 0 / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.4984, allocations: 11.53 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.4987, allocations: 27.64 kB / 0.5277 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.5, allocations: 0.7516 MB / 0.5284 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.5005, allocations: 0.8205 MB / 0.5292 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.193e-05/0.5005, allocations: 10.73 kB / 0.5292 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.5006, allocations: 15.39 kB / 0.5293 GB, free: 12.93 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5006, allocations: 0 / 0.5293 GB, free: 12.93 MB / 398.1 MB Notification: Performance of Templates: time 0.005042/0.5056, allocations: 1.277 MB / 0.5305 GB, free: 12.29 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches