Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001203/0.001203, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2448/0.2448, allocations: 46.11 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 84.23 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.183, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.004255/0.1873, allocations: 1.658 MB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1886, allocations: 0.5805 MB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.1887, allocations: 0 / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007812/0.1895, allocations: 459.1 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.1901, allocations: 295.3 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.1908, allocations: 183 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.1912, allocations: 175.6 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1914, allocations: 23.97 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.1915, allocations: 111.8 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.1918, allocations: 219.5 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1919, allocations: 4 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.192, allocations: 35.98 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.1921, allocations: 87.67 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1922, allocations: 103 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.1926, allocations: 259 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1926, allocations: 0 / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1926, allocations: 0 / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1926, allocations: 4 kB / 484.3 MB, free: 1.016 MB / 350.1 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.000966/0.1936, allocations: 0.6532 MB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1937, allocations: 8.031 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/0.1938, allocations: 44.38 kB / 485 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.1942, allocations: 296.3 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1942, allocations: 4.375 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1942, allocations: 384 / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.1945, allocations: 73.78 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1945, allocations: 0 / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1945, allocations: 0 / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1945, allocations: 0 / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1947, allocations: 43.91 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.1954, allocations: 396.7 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1956, allocations: 50.56 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.1957, allocations: 24.94 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.1957, allocations: 3.984 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.1957, allocations: 38.5 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1958, allocations: 0 / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001097/0.1969, allocations: 315.8 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1969, allocations: 51.41 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.198, allocations: 0.8653 MB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.198, allocations: 25.7 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.1983, allocations: 220.1 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.1984, allocations: 23.66 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.1984, allocations: 17.72 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000263/0.1987, allocations: 366.7 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1988, allocations: 43.91 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1989, allocations: 35.95 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.1992, allocations: 92.8 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1992, allocations: 0 / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000345/0.1996, allocations: 161 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1996, allocations: 11.94 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1996, allocations: 0 / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1997, allocations: 4 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1998, allocations: 19.98 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1998, allocations: 0 / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.849e-05/0.1999, allocations: 15.92 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1999, allocations: 4 kB / 488.1 MB, free: 12.91 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 (7): * Single equations (assignments): 7 * 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.0002797/0.2002, allocations: 213.8 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.2003, allocations: 43.44 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.2007, allocations: 185.7 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2007, allocations: 4 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2007, allocations: 0 / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2007, allocations: 3.938 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.2015, allocations: 0.5102 MB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2016, allocations: 0 / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.2016, allocations: 20.2 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2017, allocations: 0 / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2017, allocations: 11.92 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2017, allocations: 0 / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2017, allocations: 0 / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.2021, allocations: 258.9 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/0.2022, allocations: 108.5 kB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.2022, allocations: 3.938 kB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2024, allocations: 15.98 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.2024, allocations: 4 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2024, allocations: 0 / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008664/0.2033, allocations: 0.655 MB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2033, allocations: 4 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.2036, allocations: 28 kB / 490.2 MB, free: 10.76 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 (7): * Single equations (assignments): 7 * 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.001646/0.2052, allocations: 407.3 kB / 490.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.2056, allocations: 87.92 kB / 490.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2056, allocations: 3.938 kB / 490.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.2057, allocations: 55.91 kB / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.2062, allocations: 32.33 kB / 490.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.2078, allocations: 0.8343 MB / 491.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006023/0.2084, allocations: 0.8338 MB / 492.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.573e-05/0.2085, allocations: 20.95 kB / 492.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.2086, allocations: 15.44 kB / 492.5 MB, free: 8.562 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2086, allocations: 0 / 492.5 MB, free: 8.562 MB / 366.1 MB Notification: Performance of Templates: time 0.00673/0.2153, allocations: 1.615 MB / 494.1 MB, free: 6.953 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches