Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 76.62 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1295, allocations: 62.45 MB / 480.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003426/0.133, allocations: 1.669 MB / 482.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1348, allocations: 1.175 MB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.1349, allocations: 0 / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.1351, allocations: 27.78 kB / 483.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.1355, allocations: 83.62 kB / 483.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.1358, allocations: 139 kB / 483.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.136, allocations: 63.84 kB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1361, allocations: 23.91 kB / 483.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.1362, allocations: 27.92 kB / 484 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.1363, allocations: 43.77 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1364, allocations: 4 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1365, allocations: 103.9 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.1366, allocations: 11.98 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.1367, allocations: 31.81 kB / 484.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.1369, allocations: 139.7 kB / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.137, allocations: 3.938 kB / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.137, allocations: 4 kB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.137, allocations: 0 / 484.3 MB, free: 1.707 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005823/0.1376, allocations: 411.4 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1376, allocations: 8.031 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.1377, allocations: 8.844 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1379, allocations: 188.2 kB / 484.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1379, allocations: 4.375 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.138, allocations: 4.375 kB / 484.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1381, allocations: 79.5 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1382, allocations: 0 / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1382, allocations: 4 kB / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1382, allocations: 0 / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.1383, allocations: 35.91 kB / 485 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.1388, allocations: 300.7 kB / 485.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1389, allocations: 42.56 kB / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.139, allocations: 24.94 kB / 485.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.139, allocations: 0 / 485.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.139, allocations: 34.56 kB / 485.4 MB, free: 428 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.967e-06/0.1391, allocations: 0 / 485.4 MB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008107/0.1399, allocations: 217.2 kB / 485.6 MB, free: 204 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.1399, allocations: 89.03 kB / 485.7 MB, free: 96 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1402, allocations: 144.3 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1402, allocations: 33.64 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.1403, allocations: 92.12 kB / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.1403, allocations: 23.66 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.1404, allocations: 29.7 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1405, allocations: 314.8 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1406, allocations: 31.97 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1408, allocations: 45.69 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.141, allocations: 76.83 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.141, allocations: 0 / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002922/0.1413, allocations: 113.5 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1413, allocations: 8 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1413, allocations: 0 / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1414, allocations: 0 / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1415, allocations: 23.98 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1415, allocations: 0 / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.1416, allocations: 11.92 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1416, allocations: 4 kB / 486.6 MB, free: 15.11 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 (7): * Single equations (assignments): 7 * 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.554e-05/0.1417, allocations: 113.8 kB / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.1418, allocations: 7.906 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.1421, allocations: 138.5 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1421, allocations: 0 / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1421, allocations: 4 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1421, allocations: 3.938 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/0.1427, allocations: 390.5 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1427, allocations: 4 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.424e-05/0.1428, allocations: 23.92 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1429, allocations: 0 / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1429, allocations: 7.938 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1429, allocations: 0 / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1429, allocations: 4 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.1432, allocations: 207.4 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.1433, allocations: 85.02 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.1433, allocations: 7.875 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.1434, allocations: 11.98 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.1435, allocations: 7.984 kB / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1435, allocations: 4 kB / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1436, allocations: 109.5 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1436, allocations: 0 / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1439, allocations: 47.98 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001722/0.1456, allocations: 493.6 kB / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003176/0.146, allocations: 83.92 kB / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.146, allocations: 0 / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1461, allocations: 43.91 kB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.1465, allocations: 32.61 kB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.1471, allocations: 215.7 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1474, allocations: 0.6963 MB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.1475, allocations: 15.44 kB / 489.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1475, allocations: 0 / 489.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of Templates: time 0.004348/0.1518, allocations: 2.076 MB / 491.4 MB, free: 10.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches