Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 187 kB / 18.09 MB, free: 3.723 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.352/1.352, allocations: 223.3 MB / 242.1 MB, free: 9.969 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.0007743/0.000774, allocations: 100.2 kB / 293.3 MB, free: 10.57 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.2823/0.2823, allocations: 44.14 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 16 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2913, allocations: 61.87 MB / 0.5107 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.401, allocations: 89.03 MB / 0.5977 GB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4013, allocations: 79.94 kB / 0.5977 GB, free: 5.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01243/0.4137, allocations: 4.826 MB / 0.6025 GB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4138, allocations: 0 / 0.6025 GB, free: 1.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4138, allocations: 0 / 0.6025 GB, free: 1.133 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.0004775/0.4143, allocations: 430.9 kB / 0.6029 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4143, allocations: 12.03 kB / 0.6029 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.4144, allocations: 12.75 kB / 0.6029 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.4146, allocations: 217.5 kB / 0.6031 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.4146, allocations: 4.312 kB / 0.6031 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.4147, allocations: 8.375 kB / 0.6031 GB, free: 380 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.4149, allocations: 66.17 kB / 0.6032 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.4149, allocations: 4.188 kB / 0.6032 GB, free: 304 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4149, allocations: 7.938 kB / 0.6032 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4149, allocations: 0 / 0.6032 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.4151, allocations: 51.95 kB / 0.6032 GB, free: 244 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.4156, allocations: 336.6 kB / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.4158, allocations: 62.55 kB / 0.6036 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.4159, allocations: 36.97 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.4159, allocations: 3.984 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.416, allocations: 34.56 kB / 0.6037 GB, free: 15.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.416, allocations: 3.938 kB / 0.6037 GB, free: 15.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001461/0.4174, allocations: 0.4903 MB / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.4175, allocations: 55.41 kB / 0.6042 GB, free: 15.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.4177, allocations: 212.5 kB / 0.6044 GB, free: 14.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.4177, allocations: 25.7 kB / 0.6044 GB, free: 14.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.4178, allocations: 116 kB / 0.6046 GB, free: 14.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.4178, allocations: 35.55 kB / 0.6046 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.4179, allocations: 4 kB / 0.6046 GB, free: 14.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.418, allocations: 322.8 kB / 0.6049 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.4181, allocations: 63.89 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4182, allocations: 67.95 kB / 0.605 GB, free: 14.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.4185, allocations: 136.8 kB / 0.6052 GB, free: 14.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4185, allocations: 0 / 0.6052 GB, free: 14.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000361/0.4189, allocations: 189.6 kB / 0.6053 GB, free: 13.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4189, allocations: 9.5 kB / 0.6053 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4189, allocations: 0 / 0.6053 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.419, allocations: 0 / 0.6053 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4191, allocations: 31.97 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4191, allocations: 4 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.4192, allocations: 23.92 kB / 0.6054 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4192, allocations: 4 kB / 0.6054 GB, free: 13.88 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 0.0001038/0.4193, allocations: 134.3 kB / 0.6055 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.4193, allocations: 15.81 kB / 0.6056 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.4198, allocations: 199 kB / 0.6057 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4198, allocations: 0 / 0.6057 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4198, allocations: 4 kB / 0.6057 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4198, allocations: 3.938 kB / 0.6057 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.4205, allocations: 0.5195 MB / 0.6063 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4205, allocations: 0.5625 kB / 0.6063 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4206, allocations: 43.92 kB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4207, allocations: 0 / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4207, allocations: 8 kB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4207, allocations: 0 / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4207, allocations: 7.938 kB / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.4211, allocations: 281.1 kB / 0.6066 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.4212, allocations: 112.8 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.4212, allocations: 0 / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.4213, allocations: 15.98 kB / 0.6067 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.4213, allocations: 15.97 kB / 0.6067 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.4214, allocations: 4 kB / 0.6067 GB, free: 12.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.4215, allocations: 164.2 kB / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4215, allocations: 0 / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.4218, allocations: 43.92 kB / 0.6069 GB, free: 12.21 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.0009809/0.4228, allocations: 459.3 kB / 0.6074 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.4231, allocations: 143.9 kB / 0.6075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4232, allocations: 0 / 0.6075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.4233, allocations: 80.02 kB / 0.6076 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.4236, allocations: 26.72 kB / 0.6076 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.4242, allocations: 343.4 kB / 0.6079 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4246, allocations: 0.7238 MB / 0.6086 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.4247, allocations: 36.47 kB / 0.6087 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.4247, allocations: 15.44 kB / 0.6087 GB, free: 10.53 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4247, allocations: 0 / 0.6087 GB, free: 10.53 MB / 426.7 MB Notification: Performance of Templates: time 0.004513/0.4292, allocations: 1.643 MB / 0.6103 GB, free: 8.898 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches