Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000978/0.000978, allocations: 98.2 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 203.1 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.7 MB / 247.5 MB, free: 9.332 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1948/0.1948, allocations: 46.19 MB / 345.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002635, allocations: 8.375 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.09896, allocations: 63.56 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.001922/0.1009, allocations: 1.396 MB / 485.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009251/0.1019, allocations: 0.5379 MB / 485.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.1019, allocations: 0 / 485.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.1022, allocations: 59.8 kB / 485.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.1024, allocations: 79.8 kB / 485.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.1028, allocations: 123 kB / 485.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.1029, allocations: 79.75 kB / 486 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.103, allocations: 20.22 kB / 486 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.1031, allocations: 27.8 kB / 486.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.1032, allocations: 47.83 kB / 486.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1032, allocations: 4 kB / 486.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1033, allocations: 43.98 kB / 486.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.1034, allocations: 27.91 kB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.1034, allocations: 57.44 kB / 486.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1036, allocations: 75.88 kB / 486.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1036, allocations: 0 / 486.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1036, allocations: 0 / 486.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1036, allocations: 0 / 486.3 MB, free: 1.523 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.0004535/0.1041, allocations: 407.4 kB / 486.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1041, allocations: 12.03 kB / 486.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.1041, allocations: 8.844 kB / 486.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1043, allocations: 196.1 kB / 486.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1043, allocations: 4.375 kB / 486.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1044, allocations: 4.375 kB / 486.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1045, allocations: 69.73 kB / 487 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1046, allocations: 3.906 kB / 487 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1046, allocations: 4 kB / 487 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1046, allocations: 15.86 kB / 487 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1047, allocations: 43.97 kB / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1051, allocations: 316.7 kB / 487.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1054, allocations: 62.58 kB / 487.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.1055, allocations: 32.97 kB / 487.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1055, allocations: 0 / 487.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.1055, allocations: 34.56 kB / 487.5 MB, free: 176 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1055, allocations: 0 / 487.5 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001531/0.107, allocations: 472.8 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1071, allocations: 55.34 kB / 488 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.1073, allocations: 190.1 kB / 488.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1073, allocations: 25.7 kB / 488.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.1074, allocations: 104.1 kB / 488.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.1074, allocations: 43.45 kB / 488.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.1074, allocations: 9.719 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1075, allocations: 330.8 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1077, allocations: 47.97 kB / 488.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.1078, allocations: 60 kB / 488.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.1081, allocations: 113 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1081, allocations: 4 kB / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003337/0.1084, allocations: 153.5 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1085, allocations: 15.98 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1085, allocations: 3.984 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.1085, allocations: 3.938 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1086, allocations: 35.92 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1086, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.1087, allocations: 15.92 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1087, allocations: 4 kB / 489.1 MB, free: 14.46 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 9.447e-05/0.1088, allocations: 133.8 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.1089, allocations: 7.906 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.1093, allocations: 178.3 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1093, allocations: 3.938 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1093, allocations: 0.5625 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.1093, allocations: 3.938 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/0.11, allocations: 495.9 kB / 489.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.11, allocations: 7.984 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.1101, allocations: 32.05 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1101, allocations: 0 / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1101, allocations: 8 kB / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1101, allocations: 0 / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1101, allocations: 0 / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.1105, allocations: 272.9 kB / 490.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.1106, allocations: 92.91 kB / 490.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1106, allocations: 4 kB / 490.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1107, allocations: 16 kB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.1107, allocations: 11.98 kB / 490.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1108, allocations: 4 kB / 490.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1109, allocations: 143.2 kB / 490.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1109, allocations: 0 / 490.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1112, allocations: 24 kB / 490.5 MB, free: 12.93 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.001002/0.1122, allocations: 458.6 kB / 491 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.1125, allocations: 123.9 kB / 491.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1125, allocations: 0 / 491.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.1127, allocations: 72.03 kB / 491.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.113, allocations: 23.86 kB / 491.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.1136, allocations: 344.9 kB / 491.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1139, allocations: 0.716 MB / 492.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.1139, allocations: 15.44 kB / 492.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1139, allocations: 0 / 492.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of Templates: time 0.003429/0.1174, allocations: 1.9 MB / 494.2 MB, free: 9.383 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches