Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008274/0.0008276, allocations: 93.41 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 202.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 247.5 MB, free: 11.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1872/0.1872, allocations: 46.18 MB / 345.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002446/0.0002447, allocations: 8.281 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1019, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001915/0.1039, allocations: 1.326 MB / 485.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009563/0.1049, allocations: 0.534 MB / 485.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.1049, allocations: 3.938 kB / 485.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.1052, allocations: 67.84 kB / 485.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.1054, allocations: 87.77 kB / 485.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1057, allocations: 83.34 kB / 485.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1058, allocations: 71.83 kB / 485.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.1059, allocations: 23.97 kB / 485.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.106, allocations: 27.86 kB / 486 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.592e-05/0.1061, allocations: 55.75 kB / 486 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1061, allocations: 4 kB / 486 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.864e-05/0.1062, allocations: 39.98 kB / 486 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.1063, allocations: 23.91 kB / 486.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.1063, allocations: 53.45 kB / 486.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1065, allocations: 75.89 kB / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1065, allocations: 0 / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1065, allocations: 0 / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1065, allocations: 4 kB / 486.2 MB, free: 1.648 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.0004217/0.1069, allocations: 399.4 kB / 486.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.107, allocations: 8.875 kB / 486.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.107, allocations: 16.75 kB / 486.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1072, allocations: 202.6 kB / 486.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1072, allocations: 384 / 486.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1073, allocations: 4.375 kB / 486.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1074, allocations: 61.8 kB / 486.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1074, allocations: 0 / 486.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1074, allocations: 4 kB / 486.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1074, allocations: 0 / 486.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1075, allocations: 27.97 kB / 486.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.1079, allocations: 312.6 kB / 487.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.1081, allocations: 42.56 kB / 487.3 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.1081, allocations: 20.94 kB / 487.3 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1082, allocations: 3.938 kB / 487.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1082, allocations: 34.56 kB / 487.3 MB, free: 380 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1082, allocations: 4 kB / 487.3 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009159/0.1091, allocations: 253.3 kB / 487.6 MB, free: 116 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1092, allocations: 51.41 kB / 487.6 MB, free: 52 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1094, allocations: 214.7 kB / 487.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1094, allocations: 29.69 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.1095, allocations: 112.1 kB / 488 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.1095, allocations: 31.7 kB / 488 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.1095, allocations: 9.719 kB / 488 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1097, allocations: 326.8 kB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.1097, allocations: 23.98 kB / 488.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-05/0.1098, allocations: 40.03 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.11, allocations: 68.84 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.11, allocations: 0 / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000224/0.1102, allocations: 113.4 kB / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1102, allocations: 4 kB / 488.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1103, allocations: 0 / 488.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1103, allocations: 4 kB / 488.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1104, allocations: 19.98 kB / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1104, allocations: 0 / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.1104, allocations: 15.92 kB / 488.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1105, allocations: 4 kB / 488.6 MB, free: 15.01 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 (8): * Single equations (assignments): 8 * 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.0001014/0.1106, allocations: 121.8 kB / 488.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1106, allocations: 11.91 kB / 488.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.1109, allocations: 138.8 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1109, allocations: 0 / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1109, allocations: 4 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1109, allocations: 7.922 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.1115, allocations: 403.3 kB / 489.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1115, allocations: 4.031 kB / 489.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.1116, allocations: 16 kB / 489.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.1116, allocations: 7.922 kB / 489.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1116, allocations: 12 kB / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1116, allocations: 0 / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1116, allocations: 0 / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1119, allocations: 220.5 kB / 489.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.112, allocations: 88.95 kB / 489.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.112, allocations: 4 kB / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.1121, allocations: 11.98 kB / 489.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.1121, allocations: 0 / 489.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1121, allocations: 4 kB / 489.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1123, allocations: 184.6 kB / 489.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1123, allocations: 0 / 489.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1126, allocations: 20 kB / 489.8 MB, free: 13.67 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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.001007/0.1136, allocations: 440.1 kB / 490.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1138, allocations: 67.91 kB / 490.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1138, allocations: 0 / 490.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.619e-05/0.1139, allocations: 51.97 kB / 490.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1143, allocations: 34.89 kB / 490.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.1148, allocations: 315.8 kB / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1151, allocations: 0.7083 MB / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1151, allocations: 19.42 kB / 491.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1151, allocations: 0 / 491.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Templates: time 0.003529/0.1186, allocations: 1.734 MB / 493.2 MB, free: 10.41 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches