Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001585, allocations: 103.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001894/0.001894, allocations: 209.8 kB / 18.92 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.582/2.582, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4041/0.4041, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 79.55 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.308, allocations: 62.44 MB / 480.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.01094/0.319, allocations: 2.101 MB / 482.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.3227, allocations: 1.111 MB / 483.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.323, allocations: 4 kB / 483.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3241, allocations: 255.4 kB / 483.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.3252, allocations: 239.3 kB / 483.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007144/0.3324, allocations: 0.6059 MB / 484.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009798/0.3334, allocations: 347.1 kB / 484.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.3338, allocations: 80.69 kB / 484.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.3342, allocations: 147.4 kB / 485 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.3347, allocations: 215.2 kB / 485.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.3348, allocations: 12 kB / 485.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.3352, allocations: 103.9 kB / 485.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.3355, allocations: 103.7 kB / 485.4 MB, free: 340 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.3357, allocations: 126.9 kB / 485.6 MB, free: 212 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006776/0.3364, allocations: 259.9 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.3364, allocations: 0 / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3364, allocations: 4 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.3365, allocations: 0 / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001351/0.3378, allocations: 0.6649 MB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.3379, allocations: 9.109 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3381, allocations: 40.47 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.3387, allocations: 338 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3387, allocations: 8.375 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.3388, allocations: 12.38 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.3393, allocations: 121.7 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.3393, allocations: 7.984 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.3393, allocations: 4 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3394, allocations: 0 / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003591/0.3397, allocations: 95.88 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3409, allocations: 0.5042 MB / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.3413, allocations: 114.4 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.3415, allocations: 40.83 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.3415, allocations: 8 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.912e-05/0.3416, allocations: 34.56 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.765e-06/0.3416, allocations: 0 / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.006214/0.3479, allocations: 447.9 kB / 488.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.348, allocations: 55.34 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3492, allocations: 0.5798 MB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.3493, allocations: 25.7 kB / 488.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.3495, allocations: 208.3 kB / 489.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.335e-05/0.3496, allocations: 51.17 kB / 489.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3497, allocations: 37.7 kB / 489.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.35, allocations: 354.8 kB / 489.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.3502, allocations: 59.95 kB / 489.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.3505, allocations: 78.14 kB / 489.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.351, allocations: 160.7 kB / 489.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.351, allocations: 3.938 kB / 489.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008578/0.3519, allocations: 230.9 kB / 490.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.352, allocations: 4 kB / 490.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.352, allocations: 3.938 kB / 490.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/0.352, allocations: 7.984 kB / 490.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.3523, allocations: 31.98 kB / 490.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.3523, allocations: 4 kB / 490.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.3525, allocations: 11.94 kB / 490.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.3526, allocations: 7.984 kB / 490.1 MB, free: 11.41 MB / 366.1 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003023/0.3529, allocations: 181.7 kB / 490.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.353, allocations: 43.44 kB / 490.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009889/0.354, allocations: 284.1 kB / 490.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3541, allocations: 0 / 490.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3541, allocations: 4 kB / 490.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.3541, allocations: 3.984 kB / 490.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.3557, allocations: 0.67 MB / 491.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3558, allocations: 4 kB / 491.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.356, allocations: 39.91 kB / 491.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.356, allocations: 0 / 491.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3561, allocations: 4 kB / 491.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3561, allocations: 0 / 491.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.3561, allocations: 3.938 kB / 491.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.357, allocations: 334.8 kB / 491.7 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.3572, allocations: 104.6 kB / 491.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.3573, allocations: 4 kB / 491.8 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.3575, allocations: 7.984 kB / 491.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.3576, allocations: 19.92 kB / 491.8 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3576, allocations: 4 kB / 491.8 MB, free: 9.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006645/0.3583, allocations: 427.1 kB / 492.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.595e-06/0.3583, allocations: 0 / 492.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004763/0.3631, allocations: 47.94 kB / 492.3 MB, free: 9.148 MB / 366.1 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002988/0.3661, allocations: 0.7008 MB / 493 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007875/0.3669, allocations: 167.8 kB / 493.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.3669, allocations: 0 / 493.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.3673, allocations: 103.7 kB / 493.2 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3684, allocations: 85.95 kB / 493.3 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.3707, allocations: 0.8442 MB / 494.2 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/0.3714, allocations: 0.8143 MB / 495 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.3716, allocations: 39.42 kB / 495 MB, free: 6.629 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3716, allocations: 0 / 495 MB, free: 6.629 MB / 366.1 MB Notification: Performance of Templates: time 0.01869/0.3903, allocations: 4.788 MB / 499.8 MB, free: 1.852 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches