Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, 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.346/1.346, allocations: 226.5 MB / 244.1 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008038/0.0008038, allocations: 97.73 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.343/0.343, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002906, allocations: 15.98 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3254, allocations: 62.95 MB / 0.5165 GB, free: 37.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4462, allocations: 90.06 MB / 0.6044 GB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.4464, allocations: 75.95 kB / 0.6045 GB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.4599, allocations: 5.653 MB / 0.61 GB, free: 9.598 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4599, allocations: 0 / 0.61 GB, free: 9.598 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.46, allocations: 4 kB / 0.61 GB, free: 9.594 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004793/0.4604, allocations: 423.4 kB / 0.6104 GB, free: 9.129 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4605, allocations: 8.031 kB / 0.6104 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.4605, allocations: 8.844 kB / 0.6104 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.4608, allocations: 204.1 kB / 0.6106 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.4608, allocations: 12.38 kB / 0.6106 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.4608, allocations: 4.359 kB / 0.6106 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.461, allocations: 75.94 kB / 0.6107 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.461, allocations: 4.188 kB / 0.6107 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.461, allocations: 3.938 kB / 0.6107 GB, free: 8.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.4611, allocations: 3.938 kB / 0.6107 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4612, allocations: 51.91 kB / 0.6108 GB, free: 8.711 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.4615, allocations: 288.8 kB / 0.6111 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.4617, allocations: 50.56 kB / 0.6111 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.4617, allocations: 28.94 kB / 0.6111 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.4618, allocations: 3.938 kB / 0.6111 GB, free: 8.285 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.4618, allocations: 30.56 kB / 0.6112 GB, free: 8.246 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4618, allocations: 0 / 0.6112 GB, free: 8.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.000737/0.4626, allocations: 249.1 kB / 0.6114 GB, free: 7.996 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.4626, allocations: 81.11 kB / 0.6115 GB, free: 7.898 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.4628, allocations: 152.2 kB / 0.6116 GB, free: 7.738 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.4628, allocations: 29.7 kB / 0.6117 GB, free: 7.703 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.4629, allocations: 96.14 kB / 0.6117 GB, free: 7.605 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.4629, allocations: 23.64 kB / 0.6118 GB, free: 7.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.4629, allocations: 4 kB / 0.6118 GB, free: 7.578 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.463, allocations: 324 kB / 0.6121 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.4631, allocations: 39.98 kB / 0.6121 GB, free: 7.215 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.4632, allocations: 57.67 kB / 0.6122 GB, free: 7.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.4635, allocations: 84.84 kB / 0.6123 GB, free: 7.066 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4635, allocations: 0 / 0.6123 GB, free: 7.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003002/0.4638, allocations: 141.4 kB / 0.6124 GB, free: 6.922 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4638, allocations: 7.125 kB / 0.6124 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4638, allocations: 0 / 0.6124 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4638, allocations: 4 kB / 0.6124 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4639, allocations: 23.98 kB / 0.6124 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.464, allocations: 0 / 0.6124 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.464, allocations: 19.98 kB / 0.6124 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.464, allocations: 0 / 0.6124 GB, free: 6.871 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 (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 8.057e-05/0.4641, allocations: 121.8 kB / 0.6126 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.4642, allocations: 7.906 kB / 0.6126 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.4645, allocations: 138.3 kB / 0.6127 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4645, allocations: 4 kB / 0.6127 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4645, allocations: 0 / 0.6127 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4645, allocations: 3.984 kB / 0.6127 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.4651, allocations: 418.7 kB / 0.6131 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4651, allocations: 11.88 kB / 0.6131 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.374e-05/0.4652, allocations: 23.98 kB / 0.6131 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4652, allocations: 0 / 0.6131 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.4652, allocations: 0 / 0.6131 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4652, allocations: 0 / 0.6131 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4652, allocations: 4.016 kB / 0.6131 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.4655, allocations: 227.4 kB / 0.6134 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.4656, allocations: 89 kB / 0.6134 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.4656, allocations: 4 kB / 0.6134 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.4657, allocations: 19.98 kB / 0.6135 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.4657, allocations: 11.92 kB / 0.6135 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.4657, allocations: 4 kB / 0.6135 GB, free: 5.699 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.261e-05/0.4658, allocations: 120.9 kB / 0.6136 GB, free: 5.582 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4659, allocations: 0 / 0.6136 GB, free: 5.582 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.4662, allocations: 51.97 kB / 0.6136 GB, free: 5.531 MB / 426.7 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 () * Number of clocked 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.001005/0.4672, allocations: 0.4954 MB / 0.6141 GB, free: 5.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.4675, allocations: 87.94 kB / 0.6142 GB, free: 5.113 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4675, allocations: 0 / 0.6142 GB, free: 5.113 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.4676, allocations: 55.91 kB / 0.6143 GB, free: 5.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.4679, allocations: 27 kB / 0.6143 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.4683, allocations: 227.1 kB / 0.6145 GB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.4686, allocations: 0.6965 MB / 0.6152 GB, free: 4.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.4686, allocations: 15.44 kB / 0.6152 GB, free: 4.039 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4686, allocations: 0 / 0.6152 GB, free: 4.039 MB / 426.7 MB Notification: Performance of Templates: time 0.003584/0.4722, allocations: 2.111 MB / 0.6173 GB, free: 1.926 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches