Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.0012, allocations: 194.4 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 226.5 MB / 244.1 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008445/0.0008446, allocations: 100.2 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.3219/0.3219, allocations: 44.81 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004743, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.371, allocations: 62.95 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4888, allocations: 89.87 MB / 0.6042 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4891, allocations: 79.95 kB / 0.6043 GB, free: 15.44 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01372/0.5028, allocations: 5.375 MB / 0.6096 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5028, allocations: 0 / 0.6096 GB, free: 10.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.5029, allocations: 4 kB / 0.6096 GB, free: 10.05 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.0005037/0.5034, allocations: 435.3 kB / 0.61 GB, free: 9.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5034, allocations: 8.875 kB / 0.61 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.5035, allocations: 12.84 kB / 0.61 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.5037, allocations: 205.1 kB / 0.6102 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.5037, allocations: 12.31 kB / 0.6102 GB, free: 9.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.5038, allocations: 4.375 kB / 0.6102 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.5039, allocations: 66.23 kB / 0.6103 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5039, allocations: 4.094 kB / 0.6103 GB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5039, allocations: 3.938 kB / 0.6103 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.504, allocations: 3.984 kB / 0.6103 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.5041, allocations: 47.97 kB / 0.6103 GB, free: 9.168 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.5045, allocations: 320.6 kB / 0.6106 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.5047, allocations: 62.55 kB / 0.6107 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.225e-05/0.5048, allocations: 24.97 kB / 0.6107 GB, free: 8.707 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5048, allocations: 8.031 kB / 0.6107 GB, free: 8.699 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.5048, allocations: 30.56 kB / 0.6108 GB, free: 8.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.5048, allocations: 0 / 0.6108 GB, free: 8.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0014/0.5062, allocations: 469.2 kB / 0.6112 GB, free: 8.195 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5063, allocations: 51.41 kB / 0.6113 GB, free: 8.133 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.5065, allocations: 186.8 kB / 0.6114 GB, free: 7.941 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.5065, allocations: 25.7 kB / 0.6115 GB, free: 7.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.5066, allocations: 104.1 kB / 0.6116 GB, free: 7.805 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.5066, allocations: 39.45 kB / 0.6116 GB, free: 7.766 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.5066, allocations: 3.938 kB / 0.6116 GB, free: 7.762 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5067, allocations: 322.8 kB / 0.6119 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.5069, allocations: 51.97 kB / 0.612 GB, free: 7.387 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.507, allocations: 47.97 kB / 0.612 GB, free: 7.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.5072, allocations: 128.7 kB / 0.6121 GB, free: 7.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5072, allocations: 0 / 0.6121 GB, free: 7.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002985/0.5076, allocations: 154.9 kB / 0.6123 GB, free: 7.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5076, allocations: 4 kB / 0.6123 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5076, allocations: 4 kB / 0.6123 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5076, allocations: 0 / 0.6123 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.5077, allocations: 31.98 kB / 0.6123 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.5077, allocations: 3.984 kB / 0.6123 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.5078, allocations: 19.88 kB / 0.6123 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.5078, allocations: 4 kB / 0.6123 GB, free: 6.988 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 8.475e-05/0.5079, allocations: 129.8 kB / 0.6125 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.508, allocations: 11.91 kB / 0.6125 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.5083, allocations: 170.3 kB / 0.6126 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.5083, allocations: 0 / 0.6126 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5083, allocations: 0 / 0.6126 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5084, allocations: 7.938 kB / 0.6126 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/0.509, allocations: 500 kB / 0.6131 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.509, allocations: 0 / 0.6131 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.5091, allocations: 35.86 kB / 0.6132 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5092, allocations: 0 / 0.6132 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.5092, allocations: 11.98 kB / 0.6132 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5092, allocations: 0 / 0.6132 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5092, allocations: 0 / 0.6132 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.5095, allocations: 268.1 kB / 0.6134 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.5096, allocations: 104.8 kB / 0.6135 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.5096, allocations: 0 / 0.6135 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.596e-05/0.5097, allocations: 19.98 kB / 0.6135 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.5098, allocations: 7.984 kB / 0.6135 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.5098, allocations: 8 kB / 0.6136 GB, free: 5.625 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.5099, allocations: 137.4 kB / 0.6137 GB, free: 5.492 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5099, allocations: 96 / 0.6137 GB, free: 5.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.5102, allocations: 35.88 kB / 0.6137 GB, free: 5.457 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.0009332/0.5111, allocations: 466 kB / 0.6142 GB, free: 5.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.5114, allocations: 123.9 kB / 0.6143 GB, free: 5.039 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5114, allocations: 0 / 0.6143 GB, free: 5.039 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.5116, allocations: 67.84 kB / 0.6143 GB, free: 4.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.5119, allocations: 31.02 kB / 0.6144 GB, free: 4.945 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.5124, allocations: 324.3 kB / 0.6147 GB, free: 4.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.5127, allocations: 0.716 MB / 0.6154 GB, free: 3.848 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.5127, allocations: 19.42 kB / 0.6154 GB, free: 3.832 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5127, allocations: 0 / 0.6154 GB, free: 3.832 MB / 426.7 MB Notification: Performance of Templates: time 0.003484/0.5162, allocations: 1.952 MB / 0.6173 GB, free: 1.883 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches