Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008442/0.0008443, 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.193/1.193, allocations: 223.3 MB / 242.1 MB, free: 9.961 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.0007663/0.0007662, allocations: 95.02 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.2909/0.2909, allocations: 44.15 MB / 388.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2696, allocations: 61.89 MB / 0.5107 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09999/0.3696, allocations: 88.57 MB / 0.5972 GB, free: 6.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.3699, allocations: 75.95 kB / 0.5973 GB, free: 6.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01184/0.3818, allocations: 4.702 MB / 0.6019 GB, free: 1.727 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3819, allocations: 0 / 0.6019 GB, free: 1.727 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3819, allocations: 0 / 0.6019 GB, free: 1.727 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.0004468/0.3823, allocations: 426.9 kB / 0.6023 GB, free: 1.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3824, allocations: 11.97 kB / 0.6023 GB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.3824, allocations: 20.69 kB / 0.6023 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.3826, allocations: 209.5 kB / 0.6025 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-06/0.3827, allocations: 384 / 0.6025 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.3827, allocations: 8.359 kB / 0.6025 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3829, allocations: 62.23 kB / 0.6026 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3829, allocations: 192 / 0.6026 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3829, allocations: 11.94 kB / 0.6026 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.3829, allocations: 11.92 kB / 0.6026 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.383, allocations: 39.97 kB / 0.6027 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.3834, allocations: 320.7 kB / 0.603 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.3837, allocations: 62.58 kB / 0.603 GB, free: 420 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.3838, allocations: 28.97 kB / 0.6031 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.3838, allocations: 0 / 0.6031 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3838, allocations: 34.56 kB / 0.6031 GB, free: 344 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3838, allocations: 0 / 0.6031 GB, free: 344 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001378/0.3852, allocations: 466.3 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.3853, allocations: 59.39 kB / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.3855, allocations: 211.2 kB / 0.6038 GB, free: 15.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3855, allocations: 29.7 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.3856, allocations: 104.1 kB / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.3856, allocations: 39.44 kB / 0.604 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.3856, allocations: 4 kB / 0.604 GB, free: 15.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3858, allocations: 326.8 kB / 0.6043 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.3859, allocations: 51.91 kB / 0.6043 GB, free: 15.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.386, allocations: 51.97 kB / 0.6044 GB, free: 14.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3862, allocations: 116.8 kB / 0.6045 GB, free: 14.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3863, allocations: 0 / 0.6045 GB, free: 14.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002935/0.3866, allocations: 161.7 kB / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3866, allocations: 5.094 kB / 0.6046 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3866, allocations: 0 / 0.6046 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3866, allocations: 11.94 kB / 0.6046 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3867, allocations: 27.98 kB / 0.6047 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3867, allocations: 0 / 0.6047 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.3868, allocations: 15.92 kB / 0.6047 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3868, allocations: 8 kB / 0.6047 GB, free: 14.62 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.914e-05/0.3869, allocations: 134.4 kB / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.387, allocations: 7.906 kB / 0.6048 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.3873, allocations: 187 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3873, allocations: 0 / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3873, allocations: 0 / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3874, allocations: 3.938 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.388, allocations: 0.4999 MB / 0.6055 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.388, allocations: 0 / 0.6055 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.804e-05/0.3881, allocations: 31.92 kB / 0.6055 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3881, allocations: 8.062 kB / 0.6055 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3882, allocations: 96 / 0.6055 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3882, allocations: 3.938 kB / 0.6055 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3882, allocations: 4.375 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.3885, allocations: 269 kB / 0.6058 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.3886, allocations: 96.94 kB / 0.6059 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3886, allocations: 4 kB / 0.6059 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.3887, allocations: 23.98 kB / 0.6059 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3888, allocations: 7.984 kB / 0.6059 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.3888, allocations: 8 kB / 0.6059 GB, free: 13.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.3889, allocations: 152.9 kB / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3889, allocations: 0 / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.3892, allocations: 35.92 kB / 0.6061 GB, free: 13.05 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.0009343/0.3901, allocations: 471.8 kB / 0.6066 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.3904, allocations: 119.9 kB / 0.6067 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3905, allocations: 4 kB / 0.6067 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.3906, allocations: 68.03 kB / 0.6068 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3909, allocations: 23.92 kB / 0.6068 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.3914, allocations: 319.3 kB / 0.6071 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.3917, allocations: 0.716 MB / 0.6078 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.359e-05/0.3918, allocations: 20.73 kB / 0.6078 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.3919, allocations: 19.42 kB / 0.6078 GB, free: 11.43 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3919, allocations: 3.938 kB / 0.6078 GB, free: 11.43 MB / 426.7 MB Notification: Performance of Templates: time 0.003859/0.3958, allocations: 1.556 MB / 0.6093 GB, free: 9.887 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches