Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001341/0.001341, allocations: 116.8 kB / 19.17 MB, free: 3.871 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.00154/0.00154, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.547/1.547, allocations: 230.3 MB / 255.2 MB, free: 15.22 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.2584/0.2584, allocations: 46.92 MB / 358.2 MB, free: 10.41 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") [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.002248/0.002248, allocations: 75.88 kB / 0.4925 GB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1436, allocations: 66 MB / 0.557 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003717/0.1473, allocations: 2.066 MB / 0.559 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1494, allocations: 1.122 MB / 0.5601 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1495, allocations: 7.938 kB / 0.5601 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.15, allocations: 271.1 kB / 0.5604 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.1505, allocations: 255.1 kB / 0.5606 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1519, allocations: 0.6448 MB / 0.5612 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.1523, allocations: 362.8 kB / 0.5616 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1525, allocations: 64.7 kB / 0.5616 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1527, allocations: 155.4 kB / 0.5618 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.153, allocations: 231.1 kB / 0.562 GB, free: 352 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.153, allocations: 12 kB / 0.562 GB, free: 340 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.1532, allocations: 104 kB / 0.5621 GB, free: 236 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.1533, allocations: 107.6 kB / 0.5622 GB, free: 128 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.1535, allocations: 122.9 kB / 0.5623 GB, free: 4 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.1539, allocations: 354.4 kB / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1539, allocations: 0 / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1539, allocations: 3.938 kB / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1539, allocations: 0 / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008217/0.1548, allocations: 0.6802 MB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1548, allocations: 9.109 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.1549, allocations: 52.61 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.1553, allocations: 330.5 kB / 0.5637 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.1553, allocations: 8.359 kB / 0.5637 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.1553, allocations: 12.38 kB / 0.5637 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.1556, allocations: 126.1 kB / 0.5639 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1556, allocations: 4.188 kB / 0.5639 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1556, allocations: 7.938 kB / 0.5639 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1556, allocations: 0 / 0.5639 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.1558, allocations: 95.92 kB / 0.564 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007348/0.1566, allocations: 0.508 MB / 0.5645 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.1568, allocations: 110.4 kB / 0.5646 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.1569, allocations: 40.84 kB / 0.5646 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1569, allocations: 0 / 0.5646 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1569, allocations: 34.56 kB / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 8.81e-07/0.1569, allocations: 224 / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001099/0.158, allocations: 452.3 kB / 0.5651 GB, free: 13.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1581, allocations: 55.41 kB / 0.5651 GB, free: 12.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006853/0.1588, allocations: 0.5721 MB / 0.5657 GB, free: 12.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1588, allocations: 29.7 kB / 0.5657 GB, free: 12.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.159, allocations: 216.4 kB / 0.5659 GB, free: 12.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.159, allocations: 51.48 kB / 0.566 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.1591, allocations: 41.7 kB / 0.566 GB, free: 12.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1593, allocations: 350.8 kB / 0.5663 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1594, allocations: 67.86 kB / 0.5664 GB, free: 11.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1596, allocations: 66.14 kB / 0.5665 GB, free: 11.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.1599, allocations: 156.8 kB / 0.5666 GB, free: 11.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1599, allocations: 0 / 0.5666 GB, free: 11.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004274/0.1603, allocations: 243 kB / 0.5668 GB, free: 11.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1603, allocations: 4 kB / 0.5668 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1603, allocations: 4 kB / 0.5669 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1604, allocations: 0 / 0.5669 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1605, allocations: 35.92 kB / 0.5669 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1605, allocations: 3.984 kB / 0.5669 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.1606, allocations: 8 kB / 0.5669 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1606, allocations: 15.94 kB / 0.5669 GB, free: 11.09 MB / 430.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 (17): * Single equations (assignments): 17 * 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.000192/0.1608, allocations: 177.8 kB / 0.5671 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.1609, allocations: 51.59 kB / 0.5671 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.1614, allocations: 273.6 kB / 0.5674 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1615, allocations: 0 / 0.5674 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1615, allocations: 0 / 0.5674 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1615, allocations: 4 kB / 0.5674 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009743/0.1624, allocations: 0.6799 MB / 0.5681 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1624, allocations: 0 / 0.5681 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1626, allocations: 35.92 kB / 0.5681 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1626, allocations: 0 / 0.5681 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1626, allocations: 4 kB / 0.5681 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1626, allocations: 7.984 kB / 0.5681 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1626, allocations: 0 / 0.5681 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.163, allocations: 343 kB / 0.5684 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/0.1631, allocations: 104.9 kB / 0.5685 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.1632, allocations: 4 kB / 0.5685 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.1633, allocations: 8 kB / 0.5685 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.1633, allocations: 7.984 kB / 0.5686 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1633, allocations: 15.92 kB / 0.5686 GB, free: 9.273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004691/0.1638, allocations: 427.1 kB / 0.569 GB, free: 8.863 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1638, allocations: 0 / 0.569 GB, free: 8.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.1641, allocations: 51.92 kB / 0.569 GB, free: 8.812 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 (17): * Single equations (assignments): 17 * 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.002792/0.1669, allocations: 0.6892 MB / 0.5697 GB, free: 8.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.1673, allocations: 172.5 kB / 0.5699 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1673, allocations: 4 kB / 0.5699 GB, free: 8.227 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.1675, allocations: 83.89 kB / 0.5699 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.168, allocations: 77.75 kB / 0.57 GB, free: 8.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1693, allocations: 0.7379 MB / 0.5707 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.1698, allocations: 0.8221 MB / 0.5715 GB, free: 6.453 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.1699, allocations: 35.42 kB / 0.5716 GB, free: 6.422 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1699, allocations: 0 / 0.5716 GB, free: 6.422 MB / 430.1 MB Notification: Performance of Templates: time 0.007742/0.1776, allocations: 4.819 MB / 0.5763 GB, free: 1.605 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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: 8.30479505500989]