Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001432/0.001432, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 75.84 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 62.46 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003506/0.1111, allocations: 1.678 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1122, allocations: 0.5533 MB / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.1123, allocations: 0 / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.1129, allocations: 459.1 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005236/0.1134, allocations: 299.3 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.1139, allocations: 127.6 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1141, allocations: 179.7 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1143, allocations: 28.14 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1144, allocations: 115.7 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.1147, allocations: 211.6 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1147, allocations: 8 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1148, allocations: 51.97 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.115, allocations: 87.69 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.1151, allocations: 102.9 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.1154, allocations: 274.9 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1154, allocations: 0 / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1154, allocations: 0 / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1155, allocations: 0 / 484.2 MB, free: 1.055 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007838/0.1162, allocations: 0.6494 MB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1163, allocations: 16.03 kB / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.1164, allocations: 48.31 kB / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.1167, allocations: 296.3 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1167, allocations: 4.375 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1167, allocations: 384 / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1169, allocations: 73.72 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1169, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.117, allocations: 4 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.117, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1171, allocations: 39.97 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.1176, allocations: 408.5 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1178, allocations: 54.55 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.1179, allocations: 28.97 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1179, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.118, allocations: 42.53 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.118, allocations: 0 / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001543/0.1195, allocations: 468 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.1196, allocations: 59.34 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/0.1204, allocations: 0.8574 MB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1205, allocations: 29.7 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.1207, allocations: 216 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.1207, allocations: 31.47 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.1208, allocations: 29.7 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1209, allocations: 358.8 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.121, allocations: 47.95 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1212, allocations: 43.97 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.1214, allocations: 100.7 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1214, allocations: 0 / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003275/0.1218, allocations: 181.1 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1218, allocations: 6.656 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1218, allocations: 0 / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1218, allocations: 4 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1219, allocations: 27.92 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1219, allocations: 0 / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.122, allocations: 7.984 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.122, allocations: 8 kB / 488.3 MB, free: 12.73 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 (11): * Single equations (assignments): 11 * 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.0001783/0.1222, allocations: 221.7 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.1223, allocations: 47.38 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.1227, allocations: 205.3 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1227, allocations: 3.938 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1227, allocations: 8 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1227, allocations: 0 / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007491/0.1235, allocations: 0.5662 MB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1235, allocations: 0 / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.1236, allocations: 40.16 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1236, allocations: 0 / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1236, allocations: 8 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1236, allocations: 0 / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1237, allocations: 0 / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.124, allocations: 289.1 kB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.1241, allocations: 108.6 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1241, allocations: 0 / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1243, allocations: 11.98 kB / 489.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1243, allocations: 15.92 kB / 489.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1243, allocations: 7.984 kB / 489.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005563/0.1249, allocations: 0.6511 MB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1249, allocations: 0 / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.1252, allocations: 31.98 kB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009882/0.1262, allocations: 459.5 kB / 491 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1265, allocations: 111.9 kB / 491.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1265, allocations: 0 / 491.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1267, allocations: 59.89 kB / 491.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1271, allocations: 33.89 kB / 491.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1282, allocations: 0.848 MB / 492 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.1287, allocations: 0.8299 MB / 492.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.902e-05/0.1287, allocations: 16.55 kB / 492.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.1288, allocations: 15.44 kB / 492.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1288, allocations: 0 / 492.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of Templates: time 0.005055/0.1338, allocations: 1.869 MB / 494.7 MB, free: 6.297 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches