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.001121/0.001121, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 79.47 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1181, allocations: 62.44 MB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003418/0.1216, allocations: 1.681 MB / 482.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1227, allocations: 0.5532 MB / 482.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.1228, allocations: 4 kB / 482.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1231, allocations: 55.8 kB / 483 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.1235, allocations: 99.58 kB / 483.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.1239, allocations: 134.9 kB / 483.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1241, allocations: 87.75 kB / 483.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1242, allocations: 12.23 kB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.192e-05/0.1242, allocations: 43.83 kB / 483.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1244, allocations: 39.84 kB / 483.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1244, allocations: 8 kB / 483.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1245, allocations: 55.95 kB / 483.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.1246, allocations: 31.86 kB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.1247, allocations: 27.75 kB / 483.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1249, allocations: 107.7 kB / 483.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1249, allocations: 4 kB / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1249, allocations: 0 / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1249, allocations: 0 / 483.6 MB, free: 2.344 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.0005272/0.1254, allocations: 415.3 kB / 484 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1255, allocations: 12.03 kB / 484 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.1255, allocations: 12.75 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.1257, allocations: 200.1 kB / 484.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.1258, allocations: 8.25 kB / 484.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.1258, allocations: 4.375 kB / 484.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.126, allocations: 69.72 kB / 484.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.126, allocations: 4 kB / 484.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1261, allocations: 4 kB / 484.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1261, allocations: 0 / 484.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1262, allocations: 43.95 kB / 484.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1267, allocations: 304.7 kB / 484.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.1269, allocations: 58.55 kB / 484.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.127, allocations: 28.97 kB / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1271, allocations: 0 / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1271, allocations: 38.59 kB / 484.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1271, allocations: 0 / 484.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001525/0.1286, allocations: 409.2 kB / 485.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1287, allocations: 55.34 kB / 485.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1289, allocations: 198.1 kB / 485.5 MB, free: 336 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1289, allocations: 25.7 kB / 485.5 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.129, allocations: 104 kB / 485.6 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.129, allocations: 43.45 kB / 485.6 MB, free: 152 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.1291, allocations: 17.72 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1292, allocations: 326.8 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1294, allocations: 47.91 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1295, allocations: 39.97 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.1297, allocations: 104.7 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1297, allocations: 0 / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003878/0.1301, allocations: 141.5 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1302, allocations: 10.5 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1302, allocations: 0 / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1302, allocations: 3.984 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1303, allocations: 27.92 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1303, allocations: 0 / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.1304, allocations: 15.98 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1304, allocations: 4 kB / 486.3 MB, free: 15.4 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.95e-05/0.1305, allocations: 129.8 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.1306, allocations: 15.8 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.131, allocations: 154.3 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.131, allocations: 7.938 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.131, allocations: 4 kB / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.131, allocations: 0 / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.1316, allocations: 475.9 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1317, allocations: 7.922 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.1318, allocations: 31.98 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1318, allocations: 4 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1318, allocations: 0 / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1318, allocations: 0 / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1318, allocations: 4 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.1322, allocations: 253 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.1322, allocations: 85.02 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1323, allocations: 7.938 kB / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1324, allocations: 11.98 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.1324, allocations: 7.984 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1324, allocations: 4.125 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1325, allocations: 155.2 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1326, allocations: 0 / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1328, allocations: 20 kB / 487.7 MB, free: 13.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.001053/0.1339, allocations: 457.9 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.1342, allocations: 111.9 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1342, allocations: 0 / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1344, allocations: 55.91 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1348, allocations: 23.92 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.1354, allocations: 318 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1357, allocations: 0.7041 MB / 489.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.1358, allocations: 23.42 kB / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.914e-06/0.1358, allocations: 0 / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of Templates: time 0.00407/0.1398, allocations: 1.942 MB / 491.3 MB, free: 10.41 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