Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 106.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.001307/0.001307, allocations: 187.9 kB / 18.7 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.465/1.465, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2223/0.2223, allocations: 44.18 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4791, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003165/0.4824, allocations: 1.644 MB / 0.5205 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008278/0.4832, allocations: 453 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.4833, allocations: 1.094 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007576/0.4841, allocations: 451 kB / 0.5214 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.4847, allocations: 257.3 kB / 0.5216 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.4852, allocations: 175 kB / 0.5218 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.4856, allocations: 168.3 kB / 0.522 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.4857, allocations: 18.22 kB / 0.522 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.4859, allocations: 116.1 kB / 0.5221 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003333/0.4863, allocations: 216.4 kB / 0.5223 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.4863, allocations: 1.781 kB / 0.5223 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.4864, allocations: 47.8 kB / 0.5223 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.4866, allocations: 82.83 kB / 0.5224 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.735e-05/0.4867, allocations: 105 kB / 0.5225 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.4871, allocations: 270 kB / 0.5228 GB, free: 1.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4871, allocations: 0 / 0.5228 GB, free: 1.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4871, allocations: 1.031 kB / 0.5228 GB, free: 1.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.4871, allocations: 7.938 kB / 0.5228 GB, free: 1.707 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008419/0.488, allocations: 0.6389 MB / 0.5234 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.488, allocations: 10.27 kB / 0.5234 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.264e-05/0.4881, allocations: 42.09 kB / 0.5235 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.4885, allocations: 294.8 kB / 0.5237 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.4885, allocations: 2.844 kB / 0.5238 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.4885, allocations: 11.8 kB / 0.5238 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.4888, allocations: 64.78 kB / 0.5238 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4888, allocations: 5.156 kB / 0.5238 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.4888, allocations: 0 / 0.5238 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4888, allocations: 1.25 kB / 0.5238 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.489, allocations: 34.48 kB / 0.5239 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.4897, allocations: 408.4 kB / 0.5243 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.4898, allocations: 41.59 kB / 0.5243 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.4899, allocations: 24.72 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.4899, allocations: 0 / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.4899, allocations: 36.84 kB / 0.5244 GB, free: 372 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4899, allocations: 0 / 0.5244 GB, free: 372 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001067/0.491, allocations: 312.8 kB / 0.5246 GB, free: 228 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.4911, allocations: 61.44 kB / 0.5247 GB, free: 156 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.4921, allocations: 0.8565 MB / 0.5255 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4921, allocations: 25.7 kB / 0.5256 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.4923, allocations: 225.4 kB / 0.5258 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.4924, allocations: 23.41 kB / 0.5258 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.4924, allocations: 23.02 kB / 0.5258 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4926, allocations: 364.4 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.4927, allocations: 33.78 kB / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.4928, allocations: 28.64 kB / 0.5262 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.493, allocations: 82.09 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.493, allocations: 0 / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002753/0.4933, allocations: 150.8 kB / 0.5265 GB, free: 15.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4933, allocations: 5.844 kB / 0.5265 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4933, allocations: 0 / 0.5265 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4933, allocations: 1.594 kB / 0.5265 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4934, allocations: 17.3 kB / 0.5265 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4934, allocations: 4.969 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.4935, allocations: 11.28 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.4935, allocations: 5.859 kB / 0.5265 GB, free: 14.99 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 (8): * Single equations (assignments): 8 * 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.0002186/0.4938, allocations: 218.7 kB / 0.5267 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.4938, allocations: 43.16 kB / 0.5268 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.4942, allocations: 169.3 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.4942, allocations: 5.219 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.4942, allocations: 3.938 kB / 0.5269 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.4942, allocations: 1.125 kB / 0.5269 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.495, allocations: 0.5132 MB / 0.5274 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.495, allocations: 4.844 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.4951, allocations: 18.77 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4951, allocations: 0 / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4951, allocations: 3 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.4951, allocations: 3.938 kB / 0.5275 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4951, allocations: 1.562 kB / 0.5275 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.4954, allocations: 249.8 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.4955, allocations: 114.2 kB / 0.5278 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.4956, allocations: 5.25 kB / 0.5278 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.4957, allocations: 4.469 kB / 0.5278 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.4957, allocations: 6.391 kB / 0.5278 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.4957, allocations: 2.688 kB / 0.5278 GB, free: 13.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007605/0.4965, allocations: 0.6549 MB / 0.5285 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4965, allocations: 0 / 0.5285 GB, free: 13.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.4968, allocations: 31.19 kB / 0.5285 GB, free: 13.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001206/0.498, allocations: 462 kB / 0.5289 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.4983, allocations: 76.25 kB / 0.529 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4983, allocations: 1.125 kB / 0.529 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.4984, allocations: 48.25 kB / 0.529 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.4989, allocations: 39.62 kB / 0.5291 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.5002, allocations: 0.818 MB / 0.5299 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.5007, allocations: 0.8355 MB / 0.5307 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.525e-05/0.5008, allocations: 21.38 kB / 0.5307 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.5008, allocations: 13.28 kB / 0.5307 GB, free: 12.05 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5009, allocations: 0 / 0.5307 GB, free: 12.05 MB / 398.1 MB Notification: Performance of Templates: time 0.006263/0.5071, allocations: 1.752 MB / 0.5324 GB, free: 11.18 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches