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.0009864/0.0009865, allocations: 200 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007468/0.0007468, allocations: 98.83 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1783/0.1783, allocations: 44.84 MB / 392 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09404, allocations: 62.95 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002163/0.09624, allocations: 1.732 MB / 0.517 GB, free: 1.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1835/0.2798, allocations: 1.251 MB / 0.5182 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.28, allocations: 1.625 kB / 0.5182 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.2803, allocations: 47.19 kB / 0.5183 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.2807, allocations: 183.4 kB / 0.5185 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2822, allocations: 0.5533 MB / 0.519 GB, free: 9.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006061/0.2829, allocations: 295.5 kB / 0.5193 GB, free: 9.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.2831, allocations: 59.41 kB / 0.5193 GB, free: 9.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.2834, allocations: 130.2 kB / 0.5195 GB, free: 9.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.2838, allocations: 172.5 kB / 0.5196 GB, free: 9.703 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.2838, allocations: 11.91 kB / 0.5196 GB, free: 9.699 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.284, allocations: 53.19 kB / 0.5197 GB, free: 9.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.2841, allocations: 138.8 kB / 0.5198 GB, free: 9.676 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.2842, allocations: 82.73 kB / 0.5199 GB, free: 9.629 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.2846, allocations: 302.7 kB / 0.5202 GB, free: 9.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2846, allocations: 2.547 kB / 0.5202 GB, free: 9.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2846, allocations: 0 / 0.5202 GB, free: 9.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.2846, allocations: 0 / 0.5202 GB, free: 9.594 MB / 346.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.0008332/0.2855, allocations: 0.7349 MB / 0.5209 GB, free: 9.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2855, allocations: 8.594 kB / 0.5209 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/0.2859, allocations: 101.5 kB / 0.521 GB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.2864, allocations: 453.8 kB / 0.5214 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2865, allocations: 10.03 kB / 0.5215 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.2865, allocations: 10.22 kB / 0.5215 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.2869, allocations: 165.8 kB / 0.5216 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2869, allocations: 9.125 kB / 0.5216 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.287, allocations: 1.25 kB / 0.5216 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.287, allocations: 3.234 kB / 0.5216 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.2873, allocations: 137.4 kB / 0.5218 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.2883, allocations: 0.7182 MB / 0.5225 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.2886, allocations: 140.5 kB / 0.5226 GB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.2888, allocations: 77.59 kB / 0.5227 GB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.2888, allocations: 2.609 kB / 0.5227 GB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2888, allocations: 39.36 kB / 0.5227 GB, free: 8.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.655e-06/0.2888, allocations: 3.984 kB / 0.5227 GB, free: 8.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002176/0.291, allocations: 0.8239 MB / 0.5235 GB, free: 7.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.2911, allocations: 83.52 kB / 0.5236 GB, free: 7.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.2922, allocations: 0.894 MB / 0.5245 GB, free: 7.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2922, allocations: 29.78 kB / 0.5245 GB, free: 7.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.2924, allocations: 263.7 kB / 0.5248 GB, free: 7.617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.2925, allocations: 69.98 kB / 0.5248 GB, free: 7.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.2925, allocations: 3.906 kB / 0.5248 GB, free: 7.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2927, allocations: 372.5 kB / 0.5252 GB, free: 7.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.293, allocations: 132.7 kB / 0.5253 GB, free: 7.246 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.2933, allocations: 143.5 kB / 0.5254 GB, free: 7.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.2937, allocations: 136.8 kB / 0.5256 GB, free: 7.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2937, allocations: 0 / 0.5256 GB, free: 7.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007387/0.2945, allocations: 367.4 kB / 0.5259 GB, free: 7.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2945, allocations: 7.562 kB / 0.5259 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2945, allocations: 384 / 0.5259 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2945, allocations: 2.812 kB / 0.5259 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.2948, allocations: 66.69 kB / 0.526 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2949, allocations: 1.922 kB / 0.526 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.2951, allocations: 37.19 kB / 0.526 GB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2951, allocations: 7.094 kB / 0.526 GB, free: 7.012 MB / 346.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.0002279/0.2953, allocations: 222.8 kB / 0.5263 GB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.2954, allocations: 58.08 kB / 0.5263 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009547/0.2964, allocations: 433.2 kB / 0.5267 GB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2964, allocations: 2.219 kB / 0.5267 GB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2964, allocations: 1.281 kB / 0.5267 GB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2964, allocations: 1.953 kB / 0.5267 GB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.2979, allocations: 0.9801 MB / 0.5277 GB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2979, allocations: 1.266 kB / 0.5277 GB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.2983, allocations: 69.62 kB / 0.5278 GB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2983, allocations: 2.062 kB / 0.5278 GB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.2983, allocations: 4.484 kB / 0.5278 GB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2984, allocations: 0.9688 kB / 0.5278 GB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2984, allocations: 6.641 kB / 0.5278 GB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.2991, allocations: 0.5404 MB / 0.5283 GB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.2993, allocations: 150.2 kB / 0.5284 GB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.2993, allocations: 6.734 kB / 0.5284 GB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.2996, allocations: 38.09 kB / 0.5285 GB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.2996, allocations: 18.83 kB / 0.5285 GB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2997, allocations: 10.62 kB / 0.5285 GB, free: 5.645 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006944/0.3004, allocations: 0.6541 MB / 0.5291 GB, free: 5.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3004, allocations: 1.281 kB / 0.5291 GB, free: 5.422 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.3007, allocations: 66.89 kB / 0.5292 GB, free: 5.41 MB / 346.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.0007496/0.3015, allocations: 394.3 kB / 0.5296 GB, free: 5.215 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006657/0.3022, allocations: 298.7 kB / 0.5299 GB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3022, allocations: 0 / 0.5299 GB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.3025, allocations: 160 kB / 0.53 GB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.3031, allocations: 70.59 kB / 0.5301 GB, free: 5.078 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3046, allocations: 1.102 MB / 0.5312 GB, free: 4.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3049, allocations: 0.8747 MB / 0.532 GB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3051, allocations: 47.2 kB / 0.5321 GB, free: 3.762 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.3051, allocations: 0 / 0.5321 GB, free: 3.762 MB / 346.7 MB Notification: Performance of Templates: time 0.009544/0.3146, allocations: 6.213 MB / 0.5381 GB, free: 1.938 MB / 346.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/jenkins/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