Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008624/0.0008622, allocations: 87.69 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1813/0.1813, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.708e-05, allocations: 4 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.4515, allocations: 91.12 MB / 0.5907 GB, free: 14.19 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4518, allocations: 75.95 kB / 0.5908 GB, free: 14.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02355/0.4754, allocations: 9.726 MB / 0.6003 GB, free: 4.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4754, allocations: 224 / 0.6003 GB, free: 4.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.4755, allocations: 11.94 kB / 0.6003 GB, free: 4.375 MB / 410.7 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.0005275/0.476, allocations: 0.5677 MB / 0.6008 GB, free: 3.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.476, allocations: 8.031 kB / 0.6008 GB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.4761, allocations: 43.44 kB / 0.6009 GB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.4766, allocations: 349.1 kB / 0.6012 GB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4766, allocations: 8 kB / 0.6012 GB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.4766, allocations: 16 kB / 0.6012 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.4768, allocations: 113.6 kB / 0.6013 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4769, allocations: 0 / 0.6013 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4769, allocations: 0 / 0.6013 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4769, allocations: 11.92 kB / 0.6014 GB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.477, allocations: 75.97 kB / 0.6014 GB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.4777, allocations: 0.5354 MB / 0.6019 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.4778, allocations: 98.53 kB / 0.602 GB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.4779, allocations: 36.8 kB / 0.6021 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.4779, allocations: 7.953 kB / 0.6021 GB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.478, allocations: 30.56 kB / 0.6021 GB, free: 2.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.174e-06/0.478, allocations: 4 kB / 0.6021 GB, free: 2.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006814/0.4787, allocations: 380 kB / 0.6025 GB, free: 1.941 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.4787, allocations: 59.39 kB / 0.6025 GB, free: 1.871 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.4792, allocations: 491.1 kB / 0.603 GB, free: 1.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4792, allocations: 29.7 kB / 0.603 GB, free: 1.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.4794, allocations: 204.3 kB / 0.6032 GB, free: 1.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.4794, allocations: 51.2 kB / 0.6033 GB, free: 1.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.4794, allocations: 8 kB / 0.6033 GB, free: 1.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4796, allocations: 358.8 kB / 0.6036 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/0.4796, allocations: 55.98 kB / 0.6037 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.4797, allocations: 57.3 kB / 0.6037 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.4798, allocations: 61.53 kB / 0.6038 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4798, allocations: 3.953 kB / 0.6038 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002566/0.4801, allocations: 209 kB / 0.604 GB, free: 352 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4801, allocations: 8 kB / 0.604 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4801, allocations: 0 / 0.604 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.4801, allocations: 0 / 0.604 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.4803, allocations: 43.91 kB / 0.604 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4803, allocations: 0 / 0.604 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.4804, allocations: 12 kB / 0.6041 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.4804, allocations: 4 kB / 0.6041 GB, free: 284 kB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.175e-05/0.4805, allocations: 119 kB / 0.6042 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.4805, allocations: 43.48 kB / 0.6042 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.4809, allocations: 266.1 kB / 0.6045 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.481, allocations: 0 / 0.6045 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.481, allocations: 0 / 0.6045 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.481, allocations: 0 / 0.6045 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007632/0.4817, allocations: 0.71 MB / 0.6052 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4818, allocations: 0 / 0.6052 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.4819, allocations: 43.92 kB / 0.6052 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4819, allocations: 0 / 0.6052 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4819, allocations: 4 kB / 0.6052 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4819, allocations: 3.984 kB / 0.6052 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4819, allocations: 4 kB / 0.6052 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.4822, allocations: 316 kB / 0.6055 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4823, allocations: 140.6 kB / 0.6057 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.4824, allocations: 12 kB / 0.6057 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4825, allocations: 11.94 kB / 0.6057 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.4826, allocations: 15.97 kB / 0.6057 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.4826, allocations: 4 kB / 0.6057 GB, free: 14.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003932/0.483, allocations: 397.2 kB / 0.6061 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.483, allocations: 0 / 0.6061 GB, free: 14.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002937/0.4833, allocations: 75.92 kB / 0.6061 GB, free: 14.04 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/0.4846, allocations: 0.6274 MB / 0.6068 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.4848, allocations: 147.9 kB / 0.6069 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4848, allocations: 0 / 0.6069 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.813e-05/0.4849, allocations: 75.92 kB / 0.607 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.4853, allocations: 75.25 kB / 0.607 GB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007721/0.4861, allocations: 0.5443 MB / 0.6076 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.4864, allocations: 0.826 MB / 0.6084 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.4866, allocations: 73.95 kB / 0.6085 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.4866, allocations: 31.42 kB / 0.6085 GB, free: 11.79 MB / 426.7 MB Notification: Performance of SimCode: time 2.495e-06/0.4866, allocations: 4 kB / 0.6085 GB, free: 11.79 MB / 426.7 MB Notification: Performance of Templates: time 0.006226/0.4929, allocations: 3.641 MB / 0.612 GB, free: 8.156 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches