Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.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.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009606/0.0009606, allocations: 195.2 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007772/0.0007772, allocations: 103.8 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3259/0.3259, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003081, allocations: 11.98 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3428, allocations: 62.95 MB / 0.5165 GB, free: 36.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.4536, allocations: 90.06 MB / 0.6044 GB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4539, allocations: 75.97 kB / 0.6045 GB, free: 15.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01379/0.4677, allocations: 5.657 MB / 0.61 GB, free: 9.578 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4677, allocations: 4 kB / 0.61 GB, free: 9.574 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.4678, allocations: 0 / 0.61 GB, free: 9.574 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.0004553/0.4682, allocations: 419.4 kB / 0.6104 GB, free: 9.113 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4683, allocations: 12.03 kB / 0.6104 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.4683, allocations: 8.844 kB / 0.6104 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.4685, allocations: 200.1 kB / 0.6106 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.4686, allocations: 384 / 0.6106 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.4686, allocations: 8.375 kB / 0.6106 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.4688, allocations: 83.92 kB / 0.6107 GB, free: 8.758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4688, allocations: 8.062 kB / 0.6107 GB, free: 8.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.4688, allocations: 7.875 kB / 0.6107 GB, free: 8.742 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4688, allocations: 0 / 0.6107 GB, free: 8.742 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.469, allocations: 43.97 kB / 0.6108 GB, free: 8.699 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.4693, allocations: 292.8 kB / 0.6111 GB, free: 8.363 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.4694, allocations: 50.55 kB / 0.6111 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.4695, allocations: 32.88 kB / 0.6111 GB, free: 8.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.4696, allocations: 0 / 0.6111 GB, free: 8.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4696, allocations: 34.56 kB / 0.6112 GB, free: 8.227 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4696, allocations: 0 / 0.6112 GB, free: 8.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.000719/0.4703, allocations: 245.1 kB / 0.6114 GB, free: 7.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.4704, allocations: 77.11 kB / 0.6115 GB, free: 7.887 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.4705, allocations: 152.4 kB / 0.6116 GB, free: 7.727 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4706, allocations: 25.7 kB / 0.6116 GB, free: 7.695 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.4706, allocations: 100.1 kB / 0.6117 GB, free: 7.594 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.4706, allocations: 23.66 kB / 0.6118 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-06/0.4707, allocations: 0 / 0.6118 GB, free: 7.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4708, allocations: 328 kB / 0.6121 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.4709, allocations: 35.97 kB / 0.6121 GB, free: 7.207 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.471, allocations: 57.69 kB / 0.6122 GB, free: 7.145 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.4713, allocations: 96.91 kB / 0.6123 GB, free: 7.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4713, allocations: 0 / 0.6123 GB, free: 7.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002677/0.4715, allocations: 125.5 kB / 0.6124 GB, free: 6.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4716, allocations: 8 kB / 0.6124 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4716, allocations: 0 / 0.6124 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4716, allocations: 0 / 0.6124 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.4717, allocations: 31.97 kB / 0.6124 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4717, allocations: 0 / 0.6124 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.4718, allocations: 16 kB / 0.6124 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.4718, allocations: 4 kB / 0.6124 GB, free: 6.859 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 (7): * Single equations (assignments): 7 * 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 7.914e-05/0.4719, allocations: 121.8 kB / 0.6126 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.4719, allocations: 8.188 kB / 0.6126 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.4723, allocations: 142.6 kB / 0.6127 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4723, allocations: 3.984 kB / 0.6127 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4723, allocations: 0 / 0.6127 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4723, allocations: 0 / 0.6127 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.4728, allocations: 430.3 kB / 0.6131 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4729, allocations: 4 kB / 0.6131 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.4729, allocations: 23.98 kB / 0.6131 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.473, allocations: 3.984 kB / 0.6131 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.473, allocations: 4 kB / 0.6131 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.473, allocations: 0 / 0.6131 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.473, allocations: 7.875 kB / 0.6132 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.4733, allocations: 223.4 kB / 0.6134 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.4733, allocations: 93 kB / 0.6135 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.4734, allocations: 0 / 0.6135 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.4735, allocations: 19.98 kB / 0.6135 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.4735, allocations: 7.875 kB / 0.6135 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.4735, allocations: 8 kB / 0.6135 GB, free: 5.676 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.008e-05/0.4736, allocations: 115.2 kB / 0.6136 GB, free: 5.562 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4736, allocations: 0 / 0.6136 GB, free: 5.562 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.4739, allocations: 47.98 kB / 0.6136 GB, free: 5.516 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 (7): * Single equations (assignments): 7 * 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.0009711/0.4749, allocations: 0.4916 MB / 0.6141 GB, free: 5.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.4752, allocations: 91.94 kB / 0.6142 GB, free: 5.102 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4752, allocations: 0 / 0.6142 GB, free: 5.102 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.4753, allocations: 52.06 kB / 0.6143 GB, free: 5.051 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.4756, allocations: 16.09 kB / 0.6143 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.476, allocations: 242.7 kB / 0.6145 GB, free: 4.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.4762, allocations: 0.6965 MB / 0.6152 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.4763, allocations: 15.42 kB / 0.6152 GB, free: 4.023 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4763, allocations: 4 kB / 0.6152 GB, free: 4.02 MB / 426.7 MB Notification: Performance of Templates: time 0.003477/0.4798, allocations: 2.106 MB / 0.6173 GB, free: 1.918 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches