Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 214.6 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 230.2 MB / 255.2 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2423/0.2423, allocations: 46.88 MB / 358.1 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 83.86 kB / 0.4924 GB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1355, allocations: 66 MB / 0.5568 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003477/0.139, allocations: 1.651 MB / 0.5584 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000973/0.14, allocations: 0.688 MB / 0.5591 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.14, allocations: 0 / 0.5591 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.1403, allocations: 27.84 kB / 0.5591 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1405, allocations: 47.83 kB / 0.5592 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.759e-06/0.1405, allocations: 0 / 0.5592 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1407, allocations: 31.89 kB / 0.5592 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.1407, allocations: 4 kB / 0.5592 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.1407, allocations: 7.938 kB / 0.5592 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.462e-05/0.1408, allocations: 19.91 kB / 0.5592 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1408, allocations: 0 / 0.5592 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.352e-05/0.1409, allocations: 12 kB / 0.5592 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.1409, allocations: 19.86 kB / 0.5593 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.141, allocations: 23.81 kB / 0.5593 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1411, allocations: 67.67 kB / 0.5593 GB, free: 3.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1411, allocations: 4 kB / 0.5594 GB, free: 3.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1411, allocations: 3.938 kB / 0.5594 GB, free: 3.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1411, allocations: 0 / 0.5594 GB, free: 3.305 MB / 414.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.0004363/0.1416, allocations: 363.2 kB / 0.5597 GB, free: 2.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1416, allocations: 8.031 kB / 0.5597 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.1416, allocations: 12.88 kB / 0.5597 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1418, allocations: 176.2 kB / 0.5599 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1418, allocations: 12.36 kB / 0.5599 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1418, allocations: 8.359 kB / 0.5599 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.142, allocations: 117.7 kB / 0.56 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.142, allocations: 192 / 0.56 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1421, allocations: 7.938 kB / 0.56 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/0.1421, allocations: 27.98 kB / 0.5601 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.1422, allocations: 43.91 kB / 0.5601 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007271/0.1429, allocations: 0.8985 MB / 0.561 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.143, allocations: 169.2 kB / 0.5611 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.1431, allocations: 80.14 kB / 0.5612 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.1431, allocations: 79.22 kB / 0.5613 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.576e-05/0.1432, allocations: 105.8 kB / 0.5614 GB, free: 1.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.1432, allocations: 4 kB / 0.5614 GB, free: 1.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.658e-05/0.1433, allocations: 37.61 kB / 0.5614 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.1433, allocations: 130.7 kB / 0.5616 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1435, allocations: 182.1 kB / 0.5617 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1436, allocations: 29.7 kB / 0.5618 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1437, allocations: 151.5 kB / 0.5619 GB, free: 464 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-06/0.1437, allocations: 0 / 0.5619 GB, free: 464 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.1437, allocations: 45.66 kB / 0.5619 GB, free: 412 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1439, allocations: 326.8 kB / 0.5623 GB, free: 76 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.1439, allocations: 27.98 kB / 0.5623 GB, free: 48 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.1441, allocations: 157.1 kB / 0.5624 GB, free: 15.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.1444, allocations: 208.9 kB / 0.5626 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1444, allocations: 0 / 0.5626 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003225/0.1447, allocations: 197.1 kB / 0.5628 GB, free: 15.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1447, allocations: 12.61 kB / 0.5628 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1447, allocations: 8 kB / 0.5628 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1447, allocations: 8 kB / 0.5628 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1448, allocations: 39.92 kB / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1449, allocations: 7.938 kB / 0.5629 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/0.1449, allocations: 15.89 kB / 0.5629 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.145, allocations: 12 kB / 0.5629 GB, free: 15.27 MB / 430.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.0001473/0.1451, allocations: 217 kB / 0.5631 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.1452, allocations: 116.9 kB / 0.5632 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.05e-05/0.1453, allocations: 128.5 kB / 0.5634 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.959e-05/0.1454, allocations: 184.3 kB / 0.5635 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.833e-05/0.1454, allocations: 176.3 kB / 0.5637 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.544e-05/0.1455, allocations: 180.2 kB / 0.5639 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.1458, allocations: 421.2 kB / 0.5643 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.616e-05/0.1459, allocations: 112.9 kB / 0.5644 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.1459, allocations: 101 kB / 0.5645 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.479e-05/0.146, allocations: 184.2 kB / 0.5647 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.011e-05/0.1461, allocations: 180.2 kB / 0.5648 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.563e-05/0.1462, allocations: 180.3 kB / 0.565 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.836e-05/0.1463, allocations: 184.2 kB / 0.5652 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.1465, allocations: 319.7 kB / 0.5655 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1466, allocations: 194 kB / 0.5657 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.859e-05/0.1467, allocations: 176.3 kB / 0.5658 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1468, allocations: 108.9 kB / 0.5659 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/0.1469, allocations: 184.3 kB / 0.5661 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.1469, allocations: 108.9 kB / 0.5662 GB, free: 11.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.147, allocations: 132.1 kB / 0.5663 GB, free: 11.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.147, allocations: 0 / 0.5663 GB, free: 11.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1473, allocations: 12 kB / 0.5664 GB, free: 11.52 MB / 430.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.0006919/0.148, allocations: 277.9 kB / 0.5666 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.1482, allocations: 75.84 kB / 0.5667 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1482, allocations: 0 / 0.5667 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.1482, allocations: 0 / 0.5667 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1486, allocations: 467.2 kB / 0.5671 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/0.149, allocations: 290.6 kB / 0.5674 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1494, allocations: 0.6928 MB / 0.5681 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1495, allocations: 19.42 kB / 0.5681 GB, free: 9.695 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1495, allocations: 0 / 0.5681 GB, free: 9.695 MB / 430.1 MB Notification: Performance of Templates: time 0.003261/0.1528, allocations: 1.307 MB / 0.5694 GB, free: 8.391 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.639854714041576]