Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008484/0.0008485, allocations: 183.6 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.232/1.232, allocations: 223.3 MB / 242.1 MB, free: 9.949 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.0007879/0.0007877, allocations: 99.12 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.2748/0.2748, allocations: 44.15 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 12 kB / 461.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2783, allocations: 61.88 MB / 0.5107 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.3819, allocations: 89.07 MB / 0.5977 GB, free: 6.031 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.3822, allocations: 79.94 kB / 0.5978 GB, free: 5.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.393, allocations: 4.15 MB / 0.6018 GB, free: 1.797 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.393, allocations: 0 / 0.6018 GB, free: 1.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.393, allocations: 4 kB / 0.6018 GB, free: 1.793 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005197/0.3936, allocations: 427 kB / 0.6022 GB, free: 1.324 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3936, allocations: 16.03 kB / 0.6023 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.3936, allocations: 8.844 kB / 0.6023 GB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.3938, allocations: 204.7 kB / 0.6025 GB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.3939, allocations: 384 / 0.6025 GB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.3939, allocations: 4.375 kB / 0.6025 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3942, allocations: 107.5 kB / 0.6026 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3942, allocations: 3.938 kB / 0.6026 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3942, allocations: 0 / 0.6026 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3942, allocations: 7.938 kB / 0.6026 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.3945, allocations: 99.91 kB / 0.6027 GB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.3951, allocations: 356.6 kB / 0.603 GB, free: 444 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3953, allocations: 86.47 kB / 0.6031 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3955, allocations: 60.94 kB / 0.6032 GB, free: 284 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3955, allocations: 0 / 0.6032 GB, free: 284 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.3955, allocations: 38.56 kB / 0.6032 GB, free: 236 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.3955, allocations: 0 / 0.6032 GB, free: 236 kB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.001537/0.3971, allocations: 0.4892 MB / 0.6037 GB, free: 15.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3971, allocations: 81.11 kB / 0.6037 GB, free: 15.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3973, allocations: 161.5 kB / 0.6039 GB, free: 15.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3973, allocations: 33.7 kB / 0.6039 GB, free: 15.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.3974, allocations: 96.12 kB / 0.604 GB, free: 15.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.3974, allocations: 35.48 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.3974, allocations: 0 / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3975, allocations: 322.8 kB / 0.6044 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.3978, allocations: 99.92 kB / 0.6045 GB, free: 14.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.3981, allocations: 117.7 kB / 0.6046 GB, free: 14.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.3987, allocations: 212.7 kB / 0.6048 GB, free: 14.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3987, allocations: 0 / 0.6048 GB, free: 14.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006002/0.3993, allocations: 249.4 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3993, allocations: 4 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3993, allocations: 0 / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3993, allocations: 8 kB / 0.605 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.3995, allocations: 59.83 kB / 0.6051 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3995, allocations: 0 / 0.6051 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.3997, allocations: 36.34 kB / 0.6051 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.3997, allocations: 0 / 0.6051 GB, free: 14.18 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 (10): * Single equations (assignments): 10 * 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.449e-05/0.3998, allocations: 126.4 kB / 0.6052 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.3999, allocations: 7.906 kB / 0.6052 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006723/0.4005, allocations: 274 kB / 0.6055 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4006, allocations: 7.938 kB / 0.6055 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4006, allocations: 0 / 0.6055 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4006, allocations: 4.375 kB / 0.6055 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009265/0.4015, allocations: 0.5645 MB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4015, allocations: 0 / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.4017, allocations: 47.89 kB / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4017, allocations: 4 kB / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4017, allocations: 4 kB / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4017, allocations: 0 / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4017, allocations: 0 / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/0.4024, allocations: 347.2 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.4024, allocations: 92.91 kB / 0.6065 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.4024, allocations: 0 / 0.6065 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.4026, allocations: 39.97 kB / 0.6066 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.4027, allocations: 11.97 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.4027, allocations: 4 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.4028, allocations: 115.2 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4028, allocations: 0 / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.4031, allocations: 39.94 kB / 0.6067 GB, free: 12.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.0008943/0.404, allocations: 462.8 kB / 0.6072 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006233/0.4046, allocations: 219.7 kB / 0.6074 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4046, allocations: 4 kB / 0.6074 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.4049, allocations: 111.8 kB / 0.6075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.4052, allocations: 24.53 kB / 0.6075 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.4057, allocations: 241.2 kB / 0.6078 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.4059, allocations: 0.7122 MB / 0.6085 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.406, allocations: 28.52 kB / 0.6085 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.4061, allocations: 19.42 kB / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4061, allocations: 0 / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Templates: time 0.004111/0.4102, allocations: 1.945 MB / 0.6104 GB, free: 8.805 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches