Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001367/0.001367, allocations: 112.9 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.001597/0.001597, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.487/1.487, allocations: 230.2 MB / 255.2 MB, free: 15.23 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.237/0.237, allocations: 46.88 MB / 358.1 MB, free: 10.5 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8") [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.00232/0.00232, allocations: 83.86 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1421, allocations: 65.98 MB / 0.5568 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003568/0.1457, allocations: 1.615 MB / 0.5584 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1469, allocations: 0.5722 MB / 0.5589 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.147, allocations: 0 / 0.5589 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.1477, allocations: 451.1 kB / 0.5594 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005759/0.1483, allocations: 295.3 kB / 0.5597 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.1488, allocations: 166.6 kB / 0.5598 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.1492, allocations: 171.6 kB / 0.56 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1493, allocations: 11.98 kB / 0.56 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.1494, allocations: 111.8 kB / 0.5601 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.1498, allocations: 243.5 kB / 0.5603 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1498, allocations: 0 / 0.5603 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1499, allocations: 35.91 kB / 0.5604 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.15, allocations: 83.62 kB / 0.5604 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1501, allocations: 99.06 kB / 0.5605 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.1506, allocations: 250.6 kB / 0.5608 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1506, allocations: 3.938 kB / 0.5608 GB, free: 1.816 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1506, allocations: 7.938 kB / 0.5608 GB, free: 1.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.1506, allocations: 0 / 0.5608 GB, free: 1.809 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001053/0.1517, allocations: 0.6452 MB / 0.5614 GB, free: 1.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1517, allocations: 8.031 kB / 0.5614 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.1518, allocations: 48.59 kB / 0.5615 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.1522, allocations: 300.6 kB / 0.5618 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1522, allocations: 384 / 0.5618 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1522, allocations: 4.375 kB / 0.5618 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1524, allocations: 54.25 kB / 0.5618 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1524, allocations: 192 / 0.5618 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1524, allocations: 3.938 kB / 0.5618 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1524, allocations: 0 / 0.5618 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1525, allocations: 27.97 kB / 0.5619 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.1532, allocations: 388.7 kB / 0.5622 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1533, allocations: 34.56 kB / 0.5623 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.1533, allocations: 12.92 kB / 0.5623 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.1534, allocations: 0 / 0.5623 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1534, allocations: 34.55 kB / 0.5623 GB, free: 100 kB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1534, allocations: 0 / 0.5623 GB, free: 100 kB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003522/0.1538, allocations: 109.4 kB / 0.5624 GB, free: 15.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.1538, allocations: 55.53 kB / 0.5625 GB, free: 15.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009868/0.1548, allocations: 0.866 MB / 0.5633 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.1548, allocations: 25.7 kB / 0.5633 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.1551, allocations: 224.1 kB / 0.5635 GB, free: 14.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1551, allocations: 7.891 kB / 0.5635 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.1552, allocations: 13.72 kB / 0.5636 GB, free: 14.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.1554, allocations: 366.7 kB / 0.5639 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.768e-05/0.1555, allocations: 4 kB / 0.5639 GB, free: 14.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.37e-05/0.1555, allocations: 19.98 kB / 0.5639 GB, free: 14.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.1556, allocations: 28.78 kB / 0.564 GB, free: 14.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1556, allocations: 4 kB / 0.564 GB, free: 14.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.1558, allocations: 97.33 kB / 0.5641 GB, free: 14.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.1558, allocations: 6.031 kB / 0.5641 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1558, allocations: 0 / 0.5641 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.1559, allocations: 8 kB / 0.5641 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.156, allocations: 8.094 kB / 0.5641 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.156, allocations: 0 / 0.5641 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.487e-05/0.156, allocations: 7.938 kB / 0.5641 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.156, allocations: 4 kB / 0.5641 GB, free: 14.2 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 (2): * Single equations (assignments): 2 * 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.0002375/0.1563, allocations: 213.7 kB / 0.5643 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.1563, allocations: 39.72 kB / 0.5643 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.1566, allocations: 112.7 kB / 0.5644 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1566, allocations: 7.969 kB / 0.5644 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.1566, allocations: 4 kB / 0.5645 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1566, allocations: 0 / 0.5645 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.157, allocations: 281.5 kB / 0.5647 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.157, allocations: 0 / 0.5647 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.1571, allocations: 7.984 kB / 0.5647 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1571, allocations: 4 kB / 0.5647 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1571, allocations: 0 / 0.5647 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1571, allocations: 0 / 0.5647 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1571, allocations: 0 / 0.5647 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1573, allocations: 199.2 kB / 0.5649 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1574, allocations: 112.8 kB / 0.565 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1575, allocations: 0 / 0.565 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.1575, allocations: 4 kB / 0.565 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.1576, allocations: 0 / 0.565 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1576, allocations: 0 / 0.565 GB, free: 13.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007312/0.1583, allocations: 0.6589 MB / 0.5657 GB, free: 12.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1583, allocations: 4.031 kB / 0.5657 GB, free: 12.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1586, allocations: 16 kB / 0.5657 GB, free: 12.45 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 (2): * Single equations (assignments): 2 * 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.001452/0.16, allocations: 344.9 kB / 0.566 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1602, allocations: 27.98 kB / 0.5661 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.1602, allocations: 4 kB / 0.5661 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.1603, allocations: 15.98 kB / 0.5661 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1607, allocations: 44.55 kB / 0.5661 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.162, allocations: 0.8235 MB / 0.5669 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.1625, allocations: 0.8281 MB / 0.5677 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.1625, allocations: 11.44 kB / 0.5677 GB, free: 10.43 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1625, allocations: 0 / 0.5677 GB, free: 10.43 MB / 430.1 MB Notification: Performance of Templates: time 0.007321/0.1698, allocations: 3.521 MB / 0.5712 GB, free: 6.898 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.051717469003052]