Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 178.7 kB / 18.09 MB, free: 3.742 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.219/1.219, allocations: 223.3 MB / 242.1 MB, free: 11.66 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.000741/0.0007411, allocations: 95.38 kB / 293.3 MB, free: 10.75 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.282/0.282, allocations: 44.14 MB / 388.5 MB, free: 39.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 16 kB / 461.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2615, allocations: 61.87 MB / 0.5107 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.3651, allocations: 89.03 MB / 0.5977 GB, free: 6.051 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.3654, allocations: 79.94 kB / 0.5977 GB, free: 5.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01132/0.3767, allocations: 4.645 MB / 0.6023 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.847e-05/0.3768, allocations: 0 / 0.6023 GB, free: 1.324 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.3768, allocations: 4 kB / 0.6023 GB, free: 1.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004372/0.3773, allocations: 418.9 kB / 0.6027 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3773, allocations: 8.031 kB / 0.6027 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3773, allocations: 12.84 kB / 0.6027 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.3776, allocations: 212.1 kB / 0.6029 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3776, allocations: 8.312 kB / 0.6029 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3776, allocations: 12.38 kB / 0.6029 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3778, allocations: 70.16 kB / 0.603 GB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3778, allocations: 4.188 kB / 0.603 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3778, allocations: 3.938 kB / 0.603 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3778, allocations: 0 / 0.603 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.378, allocations: 51.97 kB / 0.6031 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.3784, allocations: 336.6 kB / 0.6034 GB, free: 64 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3786, allocations: 62.62 kB / 0.6034 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.4e-05/0.3787, allocations: 32.95 kB / 0.6035 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3787, allocations: 4.031 kB / 0.6035 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3787, allocations: 34.56 kB / 0.6035 GB, free: 15.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.815e-06/0.3787, allocations: 4 kB / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001344/0.3801, allocations: 490.1 kB / 0.604 GB, free: 15.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3801, allocations: 59.41 kB / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3803, allocations: 192.1 kB / 0.6042 GB, free: 15.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3804, allocations: 29.7 kB / 0.6042 GB, free: 15.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.3804, allocations: 104.1 kB / 0.6043 GB, free: 15.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.3804, allocations: 39.36 kB / 0.6044 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.3805, allocations: 4 kB / 0.6044 GB, free: 14.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3806, allocations: 318.8 kB / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3807, allocations: 63.95 kB / 0.6047 GB, free: 14.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3809, allocations: 59.95 kB / 0.6048 GB, free: 14.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3811, allocations: 148.7 kB / 0.6049 GB, free: 14.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3811, allocations: 0 / 0.6049 GB, free: 14.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003195/0.3815, allocations: 181.7 kB / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3815, allocations: 5.875 kB / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3815, allocations: 0 / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3815, allocations: 7.984 kB / 0.6051 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3816, allocations: 31.98 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.3816, allocations: 0 / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.3817, allocations: 27.77 kB / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3817, allocations: 4.562 kB / 0.6052 GB, free: 14.12 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 (11): * Single equations (assignments): 11 * 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 9.489e-05/0.3818, allocations: 130.4 kB / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.3819, allocations: 7.906 kB / 0.6053 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.3823, allocations: 194.3 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3823, allocations: 7.938 kB / 0.6055 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3823, allocations: 4 kB / 0.6055 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3823, allocations: 3.938 kB / 0.6055 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.383, allocations: 0.5233 MB / 0.606 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.383, allocations: 0 / 0.606 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-05/0.3831, allocations: 39.86 kB / 0.6061 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3831, allocations: 4 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3831, allocations: 3.984 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3831, allocations: 4.062 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3831, allocations: 4 kB / 0.6061 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.3835, allocations: 281 kB / 0.6064 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.3835, allocations: 104.8 kB / 0.6065 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.3836, allocations: 0 / 0.6065 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.3837, allocations: 15.98 kB / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.3837, allocations: 19.92 kB / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3837, allocations: 4 kB / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.3838, allocations: 140.9 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3838, allocations: 4 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.3841, allocations: 31.94 kB / 0.6067 GB, free: 12.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009347/0.385, allocations: 463.3 kB / 0.6071 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.3854, allocations: 147.8 kB / 0.6073 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3854, allocations: 3.938 kB / 0.6073 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.3855, allocations: 79.83 kB / 0.6073 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3858, allocations: 26.69 kB / 0.6074 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.3863, allocations: 318.5 kB / 0.6077 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.3866, allocations: 0.7238 MB / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.502e-05/0.3867, allocations: 28.53 kB / 0.6084 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.3867, allocations: 19.42 kB / 0.6084 GB, free: 10.83 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3867, allocations: 4 kB / 0.6084 GB, free: 10.83 MB / 426.7 MB Notification: Performance of Templates: time 0.003611/0.3903, allocations: 1.578 MB / 0.61 GB, free: 9.262 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches