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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 177 kB / 17.06 MB, free: 5.094 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.304/1.304, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007276/0.0007276, allocations: 93.28 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3143/0.3143, allocations: 44.21 MB / 387.5 MB, free: 38.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 12 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3397, allocations: 61.9 MB / 0.5096 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.4578, allocations: 90.75 MB / 0.5982 GB, free: 4.387 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.4581, allocations: 75.92 kB / 0.5983 GB, free: 4.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02365/0.4818, allocations: 9.525 MB / 0.6076 GB, free: 10.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.4819, allocations: 0 / 0.6076 GB, free: 10.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.4819, allocations: 8 kB / 0.6076 GB, free: 10.77 MB / 426.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.0008047/0.4827, allocations: 0.6381 MB / 0.6082 GB, free: 10.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4828, allocations: 8.031 kB / 0.6082 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.4828, allocations: 39.53 kB / 0.6082 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.4833, allocations: 341.1 kB / 0.6086 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4834, allocations: 8 kB / 0.6086 GB, free: 9.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.4834, allocations: 15.91 kB / 0.6086 GB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.4837, allocations: 102.7 kB / 0.6087 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4837, allocations: 3.984 kB / 0.6087 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4837, allocations: 7.938 kB / 0.6087 GB, free: 9.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4837, allocations: 7.938 kB / 0.6087 GB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.4839, allocations: 71.95 kB / 0.6088 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.4845, allocations: 0.5041 MB / 0.6093 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.4847, allocations: 94.48 kB / 0.6094 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.4847, allocations: 0 / 0.6094 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4848, allocations: 38.52 kB / 0.6094 GB, free: 8.742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.4848, allocations: 0 / 0.6094 GB, free: 8.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008677/0.4856, allocations: 401.6 kB / 0.6098 GB, free: 8.344 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.4857, allocations: 55.34 kB / 0.6098 GB, free: 8.277 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.4862, allocations: 497 kB / 0.6103 GB, free: 7.777 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4863, allocations: 29.7 kB / 0.6103 GB, free: 7.742 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.4864, allocations: 208.3 kB / 0.6105 GB, free: 7.535 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.4865, allocations: 47.27 kB / 0.6106 GB, free: 7.488 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.4865, allocations: 0 / 0.6106 GB, free: 7.488 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4866, allocations: 350.8 kB / 0.6109 GB, free: 7.137 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.4867, allocations: 55.97 kB / 0.611 GB, free: 7.082 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.621e-05/0.4868, allocations: 55.88 kB / 0.611 GB, free: 7.027 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.4869, allocations: 65.55 kB / 0.6111 GB, free: 6.965 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.487, allocations: 0 / 0.6111 GB, free: 6.965 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003129/0.4873, allocations: 201 kB / 0.6113 GB, free: 6.762 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4873, allocations: 4 kB / 0.6113 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.4873, allocations: 3.984 kB / 0.6113 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4873, allocations: 0 / 0.6113 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.4875, allocations: 43.92 kB / 0.6113 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4875, allocations: 0 / 0.6113 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.4876, allocations: 11.94 kB / 0.6113 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.4876, allocations: 7.984 kB / 0.6113 GB, free: 6.691 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.4878, allocations: 174.3 kB / 0.6115 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.4879, allocations: 47.48 kB / 0.6115 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/0.4883, allocations: 239 kB / 0.6118 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4883, allocations: 4 kB / 0.6118 GB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4884, allocations: 4 kB / 0.6118 GB, free: 6.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4884, allocations: 3.984 kB / 0.6118 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008784/0.4892, allocations: 0.6863 MB / 0.6125 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4893, allocations: 0 / 0.6125 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.4894, allocations: 35.98 kB / 0.6125 GB, free: 5.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4894, allocations: 7.875 kB / 0.6125 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.4894, allocations: 0 / 0.6125 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4894, allocations: 7.938 kB / 0.6125 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4894, allocations: 0 / 0.6125 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.4898, allocations: 309.4 kB / 0.6128 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.49, allocations: 140.6 kB / 0.6129 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.49, allocations: 8 kB / 0.6129 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4901, allocations: 11.98 kB / 0.613 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.4902, allocations: 11.98 kB / 0.613 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.4902, allocations: 4 kB / 0.613 GB, free: 4.914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004204/0.4906, allocations: 403.1 kB / 0.6134 GB, free: 4.523 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4906, allocations: 0 / 0.6134 GB, free: 4.523 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.491, allocations: 67.92 kB / 0.6134 GB, free: 4.457 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 () * 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 (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.00162/0.4926, allocations: 0.7196 MB / 0.6141 GB, free: 4.055 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.4929, allocations: 143.8 kB / 0.6143 GB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4929, allocations: 0 / 0.6143 GB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.4931, allocations: 79.91 kB / 0.6143 GB, free: 3.836 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.4935, allocations: 64.16 kB / 0.6144 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.4945, allocations: 0.7322 MB / 0.6151 GB, free: 3.012 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.4949, allocations: 0.8106 MB / 0.6159 GB, free: 2.176 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.4951, allocations: 65.83 kB / 0.616 GB, free: 2.113 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.731e-05/0.4952, allocations: 35.42 kB / 0.616 GB, free: 2.078 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4952, allocations: 0 / 0.616 GB, free: 2.078 MB / 426.7 MB Notification: Performance of Templates: time 0.006787/0.502, allocations: 3.53 MB / 0.6194 GB, free: 14.57 MB / 442.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches