Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 241.8 MB, free: 13.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2102/0.2102, allocations: 44.16 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.39 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1358, allocations: 60.82 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003966/0.1399, allocations: 1.672 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009318/0.1408, allocations: 0.6643 MB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.1409, allocations: 3.938 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.1411, allocations: 31.89 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1413, allocations: 39.91 kB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.1413, allocations: 0 / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1415, allocations: 47.88 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.1416, allocations: 7.984 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.867e-05/0.1416, allocations: 7.938 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.1417, allocations: 19.88 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1417, allocations: 0 / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.806e-05/0.1418, allocations: 19.97 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.1418, allocations: 11.94 kB / 471 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.1419, allocations: 23.8 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.142, allocations: 64.08 kB / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.142, allocations: 4 kB / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.142, allocations: 0 / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.142, allocations: 0 / 471.1 MB, free: 12.19 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004486/0.1425, allocations: 359.4 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1425, allocations: 8.031 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.1426, allocations: 12.84 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1428, allocations: 180.2 kB / 471.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1428, allocations: 384 / 471.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1428, allocations: 12.38 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.143, allocations: 118.1 kB / 471.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.143, allocations: 4.125 kB / 471.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.143, allocations: 3.938 kB / 471.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/0.1431, allocations: 23.98 kB / 471.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.445e-05/0.1432, allocations: 47.91 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.1438, allocations: 0.8945 MB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.1439, allocations: 165.1 kB / 472.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.144, allocations: 84.17 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.144, allocations: 79.22 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.1441, allocations: 105.8 kB / 473.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1441, allocations: 0 / 473.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.47e-05/0.1442, allocations: 37.61 kB / 473.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.1442, allocations: 130.7 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1444, allocations: 182.1 kB / 473.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1444, allocations: 29.64 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1446, allocations: 151.1 kB / 473.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.1446, allocations: 0 / 473.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.1446, allocations: 45.61 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1448, allocations: 322.8 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/0.1448, allocations: 39.86 kB / 474.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.145, allocations: 153.2 kB / 474.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.1452, allocations: 200.9 kB / 474.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1452, allocations: 0 / 474.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000293/0.1455, allocations: 201 kB / 474.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1455, allocations: 8.625 kB / 474.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.1455, allocations: 4 kB / 474.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1455, allocations: 8 kB / 474.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1457, allocations: 39.92 kB / 474.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1457, allocations: 7.938 kB / 474.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.1458, allocations: 27.69 kB / 474.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1458, allocations: 12 kB / 474.8 MB, free: 8.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001353/0.1459, allocations: 217.9 kB / 475 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.146, allocations: 112.8 kB / 475.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.1461, allocations: 120.9 kB / 475.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-05/0.1462, allocations: 188.2 kB / 475.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.874e-05/0.1463, allocations: 180.3 kB / 475.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.098e-05/0.1463, allocations: 180.2 kB / 475.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.1466, allocations: 421.2 kB / 476.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/0.1466, allocations: 108.9 kB / 476.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.1467, allocations: 105 kB / 476.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.932e-05/0.1468, allocations: 188.2 kB / 476.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.1468, allocations: 180.2 kB / 476.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.039e-05/0.1469, allocations: 180.3 kB / 476.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.438e-05/0.147, allocations: 180.2 kB / 477.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.1471, allocations: 311.7 kB / 477.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.1472, allocations: 197.9 kB / 477.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/0.1473, allocations: 176.3 kB / 477.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.1474, allocations: 104.9 kB / 477.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.1475, allocations: 188.3 kB / 478 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.1475, allocations: 105 kB / 478.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.063e-05/0.1476, allocations: 135.1 kB / 478.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1476, allocations: 0 / 478.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1479, allocations: 12 kB / 478.3 MB, free: 4.422 MB / 350.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 (0): * Single equations (assignments): 0 * 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.0004768/0.1484, allocations: 280.4 kB / 478.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.1485, allocations: 80.09 kB / 478.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1486, allocations: 0 / 478.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1486, allocations: 0 / 478.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.149, allocations: 0.5311 MB / 479.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.1494, allocations: 262.9 kB / 479.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1496, allocations: 0.7009 MB / 480.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.1498, allocations: 49.02 kB / 480.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.1499, allocations: 15.44 kB / 480.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1499, allocations: 0 / 480.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Templates: time 0.002688/0.1526, allocations: 0.6618 MB / 480.8 MB, free: 1.855 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches