Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, 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.396/1.396, 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.0007986/0.0007987, allocations: 105.1 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.335/0.335, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004004, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3397, allocations: 62.95 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.4483, allocations: 90.33 MB / 0.6047 GB, free: 15.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.4486, allocations: 75.95 kB / 0.6048 GB, free: 14.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.4628, allocations: 5.661 MB / 0.6103 GB, free: 9.293 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4629, allocations: 0 / 0.6103 GB, free: 9.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.4629, allocations: 0 / 0.6103 GB, free: 9.293 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004912/0.4634, allocations: 459.1 kB / 0.6107 GB, free: 8.793 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4634, allocations: 8.875 kB / 0.6107 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.4635, allocations: 8.844 kB / 0.6107 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.4637, allocations: 218.4 kB / 0.611 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.4638, allocations: 12.36 kB / 0.611 GB, free: 8.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.4638, allocations: 8.375 kB / 0.611 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.464, allocations: 66.17 kB / 0.611 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.464, allocations: 192 / 0.611 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.464, allocations: 11.92 kB / 0.611 GB, free: 8.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.464, allocations: 0 / 0.611 GB, free: 8.426 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.4642, allocations: 55.95 kB / 0.6111 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.4647, allocations: 336.6 kB / 0.6114 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.4649, allocations: 66.55 kB / 0.6115 GB, free: 7.918 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.081e-05/0.465, allocations: 32.97 kB / 0.6115 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.465, allocations: 0 / 0.6115 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.4651, allocations: 34.55 kB / 0.6115 GB, free: 7.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.4651, allocations: 7.938 kB / 0.6116 GB, free: 7.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001447/0.4665, allocations: 497.7 kB / 0.612 GB, free: 7.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.4666, allocations: 55.41 kB / 0.6121 GB, free: 7.273 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.4668, allocations: 223.1 kB / 0.6123 GB, free: 7.043 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4668, allocations: 25.7 kB / 0.6123 GB, free: 7.012 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.4669, allocations: 112 kB / 0.6124 GB, free: 6.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.4669, allocations: 43.39 kB / 0.6125 GB, free: 6.855 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.4669, allocations: 4 kB / 0.6125 GB, free: 6.852 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.467, allocations: 322.8 kB / 0.6128 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4672, allocations: 67.95 kB / 0.6128 GB, free: 6.461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4673, allocations: 58.81 kB / 0.6129 GB, free: 6.406 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.4676, allocations: 144.7 kB / 0.613 GB, free: 6.262 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4676, allocations: 0 / 0.613 GB, free: 6.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003205/0.4679, allocations: 181.5 kB / 0.6132 GB, free: 6.078 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.468, allocations: 8 kB / 0.6132 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.468, allocations: 192 / 0.6132 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.468, allocations: 0 / 0.6132 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.4681, allocations: 35.98 kB / 0.6133 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.4681, allocations: 3.984 kB / 0.6133 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.4682, allocations: 19.92 kB / 0.6133 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4682, allocations: 4 kB / 0.6133 GB, free: 6.008 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.478e-05/0.4683, allocations: 137.8 kB / 0.6134 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.4683, allocations: 15.81 kB / 0.6134 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.4688, allocations: 202.9 kB / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4688, allocations: 4 kB / 0.6136 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4688, allocations: 0 / 0.6136 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4688, allocations: 7.938 kB / 0.6136 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.4695, allocations: 0.5312 MB / 0.6142 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4695, allocations: 0 / 0.6142 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.4696, allocations: 31.92 kB / 0.6142 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4696, allocations: 4 kB / 0.6142 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4697, allocations: 4.062 kB / 0.6142 GB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4697, allocations: 7.938 kB / 0.6142 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4697, allocations: 4 kB / 0.6142 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.47, allocations: 288.3 kB / 0.6145 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.4701, allocations: 100.9 kB / 0.6146 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.4702, allocations: 4 kB / 0.6146 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.4703, allocations: 11.98 kB / 0.6146 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.4703, allocations: 19.98 kB / 0.6146 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.4703, allocations: 3.938 kB / 0.6146 GB, free: 4.535 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.4705, allocations: 160.4 kB / 0.6148 GB, free: 4.379 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4705, allocations: 3.938 kB / 0.6148 GB, free: 4.375 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.4707, allocations: 43.92 kB / 0.6148 GB, free: 4.332 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.0008986/0.4716, allocations: 455 kB / 0.6152 GB, free: 4.043 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000333/0.472, allocations: 143.9 kB / 0.6154 GB, free: 3.902 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.472, allocations: 0 / 0.6154 GB, free: 3.902 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.4722, allocations: 79.83 kB / 0.6155 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.4725, allocations: 31.14 kB / 0.6155 GB, free: 3.797 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.473, allocations: 381.6 kB / 0.6158 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.4733, allocations: 0.7277 MB / 0.6166 GB, free: 2.625 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.4734, allocations: 15.44 kB / 0.6166 GB, free: 2.613 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4734, allocations: 0 / 0.6166 GB, free: 2.613 MB / 426.7 MB Notification: Performance of Templates: time 0.003734/0.4771, allocations: 2.208 MB / 0.6187 GB, free: 416 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches