Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009623/0.0009624, allocations: 95.77 kB / 18.01 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.00116, allocations: 206.2 kB / 18.93 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 247.5 MB, free: 11.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1871/0.1871, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002602/0.0002602, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1023, allocations: 63.58 MB / 483.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.00198/0.1044, allocations: 1.384 MB / 485.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.1053, allocations: 0.5457 MB / 485.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.1054, allocations: 0 / 485.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.1057, allocations: 47.86 kB / 485.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.1059, allocations: 83.73 kB / 485.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.1063, allocations: 127.4 kB / 485.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1065, allocations: 79.77 kB / 486 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1066, allocations: 16.22 kB / 486 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.1067, allocations: 35.84 kB / 486.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.1068, allocations: 43.83 kB / 486.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1068, allocations: 0 / 486.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1069, allocations: 47.92 kB / 486.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.107, allocations: 19.92 kB / 486.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.107, allocations: 61.42 kB / 486.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1072, allocations: 83.83 kB / 486.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1072, allocations: 0 / 486.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1072, allocations: 0 / 486.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1072, allocations: 0 / 486.3 MB, free: 1.547 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.0004941/0.1077, allocations: 403.4 kB / 486.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1077, allocations: 8.031 kB / 486.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1078, allocations: 12.75 kB / 486.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.108, allocations: 200.1 kB / 486.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.108, allocations: 8.312 kB / 486.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.108, allocations: 4.375 kB / 486.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1082, allocations: 69.8 kB / 487 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1082, allocations: 11.98 kB / 487 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1083, allocations: 4 kB / 487 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1083, allocations: 0 / 487 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.1084, allocations: 43.97 kB / 487.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.1089, allocations: 308.7 kB / 487.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.1091, allocations: 58.55 kB / 487.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.1092, allocations: 36.97 kB / 487.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1093, allocations: 4.031 kB / 487.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1093, allocations: 34.56 kB / 487.5 MB, free: 208 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1093, allocations: 0 / 487.5 MB, free: 208 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00148/0.1108, allocations: 476.7 kB / 488 MB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1108, allocations: 59.34 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.111, allocations: 198.1 kB / 488.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.111, allocations: 25.7 kB / 488.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.1111, allocations: 108 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.1111, allocations: 35.47 kB / 488.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1112, allocations: 21.7 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.1113, allocations: 318.8 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1114, allocations: 51.97 kB / 488.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.1115, allocations: 51.97 kB / 488.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.1118, allocations: 120.8 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1118, allocations: 0 / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003362/0.1122, allocations: 161.8 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1122, allocations: 4 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1122, allocations: 0 / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1122, allocations: 0 / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1123, allocations: 31.92 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1123, allocations: 0 / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.1124, allocations: 27.92 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1124, allocations: 4 kB / 489.1 MB, free: 14.48 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.072e-05/0.1125, allocations: 125.8 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.1126, allocations: 11.81 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.113, allocations: 186.9 kB / 489.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.113, allocations: 7.938 kB / 489.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.113, allocations: 0 / 489.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.113, allocations: 7.984 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.1136, allocations: 492 kB / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1137, allocations: 8.062 kB / 490 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1138, allocations: 31.92 kB / 490 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1138, allocations: 0 / 490 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1138, allocations: 7.984 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1138, allocations: 0 / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1138, allocations: 0 / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.1142, allocations: 276.8 kB / 490.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.1142, allocations: 93.09 kB / 490.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1143, allocations: 7.938 kB / 490.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.1144, allocations: 11.98 kB / 490.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1144, allocations: 11.98 kB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1144, allocations: 4 kB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1146, allocations: 147.2 kB / 490.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1146, allocations: 0 / 490.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1148, allocations: 32 kB / 490.6 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.0009967/0.1158, allocations: 441.4 kB / 491 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.1162, allocations: 131.8 kB / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1162, allocations: 0 / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.1163, allocations: 71.89 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1167, allocations: 19.92 kB / 491.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.1172, allocations: 357.1 kB / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1175, allocations: 0.7083 MB / 492.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.1176, allocations: 19.42 kB / 492.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1176, allocations: 0 / 492.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of Templates: time 0.003583/0.1212, allocations: 1.909 MB / 494.2 MB, free: 9.379 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches