Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2057/0.2057, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 75.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1089, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003242/0.1122, allocations: 1.613 MB / 483.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009325/0.1132, allocations: 0.5416 MB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.1132, allocations: 4 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.1137, allocations: 443.2 kB / 484.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.1141, allocations: 295.3 kB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1144, allocations: 131.5 kB / 484.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1146, allocations: 155.7 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.1147, allocations: 12.17 kB / 484.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.544e-05/0.1148, allocations: 111.8 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.115, allocations: 207.6 kB / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.115, allocations: 4 kB / 485 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.083e-05/0.1151, allocations: 27.98 kB / 485 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.1152, allocations: 79.69 kB / 485.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.1153, allocations: 99 kB / 485.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1155, allocations: 251 kB / 485.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1155, allocations: 4 kB / 485.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1155, allocations: 3.938 kB / 485.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1155, allocations: 0 / 485.4 MB, free: 0.5938 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.0006514/0.1162, allocations: 0.6259 MB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1162, allocations: 12.03 kB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.1163, allocations: 36.47 kB / 486.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1166, allocations: 296.2 kB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-06/0.1166, allocations: 384 / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1166, allocations: 4.375 kB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1167, allocations: 53.62 kB / 486.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1168, allocations: 0 / 486.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1168, allocations: 0 / 486.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1168, allocations: 4 kB / 486.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.1169, allocations: 23.92 kB / 486.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.1173, allocations: 384.7 kB / 486.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.1174, allocations: 26.58 kB / 486.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.1174, allocations: 16.91 kB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1175, allocations: 4 kB / 486.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1175, allocations: 42.38 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1175, allocations: 0 / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002236/0.1177, allocations: 93.2 kB / 487 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.1178, allocations: 55.53 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007485/0.1185, allocations: 0.8653 MB / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1186, allocations: 29.7 kB / 488 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1187, allocations: 216.1 kB / 488.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.1187, allocations: 7.906 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.1188, allocations: 13.72 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1189, allocations: 362.7 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.1189, allocations: 12 kB / 488.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.119, allocations: 15.92 kB / 488.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.1191, allocations: 24.84 kB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1191, allocations: 0 / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001359/0.1192, allocations: 89.12 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1192, allocations: 4 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1192, allocations: 0 / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1193, allocations: 4 kB / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.1193, allocations: 12.08 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1193, allocations: 0 / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.1194, allocations: 0 / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1194, allocations: 4 kB / 488.7 MB, free: 13.06 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.0001617/0.1196, allocations: 217.6 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.1196, allocations: 39.44 kB / 489 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.1198, allocations: 108.7 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1198, allocations: 4.031 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1198, allocations: 0 / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1198, allocations: 3.984 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.1201, allocations: 281.5 kB / 489.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1201, allocations: 0 / 489.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.1201, allocations: 8 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1201, allocations: 0 / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.1202, allocations: 0 / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1202, allocations: 0 / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1202, allocations: 3.984 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.1203, allocations: 194.9 kB / 489.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.1204, allocations: 112.6 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.1205, allocations: 0 / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.1205, allocations: 7.984 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-06/0.1205, allocations: 0 / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.1206, allocations: 4 kB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005502/0.1211, allocations: 0.6511 MB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1211, allocations: 7.969 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1214, allocations: 19.94 kB / 490.3 MB, free: 11.32 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.000704/0.1221, allocations: 343.6 kB / 490.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.1222, allocations: 27.98 kB / 490.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1222, allocations: 3.938 kB / 490.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.1223, allocations: 11.98 kB / 490.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1226, allocations: 25.86 kB / 490.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009175/0.1235, allocations: 0.7643 MB / 491.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1239, allocations: 0.8143 MB / 492.3 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.066e-05/0.1239, allocations: 11.98 kB / 492.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.124, allocations: 15.44 kB / 492.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.124, allocations: 0 / 492.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of Templates: time 0.004067/0.128, allocations: 1.242 MB / 493.6 MB, free: 8.133 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches