Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008479/0.000848, allocations: 179 kB / 18.09 MB, free: 3.625 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.201/1.201, allocations: 223.3 MB / 242.1 MB, free: 9.941 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.0007787/0.0007788, allocations: 92.83 kB / 293.3 MB, free: 10.55 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.2805/0.2805, allocations: 44.14 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 12 kB / 461.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.263, allocations: 61.88 MB / 0.5107 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09728/0.3604, allocations: 89.02 MB / 0.5977 GB, free: 6.066 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.3606, allocations: 79.94 kB / 0.5977 GB, free: 5.992 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01154/0.3722, allocations: 4.731 MB / 0.6024 GB, free: 1.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3722, allocations: 4 kB / 0.6024 GB, free: 1.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.3722, allocations: 4 kB / 0.6024 GB, free: 1.246 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.0004265/0.3726, allocations: 422.9 kB / 0.6028 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3727, allocations: 12.03 kB / 0.6028 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.3727, allocations: 8.844 kB / 0.6028 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.373, allocations: 213.1 kB / 0.603 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.373, allocations: 384 / 0.603 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.373, allocations: 12.31 kB / 0.603 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.3732, allocations: 66.23 kB / 0.6031 GB, free: 444 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3732, allocations: 4.094 kB / 0.6031 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3732, allocations: 7.938 kB / 0.6031 GB, free: 432 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3732, allocations: 0 / 0.6031 GB, free: 432 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.3734, allocations: 59.89 kB / 0.6031 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.3738, allocations: 320.8 kB / 0.6034 GB, free: 0 / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.3741, allocations: 74.58 kB / 0.6035 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.676e-05/0.3742, allocations: 28.97 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3742, allocations: 3.984 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.3742, allocations: 30.56 kB / 0.6036 GB, free: 15.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 3.256e-06/0.3742, allocations: 3.984 kB / 0.6036 GB, free: 15.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001411/0.3757, allocations: 494.1 kB / 0.6041 GB, free: 15.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.3757, allocations: 59.39 kB / 0.6041 GB, free: 15.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3759, allocations: 191.9 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.376, allocations: 33.7 kB / 0.6043 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.376, allocations: 104 kB / 0.6044 GB, free: 14.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.376, allocations: 27.56 kB / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.3761, allocations: 4 kB / 0.6045 GB, free: 14.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.3761, allocations: 322.8 kB / 0.6048 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3763, allocations: 67.89 kB / 0.6048 GB, free: 14.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3764, allocations: 63.89 kB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.3767, allocations: 140.8 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3767, allocations: 0 / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000312/0.377, allocations: 181.8 kB / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.377, allocations: 7.938 kB / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.377, allocations: 3.938 kB / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3771, allocations: 0 / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3772, allocations: 40.47 kB / 0.6052 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3772, allocations: 0 / 0.6052 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.3773, allocations: 23.92 kB / 0.6053 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3773, allocations: 4 kB / 0.6053 GB, free: 14.05 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 8.62e-05/0.3774, allocations: 126.4 kB / 0.6054 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.3774, allocations: 11.91 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.3778, allocations: 218.1 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3778, allocations: 8 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3778, allocations: 4 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3778, allocations: 3.938 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.3785, allocations: 0.5118 MB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3785, allocations: 4 kB / 0.6061 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3786, allocations: 35.86 kB / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.3786, allocations: 7.922 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3786, allocations: 0 / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3787, allocations: 4 kB / 0.6062 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3787, allocations: 4.062 kB / 0.6062 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.379, allocations: 284.9 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.3791, allocations: 96.95 kB / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3791, allocations: 0 / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-05/0.3792, allocations: 19.98 kB / 0.6066 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.3793, allocations: 11.98 kB / 0.6066 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.3793, allocations: 4 kB / 0.6066 GB, free: 12.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.3794, allocations: 152 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3794, allocations: 0 / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.3797, allocations: 35.98 kB / 0.6068 GB, free: 12.42 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.0009197/0.3806, allocations: 478.1 kB / 0.6072 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.3809, allocations: 143.9 kB / 0.6073 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3809, allocations: 0 / 0.6073 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.3811, allocations: 71.89 kB / 0.6074 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3814, allocations: 28.53 kB / 0.6074 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/0.382, allocations: 327.3 kB / 0.6078 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3823, allocations: 0.7238 MB / 0.6085 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.3824, allocations: 32.52 kB / 0.6085 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.3825, allocations: 15.44 kB / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3825, allocations: 0 / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Templates: time 0.004732/0.3872, allocations: 1.596 MB / 0.6101 GB, free: 9.148 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches