Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, 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.5/1.5, allocations: 226.5 MB / 244.1 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007823/0.0007823, allocations: 107.9 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3468/0.3468, allocations: 44.81 MB / 392.9 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3581, allocations: 62.95 MB / 0.5165 GB, free: 37.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.4807, allocations: 90.32 MB / 0.6047 GB, free: 15.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.4811, allocations: 79.95 kB / 0.6048 GB, free: 15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01877/0.4999, allocations: 5.465 MB / 0.6101 GB, free: 9.523 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4999, allocations: 0 / 0.6101 GB, free: 9.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.5, allocations: 4 kB / 0.6101 GB, free: 9.52 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.0006447/0.5006, allocations: 443.2 kB / 0.6105 GB, free: 9.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.5007, allocations: 16.81 kB / 0.6105 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.5007, allocations: 12.84 kB / 0.6105 GB, free: 9.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.501, allocations: 208 kB / 0.6107 GB, free: 8.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.5011, allocations: 8.375 kB / 0.6108 GB, free: 8.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.5011, allocations: 384 / 0.6108 GB, free: 8.758 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.5013, allocations: 70.17 kB / 0.6108 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5014, allocations: 192 / 0.6108 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.5014, allocations: 7.938 kB / 0.6108 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.5014, allocations: 11.98 kB / 0.6108 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.5016, allocations: 47.95 kB / 0.6109 GB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.5022, allocations: 332.6 kB / 0.6112 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.5025, allocations: 62.58 kB / 0.6113 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.5027, allocations: 32.97 kB / 0.6113 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.5027, allocations: 15.97 kB / 0.6113 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5027, allocations: 30.56 kB / 0.6113 GB, free: 8.082 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.5027, allocations: 0 / 0.6113 GB, free: 8.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001994/0.5047, allocations: 491.9 kB / 0.6118 GB, free: 7.598 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.5048, allocations: 51.41 kB / 0.6119 GB, free: 7.535 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.5051, allocations: 188.1 kB / 0.612 GB, free: 7.344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.5051, allocations: 25.7 kB / 0.6121 GB, free: 7.312 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.5052, allocations: 115.9 kB / 0.6122 GB, free: 7.195 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.5052, allocations: 31.47 kB / 0.6122 GB, free: 7.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.5053, allocations: 4 kB / 0.6122 GB, free: 7.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5054, allocations: 322.8 kB / 0.6125 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.5056, allocations: 63.95 kB / 0.6126 GB, free: 6.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.5058, allocations: 63.95 kB / 0.6126 GB, free: 6.711 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.5063, allocations: 144.8 kB / 0.6128 GB, free: 6.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.5063, allocations: 3.938 kB / 0.6128 GB, free: 6.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004825/0.5068, allocations: 178 kB / 0.6129 GB, free: 6.383 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5068, allocations: 8 kB / 0.613 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5068, allocations: 0 / 0.613 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5068, allocations: 4 kB / 0.613 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.507, allocations: 27.97 kB / 0.613 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.507, allocations: 4 kB / 0.613 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.5071, allocations: 19.92 kB / 0.613 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.5071, allocations: 8 kB / 0.613 GB, free: 6.312 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 0.0001257/0.5073, allocations: 121.8 kB / 0.6131 GB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.5073, allocations: 15.81 kB / 0.6131 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/0.5079, allocations: 208.6 kB / 0.6133 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5079, allocations: 0 / 0.6133 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.508, allocations: 4 kB / 0.6133 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.508, allocations: 7.875 kB / 0.6134 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.509, allocations: 0.5156 MB / 0.6139 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.509, allocations: 0 / 0.6139 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.5091, allocations: 35.98 kB / 0.6139 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5092, allocations: 0 / 0.6139 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.5092, allocations: 8 kB / 0.6139 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5092, allocations: 0 / 0.6139 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5092, allocations: 0 / 0.6139 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.5098, allocations: 289.1 kB / 0.6142 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.5099, allocations: 96.94 kB / 0.6143 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.5099, allocations: 8 kB / 0.6143 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.5101, allocations: 11.98 kB / 0.6143 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.5101, allocations: 11.98 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.5102, allocations: 4 kB / 0.6143 GB, free: 4.875 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.5103, allocations: 144 kB / 0.6144 GB, free: 4.734 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5104, allocations: 4 kB / 0.6144 GB, free: 4.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.5108, allocations: 35.94 kB / 0.6145 GB, free: 4.695 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.001383/0.5122, allocations: 469.2 kB / 0.6149 GB, free: 4.395 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004836/0.5127, allocations: 147.8 kB / 0.6151 GB, free: 4.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5127, allocations: 0 / 0.6151 GB, free: 4.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.5129, allocations: 79.95 kB / 0.6151 GB, free: 4.172 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.5134, allocations: 19.94 kB / 0.6152 GB, free: 4.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/0.5142, allocations: 353.1 kB / 0.6155 GB, free: 3.766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5146, allocations: 0.716 MB / 0.6162 GB, free: 3.023 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.5147, allocations: 19.42 kB / 0.6162 GB, free: 3.004 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5147, allocations: 0 / 0.6162 GB, free: 3.004 MB / 426.7 MB Notification: Performance of Templates: time 0.004931/0.5196, allocations: 2.104 MB / 0.6183 GB, free: 0.9062 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches