Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, 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.385/1.385, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008542/0.000854, allocations: 104.9 kB / 296.1 MB, free: 6.887 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 / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002388/0.0002388, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.274, allocations: 62.95 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.3771, allocations: 90.51 MB / 0.6049 GB, free: 14.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3773, allocations: 75.95 kB / 0.6049 GB, free: 14.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.014/0.3913, allocations: 5.755 MB / 0.6106 GB, free: 9.023 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.592e-06/0.3914, allocations: 3.938 kB / 0.6106 GB, free: 9.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3914, allocations: 0 / 0.6106 GB, free: 9.02 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.000461/0.3918, allocations: 419.5 kB / 0.611 GB, free: 8.559 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3919, allocations: 12.88 kB / 0.611 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.3919, allocations: 8.844 kB / 0.611 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.3922, allocations: 208.1 kB / 0.6112 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.3922, allocations: 384 / 0.6112 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.3922, allocations: 4.375 kB / 0.6112 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3924, allocations: 87.89 kB / 0.6113 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3924, allocations: 192 / 0.6113 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3924, allocations: 3.938 kB / 0.6113 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3924, allocations: 0 / 0.6113 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3926, allocations: 47.95 kB / 0.6113 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.393, allocations: 316.7 kB / 0.6116 GB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3931, allocations: 54.55 kB / 0.6117 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.3932, allocations: 32.94 kB / 0.6117 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3932, allocations: 0 / 0.6117 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.3933, allocations: 30.56 kB / 0.6117 GB, free: 7.648 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3933, allocations: 0 / 0.6117 GB, free: 7.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007514/0.394, allocations: 269.3 kB / 0.612 GB, free: 7.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3941, allocations: 81.11 kB / 0.6121 GB, free: 7.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.3942, allocations: 155.9 kB / 0.6122 GB, free: 7.121 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3943, allocations: 25.7 kB / 0.6122 GB, free: 7.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.3943, allocations: 100.1 kB / 0.6123 GB, free: 6.988 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.3944, allocations: 19.66 kB / 0.6123 GB, free: 6.969 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.3944, allocations: 4 kB / 0.6124 GB, free: 6.965 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3945, allocations: 328 kB / 0.6127 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3946, allocations: 43.97 kB / 0.6127 GB, free: 6.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.3948, allocations: 65.61 kB / 0.6128 GB, free: 6.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.395, allocations: 113 kB / 0.6129 GB, free: 6.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.395, allocations: 0 / 0.6129 GB, free: 6.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002874/0.3953, allocations: 141.4 kB / 0.613 GB, free: 6.266 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3953, allocations: 7.938 kB / 0.613 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3953, allocations: 0 / 0.613 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.3953, allocations: 3.938 kB / 0.613 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3954, allocations: 31.97 kB / 0.6131 GB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3955, allocations: 3.938 kB / 0.6131 GB, free: 6.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.287e-05/0.3955, allocations: 16 kB / 0.6131 GB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3956, allocations: 7.984 kB / 0.6131 GB, free: 6.195 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.935e-05/0.3957, allocations: 121.8 kB / 0.6132 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.3957, allocations: 7.906 kB / 0.6132 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.396, allocations: 150.3 kB / 0.6133 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3961, allocations: 4 kB / 0.6134 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3961, allocations: 0 / 0.6134 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3961, allocations: 0 / 0.6134 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.3966, allocations: 438.4 kB / 0.6138 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3966, allocations: 3.984 kB / 0.6138 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.3967, allocations: 19.98 kB / 0.6138 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3967, allocations: 4 kB / 0.6138 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3967, allocations: 4 kB / 0.6138 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3967, allocations: 0 / 0.6138 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3968, allocations: 3.938 kB / 0.6138 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.3971, allocations: 239.3 kB / 0.614 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.3971, allocations: 89 kB / 0.6141 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3972, allocations: 4 kB / 0.6141 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.3973, allocations: 15.98 kB / 0.6141 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.3973, allocations: 11.94 kB / 0.6141 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3973, allocations: 0 / 0.6141 GB, free: 4.996 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.792e-05/0.3974, allocations: 121 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3974, allocations: 0 / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.3977, allocations: 59.91 kB / 0.6143 GB, free: 4.82 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.0009889/0.3987, allocations: 0.4979 MB / 0.6148 GB, free: 4.492 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.399, allocations: 107.9 kB / 0.6149 GB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.399, allocations: 0 / 0.6149 GB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.3992, allocations: 59.95 kB / 0.615 GB, free: 4.328 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3994, allocations: 8 kB / 0.615 GB, free: 4.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.3999, allocations: 254.6 kB / 0.6152 GB, free: 4.031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.4002, allocations: 0.7082 MB / 0.6159 GB, free: 3.297 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.4002, allocations: 15.44 kB / 0.6159 GB, free: 3.285 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4002, allocations: 4 kB / 0.6159 GB, free: 3.281 MB / 426.7 MB Notification: Performance of Templates: time 0.003603/0.4038, allocations: 2.196 MB / 0.6181 GB, free: 1.09 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches