Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007875/0.0007875, allocations: 109.3 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3016/0.3016, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002661, allocations: 12 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2883, allocations: 62.96 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1018/0.3902, allocations: 90.36 MB / 0.6047 GB, free: 15.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.3904, allocations: 71.97 kB / 0.6048 GB, free: 14.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.4037, allocations: 5.183 MB / 0.6098 GB, free: 9.746 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4038, allocations: 0 / 0.6098 GB, free: 9.746 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4038, allocations: 4 kB / 0.6099 GB, free: 9.742 MB / 426.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.0005535/0.4043, allocations: 455.3 kB / 0.6103 GB, free: 9.246 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.4044, allocations: 8.875 kB / 0.6103 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.4044, allocations: 8.844 kB / 0.6103 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.4047, allocations: 216.8 kB / 0.6105 GB, free: 8.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.4047, allocations: 384 / 0.6105 GB, free: 8.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.4047, allocations: 4.375 kB / 0.6105 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.405, allocations: 99.92 kB / 0.6106 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.405, allocations: 4.188 kB / 0.6106 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.405, allocations: 3.938 kB / 0.6106 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.405, allocations: 4 kB / 0.6106 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.4053, allocations: 99.84 kB / 0.6107 GB, free: 8.758 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.4059, allocations: 360.6 kB / 0.6111 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.4061, allocations: 90.47 kB / 0.6111 GB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.4063, allocations: 56.94 kB / 0.6112 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.4063, allocations: 7.938 kB / 0.6112 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4064, allocations: 30.56 kB / 0.6112 GB, free: 8.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4064, allocations: 4 kB / 0.6112 GB, free: 8.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.001519/0.4079, allocations: 0.493 MB / 0.6117 GB, free: 7.648 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.408, allocations: 77.11 kB / 0.6118 GB, free: 7.555 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.4081, allocations: 166.9 kB / 0.612 GB, free: 7.383 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4081, allocations: 25.7 kB / 0.612 GB, free: 7.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.4082, allocations: 104.1 kB / 0.6121 GB, free: 7.246 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.4082, allocations: 31.56 kB / 0.6121 GB, free: 7.215 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.4083, allocations: 0 / 0.6121 GB, free: 7.215 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4084, allocations: 330.8 kB / 0.6124 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.4087, allocations: 99.91 kB / 0.6125 GB, free: 6.785 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.409, allocations: 125.6 kB / 0.6126 GB, free: 6.656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.4095, allocations: 204.7 kB / 0.6128 GB, free: 6.453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4095, allocations: 0 / 0.6128 GB, free: 6.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006104/0.4101, allocations: 257.4 kB / 0.6131 GB, free: 6.195 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4102, allocations: 8 kB / 0.6131 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4102, allocations: 0 / 0.6131 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4102, allocations: 0 / 0.6131 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.4104, allocations: 51.95 kB / 0.6131 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4104, allocations: 0 / 0.6131 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.4106, allocations: 39.88 kB / 0.6132 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.4106, allocations: 4 kB / 0.6132 GB, free: 6.094 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 8.915e-05/0.4107, allocations: 129.7 kB / 0.6133 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.4107, allocations: 15.89 kB / 0.6133 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006582/0.4114, allocations: 262.2 kB / 0.6136 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4114, allocations: 4 kB / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4114, allocations: 384 / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.4114, allocations: 0 / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009008/0.4123, allocations: 0.565 MB / 0.6141 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.4123, allocations: 4 kB / 0.6141 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.4125, allocations: 47.97 kB / 0.6142 GB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4125, allocations: 0 / 0.6142 GB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4126, allocations: 7.938 kB / 0.6142 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.4126, allocations: 7.984 kB / 0.6142 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4126, allocations: 3.984 kB / 0.6142 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.4132, allocations: 343.1 kB / 0.6145 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.4133, allocations: 93 kB / 0.6146 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.4133, allocations: 3.938 kB / 0.6146 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.4135, allocations: 39.97 kB / 0.6147 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.4135, allocations: 11.92 kB / 0.6147 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.4136, allocations: 4 kB / 0.6147 GB, free: 4.465 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.4137, allocations: 129.4 kB / 0.6148 GB, free: 4.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4137, allocations: 0 / 0.6148 GB, free: 4.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.414, allocations: 59.94 kB / 0.6148 GB, free: 4.281 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.001002/0.415, allocations: 0.5065 MB / 0.6153 GB, free: 3.941 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.4156, allocations: 219.8 kB / 0.6156 GB, free: 3.727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4156, allocations: 4 kB / 0.6156 GB, free: 3.723 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.4159, allocations: 111.8 kB / 0.6157 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.4162, allocations: 19.98 kB / 0.6157 GB, free: 3.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.4167, allocations: 283.4 kB / 0.616 GB, free: 3.281 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.4169, allocations: 0.7043 MB / 0.6166 GB, free: 2.551 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.417, allocations: 23.44 kB / 0.6167 GB, free: 2.531 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.417, allocations: 0 / 0.6167 GB, free: 2.531 MB / 426.7 MB Notification: Performance of Templates: time 0.003912/0.4209, allocations: 2.62 MB / 0.6192 GB, free: 15.91 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches