Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002285/0.002284, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 98.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.321/0.321, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.426e-05/2.442e-05, allocations: 8.203 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4006, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.5659, allocations: 86.47 MB / 0.5503 GB, free: 12.84 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5663, allocations: 71.95 kB / 0.5504 GB, free: 12.77 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.5847, allocations: 4.32 MB / 0.5546 GB, free: 8.449 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5848, allocations: 8 kB / 0.5546 GB, free: 8.441 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.5848, allocations: 4 kB / 0.5546 GB, free: 8.438 MB / 395.1 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.0005347/0.5854, allocations: 390.7 kB / 0.555 GB, free: 8.012 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5854, allocations: 8.031 kB / 0.555 GB, free: 8.004 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.5855, allocations: 15.86 kB / 0.555 GB, free: 7.988 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.5858, allocations: 205.7 kB / 0.5552 GB, free: 7.75 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.5859, allocations: 4 kB / 0.5552 GB, free: 7.746 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.5859, allocations: 3.906 kB / 0.5552 GB, free: 7.742 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001092/0.586, allocations: 23.98 kB / 0.5553 GB, free: 7.719 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.5862, allocations: 53.67 kB / 0.5553 GB, free: 7.66 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5862, allocations: 0 / 0.5553 GB, free: 7.66 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.5862, allocations: 0 / 0.5553 GB, free: 7.66 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.5862, allocations: 3.938 kB / 0.5553 GB, free: 7.656 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.5868, allocations: 293.3 kB / 0.5556 GB, free: 7.332 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.5869, allocations: 42.56 kB / 0.5556 GB, free: 7.281 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.587, allocations: 12.86 kB / 0.5557 GB, free: 7.266 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.587, allocations: 0 / 0.5557 GB, free: 7.266 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.5871, allocations: 34.56 kB / 0.5557 GB, free: 7.223 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5871, allocations: 0 / 0.5557 GB, free: 7.223 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007309/0.5878, allocations: 169.2 kB / 0.5558 GB, free: 7.051 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.5879, allocations: 51.41 kB / 0.5559 GB, free: 6.988 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.5882, allocations: 169.4 kB / 0.5561 GB, free: 6.816 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.5882, allocations: 25.7 kB / 0.5561 GB, free: 6.785 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5883, allocations: 166.5 kB / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.5883, allocations: 23.64 kB / 0.5563 GB, free: 6.598 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.5884, allocations: 0 / 0.5563 GB, free: 6.598 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5885, allocations: 326.8 kB / 0.5566 GB, free: 6.27 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.5886, allocations: 12 kB / 0.5566 GB, free: 6.258 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.354e-05/0.5887, allocations: 27.92 kB / 0.5566 GB, free: 6.23 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.876e-05/0.5887, allocations: 23.98 kB / 0.5566 GB, free: 6.207 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5888, allocations: 0 / 0.5566 GB, free: 6.207 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002017/0.589, allocations: 69.69 kB / 0.5567 GB, free: 6.133 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.589, allocations: 4 kB / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.589, allocations: 0 / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.589, allocations: 4 kB / 0.5567 GB, free: 6.125 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.5893, allocations: 27.98 kB / 0.5567 GB, free: 6.098 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5893, allocations: 3.953 kB / 0.5567 GB, free: 6.094 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.5894, allocations: 15.98 kB / 0.5568 GB, free: 6.078 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.5895, allocations: 0 / 0.5568 GB, free: 6.078 MB / 395.1 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 () * 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 9.707e-05/0.5896, allocations: 105 kB / 0.5569 GB, free: 5.969 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.5896, allocations: 15.97 kB / 0.5569 GB, free: 5.953 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.5899, allocations: 106.2 kB / 0.557 GB, free: 5.84 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.5899, allocations: 4 kB / 0.557 GB, free: 5.836 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.59, allocations: 3.984 kB / 0.557 GB, free: 5.832 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.59, allocations: 3.953 kB / 0.557 GB, free: 5.828 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.5906, allocations: 355 kB / 0.5573 GB, free: 5.438 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.5906, allocations: 3.984 kB / 0.5573 GB, free: 5.434 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.5908, allocations: 31.92 kB / 0.5574 GB, free: 5.402 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5908, allocations: 0 / 0.5574 GB, free: 5.402 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5908, allocations: 0 / 0.5574 GB, free: 5.402 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5908, allocations: 480 / 0.5574 GB, free: 5.402 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5909, allocations: 3.953 kB / 0.5574 GB, free: 5.398 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.5911, allocations: 183.4 kB / 0.5575 GB, free: 5.203 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/0.5912, allocations: 89.02 kB / 0.5576 GB, free: 5.098 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.5913, allocations: 4 kB / 0.5576 GB, free: 5.094 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.5914, allocations: 19.98 kB / 0.5576 GB, free: 5.074 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.5915, allocations: 11.94 kB / 0.5577 GB, free: 5.062 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.5915, allocations: 0 / 0.5577 GB, free: 5.062 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.5917, allocations: 144.1 kB / 0.5578 GB, free: 4.922 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.096e-06/0.5917, allocations: 0 / 0.5578 GB, free: 4.922 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003612/0.5921, allocations: 23.88 kB / 0.5578 GB, free: 4.898 MB / 395.1 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 () * 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.001022/0.5932, allocations: 333.8 kB / 0.5581 GB, free: 4.605 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.5934, allocations: 47.98 kB / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5934, allocations: 0 / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.5935, allocations: 31.94 kB / 0.5582 GB, free: 4.527 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.5938, allocations: 23.22 kB / 0.5582 GB, free: 4.508 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.5944, allocations: 217.7 kB / 0.5584 GB, free: 4.262 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.5948, allocations: 0.708 MB / 0.5591 GB, free: 3.527 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.5949, allocations: 15.42 kB / 0.5591 GB, free: 3.512 MB / 395.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5949, allocations: 7.938 kB / 0.5592 GB, free: 3.504 MB / 395.1 MB Notification: Performance of Templates: time 0.005315/0.6002, allocations: 1.776 MB / 0.5609 GB, free: 1.73 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches