Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 115.8 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.001373/0.001373, allocations: 199.5 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.34/1.34, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.11 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 76.66 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 62.44 MB / 481.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003114/0.111, allocations: 1.652 MB / 483.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009251/0.1119, allocations: 0.5494 MB / 483.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.112, allocations: 0 / 483.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.1125, allocations: 459.1 kB / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.113, allocations: 291.3 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1133, allocations: 131 kB / 484.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1135, allocations: 163.7 kB / 484.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.1136, allocations: 19.97 kB / 484.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1138, allocations: 107.8 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.114, allocations: 219.5 kB / 485 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.114, allocations: 0 / 485 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.1141, allocations: 39.98 kB / 485.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.508e-05/0.1142, allocations: 79.69 kB / 485.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.121e-05/0.1143, allocations: 99 kB / 485.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.1146, allocations: 262.9 kB / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1146, allocations: 0 / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1146, allocations: 3.938 kB / 485.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1146, allocations: 4 kB / 485.5 MB, free: 0.5 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.0006484/0.1153, allocations: 0.6375 MB / 486.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.1153, allocations: 8.031 kB / 486.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.1154, allocations: 44.47 kB / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1156, allocations: 300.1 kB / 486.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1156, allocations: 384 / 486.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1157, allocations: 4.375 kB / 486.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.1158, allocations: 57.8 kB / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1158, allocations: 4 kB / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1158, allocations: 4 kB / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1158, allocations: 3.938 kB / 486.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.1159, allocations: 27.97 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.1163, allocations: 380.7 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1165, allocations: 42.5 kB / 487 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.1166, allocations: 28.94 kB / 487 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1166, allocations: 80 / 487 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1166, allocations: 34.56 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1166, allocations: 0 / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000524/0.1172, allocations: 223.9 kB / 487.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1172, allocations: 59.41 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007242/0.1179, allocations: 0.8614 MB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.118, allocations: 33.7 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1181, allocations: 224 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1181, allocations: 19.75 kB / 488.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.1182, allocations: 17.72 kB / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1183, allocations: 366.7 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.1184, allocations: 23.98 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.1184, allocations: 15.98 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1186, allocations: 44.83 kB / 488.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1186, allocations: 0 / 488.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001927/0.1188, allocations: 121 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1188, allocations: 4 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1188, allocations: 0 / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1188, allocations: 4 kB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.1189, allocations: 15.98 kB / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1189, allocations: 0 / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.119, allocations: 11.88 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.119, allocations: 0 / 489.1 MB, free: 12.69 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 (5): * Single equations (assignments): 5 * 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.0001586/0.1191, allocations: 213.8 kB / 489.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.1192, allocations: 39.78 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.1194, allocations: 137 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1195, allocations: 7.984 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1195, allocations: 0 / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1195, allocations: 3.938 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.12, allocations: 458.4 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.12, allocations: 0 / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.12, allocations: 15.92 kB / 489.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.12, allocations: 8 kB / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.12, allocations: 3.938 kB / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1201, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1201, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1203, allocations: 207.3 kB / 490.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/0.1204, allocations: 108.5 kB / 490.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1204, allocations: 11.92 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.1205, allocations: 4 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.1205, allocations: 11.98 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.1205, allocations: 0 / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005283/0.1211, allocations: 0.6511 MB / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1211, allocations: 0 / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1213, allocations: 24 kB / 490.9 MB, free: 10.7 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 (5): * Single equations (assignments): 5 * 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.0008258/0.1222, allocations: 407.5 kB / 491.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1223, allocations: 51.95 kB / 491.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1224, allocations: 4 kB / 491.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.607e-05/0.1224, allocations: 19.98 kB / 491.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1228, allocations: 29.86 kB / 491.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009496/0.1237, allocations: 0.7912 MB / 492.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.1241, allocations: 0.826 MB / 493.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.024e-05/0.1242, allocations: 11.97 kB / 493.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.1242, allocations: 11.44 kB / 493.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1242, allocations: 0 / 493.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of Templates: time 0.004231/0.1284, allocations: 1.469 MB / 494.6 MB, free: 7.184 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches