Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 46.09 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 84.42 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1067, allocations: 62.43 MB / 481.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.00324/0.11, allocations: 1.953 MB / 483.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1117, allocations: 1.083 MB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.1118, allocations: 4 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.1122, allocations: 263.1 kB / 484.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.1126, allocations: 263.1 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1138, allocations: 0.6489 MB / 485.6 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.1142, allocations: 315.2 kB / 486 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1144, allocations: 56.7 kB / 486 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1145, allocations: 139.4 kB / 486.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1147, allocations: 191.3 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1147, allocations: 8 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.96e-05/0.1149, allocations: 51.92 kB / 486.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.115, allocations: 91.72 kB / 486.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.233e-05/0.1151, allocations: 115 kB / 486.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.1154, allocations: 294.9 kB / 486.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1154, allocations: 4 kB / 486.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1154, allocations: 0 / 486.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1154, allocations: 0 / 486.9 MB, free: 15.06 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006597/0.1161, allocations: 0.63 MB / 487.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.1161, allocations: 8.031 kB / 487.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.1162, allocations: 40.47 kB / 487.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.1165, allocations: 326 kB / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1165, allocations: 4.375 kB / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1166, allocations: 8.375 kB / 487.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1167, allocations: 97.77 kB / 488 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1168, allocations: 0 / 488 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1168, allocations: 7.938 kB / 488 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1168, allocations: 4 kB / 488 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.1169, allocations: 71.83 kB / 488.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.1175, allocations: 460.5 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1176, allocations: 78.48 kB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.1177, allocations: 36.95 kB / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1178, allocations: 0 / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1178, allocations: 30.56 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.1178, allocations: 0 / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003426/0.1181, allocations: 153.2 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1182, allocations: 59.28 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.1187, allocations: 0.576 MB / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1188, allocations: 29.7 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1189, allocations: 200 kB / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1189, allocations: 15.73 kB / 489.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.119, allocations: 21.72 kB / 489.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1191, allocations: 350.8 kB / 490 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.1192, allocations: 23.98 kB / 490.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.413e-05/0.1192, allocations: 31.97 kB / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1194, allocations: 64.83 kB / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1194, allocations: 3.938 kB / 490.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001996/0.1196, allocations: 125.2 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1196, allocations: 11.94 kB / 490.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1196, allocations: 0 / 490.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1196, allocations: 0 / 490.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.1197, allocations: 15.92 kB / 490.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1197, allocations: 4 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.1198, allocations: 7.906 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1198, allocations: 8 kB / 490.3 MB, free: 11.38 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 (6): * Single equations (assignments): 6 * 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.0001365/0.1199, allocations: 169.8 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.12, allocations: 35.97 kB / 490.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.1203, allocations: 153 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1203, allocations: 7.938 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1203, allocations: 0 / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1203, allocations: 3.984 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.1206, allocations: 305.5 kB / 491 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1206, allocations: 3.984 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.1207, allocations: 8 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1207, allocations: 3.984 kB / 491 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1207, allocations: 4 kB / 491 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1207, allocations: 3.938 kB / 491 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1207, allocations: 3.984 kB / 491 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.121, allocations: 231 kB / 491.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.121, allocations: 96.73 kB / 491.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1211, allocations: 4 kB / 491.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.1212, allocations: 3.938 kB / 491.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.1212, allocations: 11.92 kB / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1212, allocations: 0 / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003864/0.1216, allocations: 431.1 kB / 491.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1216, allocations: 0 / 491.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1219, allocations: 32 kB / 491.8 MB, free: 9.793 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 (6): * Single equations (assignments): 6 * 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.001256/0.1231, allocations: 0.5833 MB / 492.4 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1233, allocations: 67.95 kB / 492.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1233, allocations: 0 / 492.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/0.1234, allocations: 35.91 kB / 492.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.1239, allocations: 75.89 kB / 492.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008635/0.1247, allocations: 0.6348 MB / 493.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1251, allocations: 0.8138 MB / 494 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.1253, allocations: 53.47 kB / 494.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.1253, allocations: 27.42 kB / 494.1 MB, free: 7.691 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1253, allocations: 0 / 494.1 MB, free: 7.691 MB / 366.1 MB Notification: Performance of Templates: time 0.005615/0.1309, allocations: 2.727 MB / 496.8 MB, free: 4.973 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches