Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 115.8 kB / 18.41 MB, free: 4.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 203.5 kB / 19.36 MB, free: 3.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.1 MB / 344.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 80.69 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1023, allocations: 62.43 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002899/0.1053, allocations: 1.671 MB / 483.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.1063, allocations: 0.5688 MB / 483.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.1063, allocations: 0 / 483.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.1068, allocations: 447.2 kB / 484.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.1072, allocations: 291.3 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.1076, allocations: 143.2 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1078, allocations: 171.6 kB / 484.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1079, allocations: 19.97 kB / 484.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.108, allocations: 115.8 kB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.1083, allocations: 215.5 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1083, allocations: 4 kB / 485.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1084, allocations: 47.98 kB / 485.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.1085, allocations: 83.62 kB / 485.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.1086, allocations: 111 kB / 485.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1089, allocations: 270.9 kB / 485.6 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1089, allocations: 8 kB / 485.6 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1089, allocations: 0 / 485.6 MB, free: 364 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1089, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008056/0.1097, allocations: 0.6414 MB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1098, allocations: 8.031 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.1099, allocations: 44.38 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.1102, allocations: 300.2 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1102, allocations: 384 / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.1103, allocations: 4.375 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1105, allocations: 69.8 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1105, allocations: 3.906 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1105, allocations: 4 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1105, allocations: 0 / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1106, allocations: 31.91 kB / 486.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.1112, allocations: 400.6 kB / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1113, allocations: 50.59 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.1114, allocations: 12.95 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1114, allocations: 3.984 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1114, allocations: 34.56 kB / 487.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1115, allocations: 0 / 487.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009576/0.1124, allocations: 299.9 kB / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1125, allocations: 59.28 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008273/0.1133, allocations: 0.8653 MB / 488.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1133, allocations: 25.7 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1135, allocations: 228 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.1136, allocations: 35.56 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.1136, allocations: 21.72 kB / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1138, allocations: 362.8 kB / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.1139, allocations: 23.98 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.114, allocations: 23.98 kB / 489.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1141, allocations: 68.98 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1142, allocations: 0 / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002327/0.1144, allocations: 137.1 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1144, allocations: 4 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1144, allocations: 4 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1145, allocations: 0 / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1146, allocations: 15.98 kB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1146, allocations: 3.938 kB / 489.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.1147, allocations: 4 kB / 489.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1147, allocations: 11.94 kB / 489.3 MB, free: 12.37 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 (8): * Single equations (assignments): 8 * 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.0001772/0.1149, allocations: 217.8 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.1149, allocations: 43.44 kB / 489.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.1152, allocations: 153.9 kB / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1152, allocations: 4 kB / 489.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1152, allocations: 3.938 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1153, allocations: 3.984 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.1159, allocations: 0.5031 MB / 490.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1159, allocations: 3.938 kB / 490.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.1159, allocations: 19.92 kB / 490.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.116, allocations: 4 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.116, allocations: 4 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.116, allocations: 0 / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.116, allocations: 0 / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1163, allocations: 239.9 kB / 490.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.1164, allocations: 116.5 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.1164, allocations: 0 / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.1165, allocations: 15.98 kB / 490.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.1166, allocations: 7.938 kB / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1166, allocations: 4 kB / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000578/0.1172, allocations: 0.6589 MB / 491.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1172, allocations: 3.938 kB / 491.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1174, allocations: 20 kB / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001109/0.1186, allocations: 456.6 kB / 491.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1188, allocations: 67.89 kB / 491.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1188, allocations: 0 / 491.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.1189, allocations: 35.98 kB / 491.9 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1193, allocations: 30.23 kB / 491.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1204, allocations: 0.812 MB / 492.7 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.1208, allocations: 0.8259 MB / 493.6 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.1208, allocations: 12.42 kB / 493.6 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.1209, allocations: 19.44 kB / 493.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1209, allocations: 0 / 493.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of Templates: time 0.005228/0.1261, allocations: 1.722 MB / 495.3 MB, free: 6.387 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches