Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007481/0.0007484, allocations: 98.19 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008631/0.0008631, allocations: 203.8 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 247.5 MB, free: 9.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1913/0.1913, allocations: 46.18 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002497/0.0002496, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 63.57 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.001744/0.1085, allocations: 1.326 MB / 485.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.1095, allocations: 0.5262 MB / 485.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.1095, allocations: 0 / 485.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.11, allocations: 447.2 kB / 486 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.1104, allocations: 275.5 kB / 486.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.1107, allocations: 111.6 kB / 486.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1109, allocations: 159.7 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.511e-05/0.111, allocations: 16.12 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1111, allocations: 99.78 kB / 486.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1113, allocations: 203.6 kB / 486.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1114, allocations: 4 kB / 486.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.117e-05/0.1114, allocations: 23.98 kB / 486.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-05/0.1115, allocations: 83.62 kB / 487 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.1116, allocations: 120.7 kB / 487.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.1118, allocations: 179.7 kB / 487.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1118, allocations: 4 kB / 487.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1118, allocations: 0 / 487.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1118, allocations: 0 / 487.3 MB, free: 0.5508 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005604/0.1124, allocations: 0.5836 MB / 487.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.1124, allocations: 8.875 kB / 487.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.1125, allocations: 48.38 kB / 487.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1127, allocations: 296.1 kB / 488.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1128, allocations: 12.31 kB / 488.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-06/0.1128, allocations: 384 / 488.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1129, allocations: 49.62 kB / 488.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-06/0.1129, allocations: 4 kB / 488.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.1129, allocations: 0 / 488.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-06/0.1129, allocations: 0 / 488.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/0.113, allocations: 23.98 kB / 488.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.1134, allocations: 376.8 kB / 488.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.581e-05/0.1135, allocations: 38.5 kB / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.1136, allocations: 12.92 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.1136, allocations: 4 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1136, allocations: 30.56 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1136, allocations: 0 / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.00023/0.1139, allocations: 113 kB / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1139, allocations: 51.41 kB / 488.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008101/0.1147, allocations: 0.8691 MB / 489.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1147, allocations: 25.7 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1149, allocations: 220.1 kB / 490 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.1149, allocations: 7.906 kB / 490 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.115, allocations: 13.7 kB / 490 MB, free: 13.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1151, allocations: 362.9 kB / 490.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.1152, allocations: 12 kB / 490.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.1152, allocations: 11.98 kB / 490.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.126e-05/0.1153, allocations: 32.84 kB / 490.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1153, allocations: 4.062 kB / 490.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001671/0.1155, allocations: 97.06 kB / 490.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1155, allocations: 4 kB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.1155, allocations: 0 / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/0.1155, allocations: 0 / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.1156, allocations: 11.98 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.1156, allocations: 0 / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.1156, allocations: 8.031 kB / 490.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1156, allocations: 0 / 490.6 MB, free: 13.03 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 (2): * Single equations (assignments): 2 * 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.000177/0.1158, allocations: 217.6 kB / 490.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.1159, allocations: 35.53 kB / 490.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.1161, allocations: 108.7 kB / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1161, allocations: 0 / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1161, allocations: 0 / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.1161, allocations: 7.969 kB / 490.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1164, allocations: 285.4 kB / 491.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1164, allocations: 0 / 491.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.1164, allocations: 11.94 kB / 491.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1164, allocations: 3.984 kB / 491.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.1165, allocations: 0 / 491.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1165, allocations: 0 / 491.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1165, allocations: 0 / 491.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1167, allocations: 195 kB / 491.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.1168, allocations: 112.5 kB / 491.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1168, allocations: 4 kB / 491.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.1169, allocations: 4 kB / 491.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.1169, allocations: 3.984 kB / 491.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1169, allocations: 3.938 kB / 491.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006316/0.1175, allocations: 0.6629 MB / 492.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1175, allocations: 0 / 492.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1178, allocations: 19.94 kB / 492.2 MB, free: 11.27 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 (2): * Single equations (assignments): 2 * 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.0008455/0.1186, allocations: 343 kB / 492.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1188, allocations: 19.98 kB / 492.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1188, allocations: 0 / 492.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.1189, allocations: 16 kB / 492.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1192, allocations: 18.3 kB / 492.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1203, allocations: 0.886 MB / 493.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.1206, allocations: 0.8185 MB / 494.3 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1207, allocations: 19.31 kB / 494.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of SimCode: time 1.904e-06/0.1207, allocations: 0 / 494.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of Templates: time 0.006604/0.1273, allocations: 3.377 MB / 497.7 MB, free: 5.816 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches