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.001559/0.001559, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001749/0.001749, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.449/1.449, allocations: 230.3 MB / 255.2 MB, free: 15.17 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.2237/0.2237, allocations: 46.91 MB / 358.2 MB, free: 10.38 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.002472/0.002472, allocations: 79.88 kB / 0.4925 GB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1308, allocations: 66 MB / 0.557 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003252/0.1341, allocations: 1.659 MB / 0.5586 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009/0.135, allocations: 0.6919 MB / 0.5593 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.135, allocations: 0 / 0.5593 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.1352, allocations: 27.84 kB / 0.5593 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1354, allocations: 47.83 kB / 0.5593 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.458e-06/0.1354, allocations: 0 / 0.5593 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1355, allocations: 31.89 kB / 0.5594 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.1356, allocations: 0 / 0.5594 GB, free: 3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.1356, allocations: 11.94 kB / 0.5594 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.1357, allocations: 19.91 kB / 0.5594 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1357, allocations: 4 kB / 0.5594 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.548e-05/0.1357, allocations: 7.938 kB / 0.5594 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.1358, allocations: 19.92 kB / 0.5594 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.1358, allocations: 23.81 kB / 0.5595 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.136, allocations: 71.67 kB / 0.5595 GB, free: 2.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.136, allocations: 0 / 0.5595 GB, free: 2.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.136, allocations: 0 / 0.5595 GB, free: 2.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.136, allocations: 0 / 0.5595 GB, free: 2.844 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.0003902/0.1364, allocations: 367.1 kB / 0.5599 GB, free: 2.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1364, allocations: 12.03 kB / 0.5599 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.1364, allocations: 4.891 kB / 0.5599 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1366, allocations: 180.2 kB / 0.5601 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1366, allocations: 384 / 0.5601 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1366, allocations: 12.36 kB / 0.5601 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1368, allocations: 119.3 kB / 0.5602 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1368, allocations: 192 / 0.5602 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1368, allocations: 3.938 kB / 0.5602 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/0.1369, allocations: 23.98 kB / 0.5602 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.1369, allocations: 51.84 kB / 0.5603 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.1376, allocations: 0.8829 MB / 0.5611 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1378, allocations: 173.2 kB / 0.5613 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.1378, allocations: 88.12 kB / 0.5614 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.1379, allocations: 79.22 kB / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.427e-05/0.1379, allocations: 109.8 kB / 0.5616 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.1379, allocations: 3.938 kB / 0.5616 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.687e-05/0.138, allocations: 41.61 kB / 0.5616 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.1381, allocations: 130.6 kB / 0.5617 GB, free: 372 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1383, allocations: 182.2 kB / 0.5619 GB, free: 180 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1383, allocations: 25.7 kB / 0.5619 GB, free: 148 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1384, allocations: 151.6 kB / 0.5621 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.1384, allocations: 16 / 0.5621 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.1385, allocations: 49.59 kB / 0.5621 GB, free: 15.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1386, allocations: 326.8 kB / 0.5624 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.1387, allocations: 27.98 kB / 0.5624 GB, free: 15.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1388, allocations: 151.4 kB / 0.5626 GB, free: 15.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.139, allocations: 208.9 kB / 0.5628 GB, free: 15.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.139, allocations: 0 / 0.5628 GB, free: 15.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003041/0.1393, allocations: 205.1 kB / 0.563 GB, free: 14.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1393, allocations: 8.625 kB / 0.563 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1393, allocations: 4 kB / 0.563 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1394, allocations: 12 kB / 0.563 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1395, allocations: 39.92 kB / 0.563 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1395, allocations: 7.938 kB / 0.5631 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-05/0.1396, allocations: 27.83 kB / 0.5631 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1396, allocations: 8 kB / 0.5631 GB, free: 14.79 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.0001403/0.1397, allocations: 209 kB / 0.5633 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.1398, allocations: 116.9 kB / 0.5634 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.199e-05/0.1399, allocations: 132.6 kB / 0.5635 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.59e-05/0.1399, allocations: 176.3 kB / 0.5637 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-05/0.14, allocations: 180.2 kB / 0.5639 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.961e-05/0.1401, allocations: 180.2 kB / 0.564 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.1404, allocations: 417.2 kB / 0.5644 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.191e-05/0.1404, allocations: 108.9 kB / 0.5645 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.1405, allocations: 117 kB / 0.5647 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.842e-05/0.1406, allocations: 180.2 kB / 0.5648 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/0.1406, allocations: 176.3 kB / 0.565 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.13e-05/0.1407, allocations: 176.3 kB / 0.5652 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.671e-05/0.1408, allocations: 184.2 kB / 0.5653 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.141, allocations: 323.7 kB / 0.5656 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.141, allocations: 190 kB / 0.5658 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.092e-05/0.1411, allocations: 176.3 kB / 0.566 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1412, allocations: 112.9 kB / 0.5661 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.1413, allocations: 184.3 kB / 0.5663 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.1414, allocations: 104.9 kB / 0.5664 GB, free: 11.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1415, allocations: 128.1 kB / 0.5665 GB, free: 11.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1415, allocations: 0 / 0.5665 GB, free: 11.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1418, allocations: 19.94 kB / 0.5665 GB, free: 11.05 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.0006377/0.1424, allocations: 290.2 kB / 0.5668 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.1426, allocations: 76.09 kB / 0.5669 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1426, allocations: 0 / 0.5669 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1426, allocations: 0 / 0.5669 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.143, allocations: 464.6 kB / 0.5673 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.1433, allocations: 282.6 kB / 0.5676 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1436, allocations: 0.7006 MB / 0.5683 GB, free: 9.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.1437, allocations: 15.44 kB / 0.5683 GB, free: 9.23 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1437, allocations: 0 / 0.5683 GB, free: 9.23 MB / 430.1 MB Notification: Performance of Templates: time 0.002866/0.1466, allocations: 1.304 MB / 0.5696 GB, free: 7.926 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.464216310007032]