Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 179 kB / 18.09 MB, free: 3.75 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.23/1.23, allocations: 223.3 MB / 242.1 MB, free: 11.73 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.0007562/0.0007562, allocations: 98.91 kB / 293.3 MB, free: 10.8 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.2807/0.2807, allocations: 44.15 MB / 388.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 12 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2573, allocations: 61.89 MB / 0.5107 GB, free: 38.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09977/0.3571, allocations: 89.02 MB / 0.5977 GB, free: 6.062 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.3574, allocations: 79.89 kB / 0.5977 GB, free: 5.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01186/0.3693, allocations: 4.696 MB / 0.6023 GB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3693, allocations: 0 / 0.6023 GB, free: 1.285 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3693, allocations: 4 kB / 0.6023 GB, free: 1.281 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.000487/0.3698, allocations: 423 kB / 0.6027 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3699, allocations: 8.031 kB / 0.6027 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.3699, allocations: 8.844 kB / 0.6027 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.3701, allocations: 204.1 kB / 0.6029 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3702, allocations: 12.31 kB / 0.603 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.3702, allocations: 8.312 kB / 0.603 GB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3704, allocations: 70.17 kB / 0.603 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3704, allocations: 192 / 0.603 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3704, allocations: 7.938 kB / 0.603 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3704, allocations: 0 / 0.603 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.3706, allocations: 51.95 kB / 0.6031 GB, free: 420 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.3711, allocations: 340.6 kB / 0.6034 GB, free: 28 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3713, allocations: 62.55 kB / 0.6035 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.761e-05/0.3714, allocations: 32.97 kB / 0.6035 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3715, allocations: 4.094 kB / 0.6035 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.3715, allocations: 38.5 kB / 0.6035 GB, free: 15.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.3715, allocations: 0 / 0.6035 GB, free: 15.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001415/0.3729, allocations: 494.1 kB / 0.604 GB, free: 15.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.373, allocations: 51.41 kB / 0.6041 GB, free: 15.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.3731, allocations: 192.1 kB / 0.6042 GB, free: 15.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3732, allocations: 29.7 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.3732, allocations: 104.1 kB / 0.6044 GB, free: 14.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.3733, allocations: 35.45 kB / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.3733, allocations: 4 kB / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3734, allocations: 322.8 kB / 0.6047 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3735, allocations: 63.95 kB / 0.6048 GB, free: 14.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3737, allocations: 63.91 kB / 0.6048 GB, free: 14.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.374, allocations: 145 kB / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.374, allocations: 0 / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003323/0.3743, allocations: 181.5 kB / 0.6052 GB, free: 14.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3743, allocations: 4 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3743, allocations: 4.5 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3744, allocations: 0 / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3745, allocations: 35.98 kB / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.3745, allocations: 0 / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.3746, allocations: 23.83 kB / 0.6052 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3746, allocations: 7.938 kB / 0.6052 GB, free: 14.09 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.0001062/0.3747, allocations: 130.4 kB / 0.6053 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3748, allocations: 15.91 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.3752, allocations: 194.3 kB / 0.6055 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3752, allocations: 7.984 kB / 0.6056 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3752, allocations: 0 / 0.6056 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3752, allocations: 7.938 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/0.3759, allocations: 0.5233 MB / 0.6061 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3759, allocations: 0 / 0.6061 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.376, allocations: 35.86 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.376, allocations: 3.938 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.376, allocations: 8.062 kB / 0.6061 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.376, allocations: 0 / 0.6061 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.376, allocations: 3.984 kB / 0.6061 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.3764, allocations: 285.1 kB / 0.6064 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.3765, allocations: 100.8 kB / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3765, allocations: 4 kB / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.3766, allocations: 15.98 kB / 0.6065 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.3767, allocations: 15.98 kB / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.3767, allocations: 0 / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3768, allocations: 144.9 kB / 0.6067 GB, free: 12.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3768, allocations: 0 / 0.6067 GB, free: 12.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.3771, allocations: 39.92 kB / 0.6067 GB, free: 12.46 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.000913/0.378, allocations: 464 kB / 0.6071 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.3784, allocations: 139.9 kB / 0.6073 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3784, allocations: 0 / 0.6073 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.3785, allocations: 83.83 kB / 0.6074 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3789, allocations: 24.05 kB / 0.6074 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.3794, allocations: 326.4 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.3797, allocations: 0.7199 MB / 0.6084 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.3798, allocations: 32.52 kB / 0.6084 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.3799, allocations: 23.44 kB / 0.6085 GB, free: 10.79 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3799, allocations: 0 / 0.6085 GB, free: 10.79 MB / 426.7 MB Notification: Performance of Templates: time 0.003734/0.3836, allocations: 1.582 MB / 0.61 GB, free: 9.219 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches