Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001467, allocations: 190.8 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007315/0.0007316, allocations: 96.2 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3163/0.3163, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004195, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2948, allocations: 62.95 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1006/0.3954, allocations: 90.06 MB / 0.6044 GB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.3957, allocations: 71.97 kB / 0.6045 GB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01404/0.4098, allocations: 5.661 MB / 0.61 GB, free: 9.594 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4098, allocations: 0 / 0.61 GB, free: 9.594 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.4098, allocations: 4 kB / 0.61 GB, free: 9.59 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.0004818/0.4103, allocations: 423.4 kB / 0.6104 GB, free: 9.125 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.4103, allocations: 8.031 kB / 0.6104 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.4104, allocations: 8.844 kB / 0.6104 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.4106, allocations: 208.1 kB / 0.6106 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.4107, allocations: 384 / 0.6106 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.4107, allocations: 8.359 kB / 0.6106 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4109, allocations: 75.95 kB / 0.6107 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4109, allocations: 192 / 0.6107 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4109, allocations: 7.938 kB / 0.6107 GB, free: 8.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4109, allocations: 3.938 kB / 0.6107 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.4111, allocations: 47.91 kB / 0.6108 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.4114, allocations: 288.8 kB / 0.6111 GB, free: 8.383 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.4116, allocations: 50.55 kB / 0.6111 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.4117, allocations: 24.94 kB / 0.6111 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.4117, allocations: 11.94 kB / 0.6111 GB, free: 8.285 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4117, allocations: 30.56 kB / 0.6112 GB, free: 8.246 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4117, allocations: 0 / 0.6112 GB, free: 8.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007492/0.4125, allocations: 253.1 kB / 0.6114 GB, free: 7.992 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.4125, allocations: 77.11 kB / 0.6115 GB, free: 7.898 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.4127, allocations: 148.7 kB / 0.6116 GB, free: 7.742 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4127, allocations: 29.7 kB / 0.6117 GB, free: 7.707 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.4128, allocations: 96.12 kB / 0.6117 GB, free: 7.609 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.4128, allocations: 23.64 kB / 0.6118 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.4128, allocations: 4 kB / 0.6118 GB, free: 7.582 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.413, allocations: 320 kB / 0.6121 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.4131, allocations: 43.97 kB / 0.6121 GB, free: 7.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.4132, allocations: 57.69 kB / 0.6122 GB, free: 7.156 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.4134, allocations: 84.8 kB / 0.6123 GB, free: 7.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4134, allocations: 4.031 kB / 0.6123 GB, free: 7.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002685/0.4137, allocations: 125.5 kB / 0.6124 GB, free: 6.938 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4137, allocations: 6.969 kB / 0.6124 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4137, allocations: 7.984 kB / 0.6124 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.4138, allocations: 0 / 0.6124 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.4139, allocations: 27.98 kB / 0.6124 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4139, allocations: 0 / 0.6124 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.414, allocations: 15.98 kB / 0.6124 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.414, allocations: 0 / 0.6124 GB, free: 6.883 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 8.176e-05/0.4141, allocations: 129.7 kB / 0.6126 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.4141, allocations: 7.906 kB / 0.6126 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.4145, allocations: 150.6 kB / 0.6127 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4145, allocations: 4 kB / 0.6127 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4145, allocations: 0 / 0.6127 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4145, allocations: 0 / 0.6127 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.415, allocations: 418.3 kB / 0.6131 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.415, allocations: 7.922 kB / 0.6131 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/0.4151, allocations: 23.98 kB / 0.6131 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4151, allocations: 0 / 0.6131 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.4152, allocations: 0 / 0.6131 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4152, allocations: 4 kB / 0.6131 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4152, allocations: 3.938 kB / 0.6131 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.4155, allocations: 223.4 kB / 0.6134 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.4155, allocations: 89 kB / 0.6134 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.4156, allocations: 8 kB / 0.6135 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.4157, allocations: 11.98 kB / 0.6135 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.4157, allocations: 11.92 kB / 0.6135 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.4157, allocations: 0 / 0.6135 GB, free: 5.707 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.186e-05/0.4158, allocations: 123.2 kB / 0.6136 GB, free: 5.586 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4158, allocations: 0 / 0.6136 GB, free: 5.586 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.4161, allocations: 51.98 kB / 0.6136 GB, free: 5.535 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.001037/0.4172, allocations: 0.491 MB / 0.6141 GB, free: 5.207 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.4175, allocations: 103.9 kB / 0.6142 GB, free: 5.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4175, allocations: 0 / 0.6142 GB, free: 5.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.4176, allocations: 51.91 kB / 0.6143 GB, free: 5.055 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.4179, allocations: 19.94 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.0004165/0.4183, allocations: 226.8 kB / 0.6145 GB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.4186, allocations: 0.6926 MB / 0.6152 GB, free: 4.055 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.4187, allocations: 23.42 kB / 0.6152 GB, free: 4.035 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4187, allocations: 0 / 0.6152 GB, free: 4.035 MB / 426.7 MB Notification: Performance of Templates: time 0.003792/0.4225, allocations: 2.107 MB / 0.6173 GB, free: 1.93 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test14 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches