Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 193.7 kB / 16.78 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.355/1.355, allocations: 226.5 MB / 244.1 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007928/0.0007928, allocations: 97.5 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3629/0.3629, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002766, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.356, allocations: 62.96 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.4755, allocations: 91.32 MB / 0.6057 GB, free: 14.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4758, allocations: 71.97 kB / 0.6057 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.028/0.5038, allocations: 10.69 MB / 0.6162 GB, free: 3.293 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5039, allocations: 4 kB / 0.6162 GB, free: 3.289 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.391e-05/0.5039, allocations: 11.94 kB / 0.6162 GB, free: 3.277 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001212/0.5051, allocations: 0.8138 MB / 0.617 GB, free: 2.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5052, allocations: 8.031 kB / 0.617 GB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/0.5056, allocations: 108.1 kB / 0.6171 GB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007724/0.5064, allocations: 0.5316 MB / 0.6176 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.5064, allocations: 8.375 kB / 0.6176 GB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.5064, allocations: 16.36 kB / 0.6176 GB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.5068, allocations: 172.5 kB / 0.6178 GB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.5068, allocations: 8.094 kB / 0.6178 GB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.5068, allocations: 7.938 kB / 0.6178 GB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5068, allocations: 0 / 0.6178 GB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.5072, allocations: 143.8 kB / 0.6179 GB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.5083, allocations: 0.7663 MB / 0.6187 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.5086, allocations: 141.2 kB / 0.6188 GB, free: 400 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.5088, allocations: 77.8 kB / 0.6189 GB, free: 316 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.5088, allocations: 8 kB / 0.6189 GB, free: 308 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.5088, allocations: 30.56 kB / 0.6189 GB, free: 268 kB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.5088, allocations: 0 / 0.6189 GB, free: 268 kB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002066/0.5109, allocations: 0.8339 MB / 0.6197 GB, free: 15.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.511, allocations: 81.11 kB / 0.6198 GB, free: 15.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.5121, allocations: 0.9103 MB / 0.6207 GB, free: 14.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.5121, allocations: 25.7 kB / 0.6207 GB, free: 14.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.5123, allocations: 276.2 kB / 0.621 GB, free: 14.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.5124, allocations: 63.02 kB / 0.6211 GB, free: 14.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.5124, allocations: 4 kB / 0.6211 GB, free: 14.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5125, allocations: 314.2 kB / 0.6214 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.5128, allocations: 123.9 kB / 0.6215 GB, free: 13.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.5131, allocations: 153.5 kB / 0.6216 GB, free: 13.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/0.5137, allocations: 281.5 kB / 0.6219 GB, free: 13.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5137, allocations: 4 kB / 0.6219 GB, free: 13.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007313/0.5145, allocations: 376.6 kB / 0.6223 GB, free: 12.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5145, allocations: 8 kB / 0.6223 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5145, allocations: 0 / 0.6223 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5145, allocations: 224 / 0.6223 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.5148, allocations: 67.89 kB / 0.6223 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5148, allocations: 3.938 kB / 0.6223 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.515, allocations: 40.09 kB / 0.6224 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.5151, allocations: 8.188 kB / 0.6224 GB, free: 12.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002435/0.5153, allocations: 213.8 kB / 0.6226 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5154, allocations: 71.12 kB / 0.6227 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008982/0.5163, allocations: 430.5 kB / 0.6231 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5164, allocations: 0 / 0.6231 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.443e-06/0.5164, allocations: 4 kB / 0.6231 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.5164, allocations: 3.984 kB / 0.6231 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.518, allocations: 1.071 MB / 0.6241 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.518, allocations: 0 / 0.6241 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.5183, allocations: 63.94 kB / 0.6242 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5183, allocations: 4 kB / 0.6242 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.5183, allocations: 4 kB / 0.6242 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5183, allocations: 4 kB / 0.6242 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5183, allocations: 0 / 0.6242 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.5191, allocations: 0.5504 MB / 0.6247 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.5194, allocations: 180.3 kB / 0.6249 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.5194, allocations: 4.375 kB / 0.6249 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.5197, allocations: 35.97 kB / 0.6249 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.5198, allocations: 19.97 kB / 0.625 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.5198, allocations: 7.938 kB / 0.625 GB, free: 9.895 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008086/0.5206, allocations: 0.6707 MB / 0.6256 GB, free: 9.227 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5206, allocations: 0 / 0.6256 GB, free: 9.227 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004005/0.521, allocations: 87.94 kB / 0.6257 GB, free: 9.141 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0009137/0.5219, allocations: 428.6 kB / 0.6261 GB, free: 8.863 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006894/0.5226, allocations: 291.8 kB / 0.6264 GB, free: 8.578 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5227, allocations: 0 / 0.6264 GB, free: 8.578 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.523, allocations: 159.8 kB / 0.6265 GB, free: 8.422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.5236, allocations: 71.66 kB / 0.6266 GB, free: 8.352 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.5253, allocations: 1.169 MB / 0.6278 GB, free: 7.141 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.5258, allocations: 0.8885 MB / 0.6286 GB, free: 6.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.526, allocations: 59.28 kB / 0.6287 GB, free: 6.172 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.526, allocations: 0 / 0.6287 GB, free: 6.172 MB / 442.7 MB Notification: Performance of Templates: time 0.01038/0.5363, allocations: 6.718 MB / 0.6352 GB, free: 15.46 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches