Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 79.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1066, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002982/0.1096, allocations: 1.654 MB / 483.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1107, allocations: 0.5767 MB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.1108, allocations: 0 / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.1113, allocations: 459.1 kB / 484.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.1117, allocations: 299.3 kB / 484.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1122, allocations: 175.2 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.1124, allocations: 175.6 kB / 484.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1125, allocations: 31.95 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1126, allocations: 111.7 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1128, allocations: 219.6 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1129, allocations: 8 kB / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-05/0.1129, allocations: 27.98 kB / 485.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.113, allocations: 79.7 kB / 485.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/0.1131, allocations: 107 kB / 485.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1134, allocations: 270.9 kB / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1134, allocations: 4 kB / 485.6 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1134, allocations: 0 / 485.6 MB, free: 364 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1134, allocations: 0 / 485.6 MB, free: 364 kB / 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.0009436/0.1144, allocations: 0.6453 MB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1144, allocations: 12.03 kB / 486.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.1145, allocations: 44.38 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1149, allocations: 296.2 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1149, allocations: 384 / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.115, allocations: 12.31 kB / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1151, allocations: 61.78 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1151, allocations: 0 / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1151, allocations: 4 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1152, allocations: 0 / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1153, allocations: 39.97 kB / 486.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.1158, allocations: 404.7 kB / 487.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.116, allocations: 54.48 kB / 487.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/0.116, allocations: 24.94 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1161, allocations: 7.938 kB / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1161, allocations: 34.56 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1161, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008264/0.1169, allocations: 315.7 kB / 487.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.117, allocations: 55.39 kB / 487.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008269/0.1178, allocations: 0.8614 MB / 488.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1179, allocations: 25.7 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.118, allocations: 216.1 kB / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.118, allocations: 31.62 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1181, allocations: 21.7 kB / 488.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1182, allocations: 366.7 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1183, allocations: 39.95 kB / 489.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.1185, allocations: 35.97 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.1187, allocations: 88.73 kB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1187, allocations: 0 / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003406/0.119, allocations: 161.4 kB / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1191, allocations: 11.94 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1191, allocations: 0 / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1191, allocations: 0 / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1192, allocations: 19.98 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1192, allocations: 0 / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.1193, allocations: 11.92 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.1193, allocations: 8 kB / 489.5 MB, free: 12.26 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.0001745/0.1195, allocations: 217.7 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.1196, allocations: 43.44 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.1199, allocations: 181.4 kB / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.12, allocations: 0 / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.12, allocations: 0 / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.12, allocations: 11.92 kB / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/0.1207, allocations: 0.4984 MB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1207, allocations: 3.984 kB / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.1208, allocations: 23.98 kB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1208, allocations: 0 / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1208, allocations: 3.938 kB / 490.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1208, allocations: 7.938 kB / 490.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1208, allocations: 288 / 490.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.1212, allocations: 258.8 kB / 490.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/0.1213, allocations: 112.5 kB / 490.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1213, allocations: 7.938 kB / 490.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.1214, allocations: 11.98 kB / 490.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1215, allocations: 7.984 kB / 490.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1215, allocations: 4 kB / 490.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005447/0.122, allocations: 0.6511 MB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.122, allocations: 0 / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1223, allocations: 27.98 kB / 491.5 MB, free: 10.1 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.000846/0.1231, allocations: 394.4 kB / 491.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.1234, allocations: 99.84 kB / 492 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1235, allocations: 0 / 492 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.1236, allocations: 47.95 kB / 492.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1239, allocations: 22.31 kB / 492.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.125, allocations: 0.8423 MB / 492.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1254, allocations: 0.8299 MB / 493.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.41e-05/0.1255, allocations: 20.64 kB / 493.8 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.1255, allocations: 19.42 kB / 493.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1255, allocations: 4 kB / 493.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of Templates: time 0.004718/0.1303, allocations: 1.606 MB / 495.4 MB, free: 6.309 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches