Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 194.8 kB / 16.79 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 226.5 MB / 244.1 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008467/0.0008466, allocations: 106.5 kB / 296.1 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3332/0.3332, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 11.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2611, allocations: 62.95 MB / 0.5165 GB, free: 36.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3658, allocations: 89.89 MB / 0.6043 GB, free: 15.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.366, allocations: 67.97 kB / 0.6043 GB, free: 15.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.3797, allocations: 5.575 MB / 0.6098 GB, free: 9.809 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3797, allocations: 0 / 0.6098 GB, free: 9.809 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3798, allocations: 0 / 0.6098 GB, free: 9.809 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.0005026/0.3803, allocations: 451.3 kB / 0.6102 GB, free: 9.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3803, allocations: 12.88 kB / 0.6102 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.3804, allocations: 16.73 kB / 0.6102 GB, free: 9.289 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.3806, allocations: 217.7 kB / 0.6104 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3806, allocations: 384 / 0.6104 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3806, allocations: 4.375 kB / 0.6104 GB, free: 9.035 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3808, allocations: 66.22 kB / 0.6105 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3808, allocations: 192 / 0.6105 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3808, allocations: 11.94 kB / 0.6105 GB, free: 8.953 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3808, allocations: 4 kB / 0.6105 GB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.381, allocations: 43.91 kB / 0.6106 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.3814, allocations: 320.7 kB / 0.6109 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3816, allocations: 66.56 kB / 0.6109 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.162e-05/0.3817, allocations: 28.97 kB / 0.6109 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3817, allocations: 0 / 0.6109 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.3817, allocations: 34.56 kB / 0.611 GB, free: 8.395 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.3817, allocations: 0 / 0.611 GB, free: 8.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001325/0.3831, allocations: 472.7 kB / 0.6114 GB, free: 7.926 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.3831, allocations: 55.41 kB / 0.6115 GB, free: 7.859 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.3833, allocations: 221.2 kB / 0.6117 GB, free: 7.637 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3833, allocations: 25.7 kB / 0.6117 GB, free: 7.605 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.3834, allocations: 112.1 kB / 0.6118 GB, free: 7.492 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.3834, allocations: 39.45 kB / 0.6119 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.3835, allocations: 3.938 kB / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3836, allocations: 334.8 kB / 0.6122 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.3837, allocations: 47.97 kB / 0.6122 GB, free: 7.066 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3838, allocations: 51.97 kB / 0.6123 GB, free: 7.016 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.384, allocations: 108.8 kB / 0.6124 GB, free: 6.906 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.384, allocations: 0 / 0.6124 GB, free: 6.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003047/0.3844, allocations: 166.8 kB / 0.6125 GB, free: 6.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3844, allocations: 4 kB / 0.6125 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3844, allocations: 4 kB / 0.6126 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3844, allocations: 0 / 0.6126 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3845, allocations: 35.92 kB / 0.6126 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.3845, allocations: 0 / 0.6126 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.3846, allocations: 19.92 kB / 0.6126 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3846, allocations: 4 kB / 0.6126 GB, free: 6.672 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.0001001/0.3847, allocations: 129.8 kB / 0.6127 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3848, allocations: 15.81 kB / 0.6127 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.3851, allocations: 190.9 kB / 0.6129 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3852, allocations: 0 / 0.6129 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3852, allocations: 0 / 0.6129 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3852, allocations: 3.938 kB / 0.6129 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.3858, allocations: 0.4922 MB / 0.6134 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3858, allocations: 0 / 0.6134 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.654e-05/0.3859, allocations: 35.98 kB / 0.6134 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3859, allocations: 8 kB / 0.6135 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.3859, allocations: 0.5625 kB / 0.6135 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.3859, allocations: 4 kB / 0.6135 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.386, allocations: 0 / 0.6135 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.3863, allocations: 272.1 kB / 0.6137 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.3864, allocations: 104.8 kB / 0.6138 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3864, allocations: 12 kB / 0.6138 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.3865, allocations: 15.98 kB / 0.6138 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.3865, allocations: 7.984 kB / 0.6139 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3866, allocations: 4 kB / 0.6139 GB, free: 5.281 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.3867, allocations: 163.2 kB / 0.614 GB, free: 5.121 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3867, allocations: 0 / 0.614 GB, free: 5.121 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.387, allocations: 40.02 kB / 0.6141 GB, free: 5.082 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.0009014/0.3879, allocations: 456.2 kB / 0.6145 GB, free: 4.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.3882, allocations: 123.9 kB / 0.6146 GB, free: 4.672 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3882, allocations: 0 / 0.6146 GB, free: 4.672 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3883, allocations: 67.97 kB / 0.6147 GB, free: 4.605 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.3887, allocations: 27.02 kB / 0.6147 GB, free: 4.582 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.3892, allocations: 357.4 kB / 0.615 GB, free: 4.188 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3895, allocations: 0.716 MB / 0.6157 GB, free: 3.445 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.3895, allocations: 15.44 kB / 0.6158 GB, free: 3.434 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3896, allocations: 0 / 0.6158 GB, free: 3.434 MB / 426.7 MB Notification: Performance of Templates: time 0.003397/0.393, allocations: 2.069 MB / 0.6178 GB, free: 1.363 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches