Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0017/0.0017, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.9 MB, free: 8.887 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 46.12 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 77.72 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 62.45 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003094/0.1047, allocations: 1.718 MB / 481.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.1057, allocations: 0.5494 MB / 482.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.1058, allocations: 0 / 482.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.1063, allocations: 451.2 kB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.1068, allocations: 283.4 kB / 482.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1071, allocations: 115.5 kB / 483 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.1073, allocations: 167.6 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1075, allocations: 23.97 kB / 483.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1076, allocations: 107.7 kB / 483.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1078, allocations: 207.5 kB / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1079, allocations: 0 / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.454e-05/0.108, allocations: 43.97 kB / 483.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1081, allocations: 87.56 kB / 483.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.1082, allocations: 103 kB / 483.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1084, allocations: 187.8 kB / 483.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1084, allocations: 0 / 483.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1084, allocations: 0 / 483.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1084, allocations: 4 kB / 484 MB, free: 1.66 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.0007051/0.1091, allocations: 0.6378 MB / 484.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1092, allocations: 12.88 kB / 484.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.1092, allocations: 44.38 kB / 484.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1095, allocations: 304.1 kB / 484.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-06/0.1095, allocations: 384 / 484.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.1096, allocations: 8.375 kB / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1097, allocations: 65.67 kB / 485 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1098, allocations: 0 / 485 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1098, allocations: 4 kB / 485 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1098, allocations: 0 / 485 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1099, allocations: 35.97 kB / 485.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1104, allocations: 384.7 kB / 485.4 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.1105, allocations: 46.5 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.1106, allocations: 24.94 kB / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1106, allocations: 4 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1107, allocations: 30.56 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1107, allocations: 0 / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008722/0.1116, allocations: 303.8 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.1116, allocations: 55.41 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.1124, allocations: 0.8535 MB / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1124, allocations: 25.7 kB / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1126, allocations: 216.1 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.1126, allocations: 23.66 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.1127, allocations: 21.7 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1128, allocations: 362.7 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.113, allocations: 35.97 kB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1131, allocations: 31.97 kB / 487.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1133, allocations: 80.73 kB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1133, allocations: 0 / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003065/0.1136, allocations: 149.1 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1136, allocations: 4 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1137, allocations: 0 / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1137, allocations: 4 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1138, allocations: 19.98 kB / 487.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1138, allocations: 0 / 487.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/0.1139, allocations: 19.92 kB / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1139, allocations: 7.938 kB / 487.7 MB, free: 13.66 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.0001802/0.1141, allocations: 213.7 kB / 487.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.1142, allocations: 43.44 kB / 488 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.1145, allocations: 165.7 kB / 488.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1146, allocations: 0 / 488.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1146, allocations: 0 / 488.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1146, allocations: 11.88 kB / 488.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.1152, allocations: 0.4906 MB / 488.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1152, allocations: 0 / 488.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.1153, allocations: 19.98 kB / 488.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1153, allocations: 0 / 488.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1154, allocations: 11.92 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1154, allocations: 4 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1154, allocations: 0 / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.1157, allocations: 238.9 kB / 488.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.1158, allocations: 104.6 kB / 489 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1158, allocations: 7.938 kB / 489 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1159, allocations: 16.27 kB / 489 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.116, allocations: 7.984 kB / 489 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.116, allocations: 0 / 489 MB, free: 12.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005759/0.1166, allocations: 0.6472 MB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1166, allocations: 4 kB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1169, allocations: 28 kB / 489.7 MB, free: 11.56 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.0008963/0.1178, allocations: 395.3 kB / 490.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.1181, allocations: 79.88 kB / 490.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1181, allocations: 0 / 490.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1182, allocations: 43.97 kB / 490.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1186, allocations: 21.95 kB / 490.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1198, allocations: 0.9393 MB / 491.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.1202, allocations: 0.8185 MB / 492 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.1203, allocations: 15.44 kB / 492 MB, free: 9.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1203, allocations: 0 / 492 MB, free: 9.32 MB / 366.1 MB Notification: Performance of Templates: time 0.006853/0.1271, allocations: 3.829 MB / 495.8 MB, free: 5.484 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches