Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001129, allocations: 116 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 205.8 kB / 18.26 MB, free: 5.094 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 / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.11 MB / 343.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001518, allocations: 76.94 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1191, allocations: 62.45 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003035/0.1222, allocations: 1.735 MB / 481.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009297/0.1231, allocations: 0.5494 MB / 481.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.1232, allocations: 0 / 481.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.1235, allocations: 67.84 kB / 481.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.1238, allocations: 91.7 kB / 481.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1241, allocations: 119.4 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1243, allocations: 91.75 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.3e-05/0.1244, allocations: 16.22 kB / 482.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.1244, allocations: 35.86 kB / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1246, allocations: 51.81 kB / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1246, allocations: 8 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1247, allocations: 51.92 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.1248, allocations: 35.89 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1248, allocations: 31.75 kB / 482.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.125, allocations: 115.6 kB / 482.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.125, allocations: 4 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.125, allocations: 0 / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.125, allocations: 0 / 482.5 MB, free: 2.598 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.000532/0.1256, allocations: 423.1 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1256, allocations: 8.031 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.1256, allocations: 12.84 kB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1258, allocations: 210.6 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.1259, allocations: 384 / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.1259, allocations: 12.28 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1261, allocations: 61.8 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1261, allocations: 0 / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1261, allocations: 0 / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1261, allocations: 4 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1263, allocations: 43.89 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.1267, allocations: 304.8 kB / 483.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.1269, allocations: 54.59 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.127, allocations: 28.95 kB / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.127, allocations: 4 kB / 483.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.127, allocations: 38.5 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.127, allocations: 0 / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001439/0.1285, allocations: 396.7 kB / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1285, allocations: 59.34 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1287, allocations: 206.9 kB / 484.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1288, allocations: 29.7 kB / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.1289, allocations: 116 kB / 484.5 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.1289, allocations: 35.45 kB / 484.5 MB, free: 404 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.1289, allocations: 21.72 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1291, allocations: 326.8 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.1292, allocations: 51.97 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1294, allocations: 44.02 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.1296, allocations: 96.75 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1296, allocations: 0 / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003094/0.1299, allocations: 149.5 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.13, allocations: 4 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.13, allocations: 0 / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.13, allocations: 0 / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1301, allocations: 35.86 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.1301, allocations: 4 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.1302, allocations: 7.984 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1302, allocations: 4 kB / 485.2 MB, free: 15.64 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 0.0001125/0.1303, allocations: 133.8 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1304, allocations: 11.81 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.1307, allocations: 174.8 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1308, allocations: 7.938 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1308, allocations: 0.5625 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1308, allocations: 4 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.1314, allocations: 471.9 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1314, allocations: 0 / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1315, allocations: 39.92 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1315, allocations: 4.062 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1316, allocations: 3.984 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1316, allocations: 4 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1316, allocations: 0 / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.132, allocations: 265 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.132, allocations: 88.92 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1321, allocations: 0 / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.1322, allocations: 11.98 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1322, allocations: 8 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1322, allocations: 7.984 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1324, allocations: 160.7 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1327, allocations: 28 kB / 486.6 MB, free: 14.13 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.001062/0.1337, allocations: 448.9 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003417/0.1341, allocations: 119.8 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1341, allocations: 0 / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.1342, allocations: 55.91 kB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1346, allocations: 27.42 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.1353, allocations: 337 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1356, allocations: 0.7158 MB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.166e-05/0.1357, allocations: 12.55 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.1357, allocations: 19.44 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1357, allocations: 4 kB / 488.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004257/0.14, allocations: 1.511 MB / 489.8 MB, free: 11.01 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches