Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009366/0.0009364, allocations: 197.7 kB / 16.79 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007992/0.0007992, allocations: 105.9 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.3466/0.3466, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002857, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3423, allocations: 62.95 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.4622, allocations: 90.33 MB / 0.6047 GB, free: 15.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.4624, allocations: 71.97 kB / 0.6048 GB, free: 14.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.4763, allocations: 5.461 MB / 0.6101 GB, free: 9.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4764, allocations: 0 / 0.6101 GB, free: 9.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.4764, allocations: 0 / 0.6101 GB, free: 9.5 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.0005128/0.4769, allocations: 443.3 kB / 0.6105 GB, free: 9.016 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.076e-05/0.477, allocations: 12.81 kB / 0.6105 GB, free: 9.004 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.477, allocations: 8.844 kB / 0.6105 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.4773, allocations: 216 kB / 0.6107 GB, free: 8.746 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4773, allocations: 4.375 kB / 0.6107 GB, free: 8.742 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.4774, allocations: 8.375 kB / 0.6107 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.4775, allocations: 66.22 kB / 0.6108 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4776, allocations: 8.109 kB / 0.6108 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4776, allocations: 11.94 kB / 0.6108 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4776, allocations: 0 / 0.6108 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.4777, allocations: 51.97 kB / 0.6109 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.4782, allocations: 336.6 kB / 0.6112 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.4784, allocations: 66.58 kB / 0.6113 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.4785, allocations: 32.97 kB / 0.6113 GB, free: 8.105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4786, allocations: 0 / 0.6113 GB, free: 8.105 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.4786, allocations: 34.56 kB / 0.6113 GB, free: 8.062 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.4786, allocations: 0 / 0.6113 GB, free: 8.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001445/0.48, allocations: 484.9 kB / 0.6118 GB, free: 7.582 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.4801, allocations: 59.34 kB / 0.6118 GB, free: 7.512 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.4803, allocations: 184.1 kB / 0.612 GB, free: 7.324 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4803, allocations: 25.7 kB / 0.612 GB, free: 7.293 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.4804, allocations: 111.9 kB / 0.6122 GB, free: 7.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.4804, allocations: 43.44 kB / 0.6122 GB, free: 7.137 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.4804, allocations: 8 kB / 0.6122 GB, free: 7.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4805, allocations: 322.8 kB / 0.6125 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4807, allocations: 55.97 kB / 0.6126 GB, free: 6.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.4808, allocations: 67.95 kB / 0.6126 GB, free: 6.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.4811, allocations: 139.1 kB / 0.6128 GB, free: 6.547 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4811, allocations: 0 / 0.6128 GB, free: 6.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003172/0.4814, allocations: 173.5 kB / 0.6129 GB, free: 6.371 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4815, allocations: 15.92 kB / 0.6129 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4815, allocations: 7.938 kB / 0.6129 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4815, allocations: 0 / 0.6129 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4816, allocations: 31.98 kB / 0.613 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4816, allocations: 3.984 kB / 0.613 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.4817, allocations: 15.92 kB / 0.613 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4817, allocations: 8 kB / 0.613 GB, free: 6.289 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 9.196e-05/0.4818, allocations: 129.8 kB / 0.6131 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.4818, allocations: 11.81 kB / 0.6131 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.4822, allocations: 202.2 kB / 0.6133 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.4823, allocations: 4 kB / 0.6133 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4823, allocations: 0.5625 kB / 0.6133 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4823, allocations: 7.875 kB / 0.6133 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.4829, allocations: 0.5117 MB / 0.6138 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.483, allocations: 0 / 0.6138 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4831, allocations: 43.97 kB / 0.6139 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4831, allocations: 0 / 0.6139 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4831, allocations: 8 kB / 0.6139 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4831, allocations: 0 / 0.6139 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4831, allocations: 0 / 0.6139 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.4835, allocations: 289.6 kB / 0.6142 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.4835, allocations: 88.95 kB / 0.6143 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.4836, allocations: 12 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.4837, allocations: 11.98 kB / 0.6143 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.4837, allocations: 11.98 kB / 0.6143 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4837, allocations: 0 / 0.6143 GB, free: 4.855 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.4839, allocations: 152 kB / 0.6144 GB, free: 4.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4839, allocations: 0 / 0.6144 GB, free: 4.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.4841, allocations: 35.94 kB / 0.6145 GB, free: 4.672 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.0009925/0.4851, allocations: 458.8 kB / 0.6149 GB, free: 4.375 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.4855, allocations: 147.8 kB / 0.615 GB, free: 4.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4855, allocations: 0 / 0.615 GB, free: 4.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.4857, allocations: 83.95 kB / 0.6151 GB, free: 4.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.486, allocations: 23.92 kB / 0.6152 GB, free: 4.125 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.4865, allocations: 349 kB / 0.6155 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.4868, allocations: 0.7162 MB / 0.6162 GB, free: 3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.4869, allocations: 15.44 kB / 0.6162 GB, free: 2.984 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4869, allocations: 3.938 kB / 0.6162 GB, free: 2.98 MB / 426.7 MB Notification: Performance of Templates: time 0.003528/0.4904, allocations: 2.102 MB / 0.6183 GB, free: 0.8867 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches