Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001312/0.001312, allocations: 120.8 kB / 19.18 MB, free: 3.887 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.001373/0.001373, allocations: 202.6 kB / 22.13 MB, free: 0.9414 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.49/1.49, allocations: 230.3 MB / 255.2 MB, free: 15.21 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.2428/0.2428, allocations: 46.93 MB / 358.2 MB, free: 10.42 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7") [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.002539/0.002539, allocations: 87.86 kB / 0.4925 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1522, allocations: 65.99 MB / 0.557 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003185/0.1554, allocations: 1.622 MB / 0.5586 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1565, allocations: 0.5411 MB / 0.5591 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.1565, allocations: 0 / 0.5591 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005872/0.1571, allocations: 455.1 kB / 0.5595 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.1576, allocations: 283.3 kB / 0.5598 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1579, allocations: 135 kB / 0.5599 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.1581, allocations: 163.6 kB / 0.5601 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.1582, allocations: 12.12 kB / 0.5601 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.1584, allocations: 107.8 kB / 0.5602 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.1586, allocations: 251.5 kB / 0.5604 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1586, allocations: 4 kB / 0.5604 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.1587, allocations: 24 kB / 0.5605 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1588, allocations: 75.69 kB / 0.5605 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.369e-05/0.1589, allocations: 107 kB / 0.5606 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.1592, allocations: 242.7 kB / 0.5609 GB, free: 1.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1592, allocations: 0 / 0.5609 GB, free: 1.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1592, allocations: 4 kB / 0.5609 GB, free: 1.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1592, allocations: 4 kB / 0.5609 GB, free: 1.527 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.0007565/0.16, allocations: 0.6452 MB / 0.5615 GB, free: 0.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.16, allocations: 8.031 kB / 0.5615 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.643e-05/0.1601, allocations: 44.66 kB / 0.5616 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1604, allocations: 300.6 kB / 0.5618 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1604, allocations: 8.375 kB / 0.5618 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1604, allocations: 384 / 0.5618 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1606, allocations: 46.25 kB / 0.5619 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1606, allocations: 11.88 kB / 0.5619 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1606, allocations: 4 kB / 0.5619 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1606, allocations: 0 / 0.5619 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/0.1607, allocations: 23.92 kB / 0.5619 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.1612, allocations: 372.8 kB / 0.5623 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.1613, allocations: 26.58 kB / 0.5623 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.1613, allocations: 20.91 kB / 0.5623 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1613, allocations: 0 / 0.5623 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1614, allocations: 34.5 kB / 0.5624 GB, free: 15.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.1614, allocations: 0 / 0.5624 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002806/0.1616, allocations: 101.4 kB / 0.5625 GB, free: 15.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.1617, allocations: 55.41 kB / 0.5625 GB, free: 15.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009017/0.1626, allocations: 0.8654 MB / 0.5634 GB, free: 14.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1626, allocations: 25.7 kB / 0.5634 GB, free: 14.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1628, allocations: 224 kB / 0.5636 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.1628, allocations: 7.953 kB / 0.5636 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1628, allocations: 17.7 kB / 0.5636 GB, free: 14.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.163, allocations: 362.7 kB / 0.564 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.1631, allocations: 4 kB / 0.564 GB, free: 14.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.1631, allocations: 11.98 kB / 0.564 GB, free: 14.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.455e-05/0.1632, allocations: 28.84 kB / 0.564 GB, free: 14.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1632, allocations: 4 kB / 0.564 GB, free: 14.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001567/0.1633, allocations: 89.41 kB / 0.5641 GB, free: 13.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1634, allocations: 4 kB / 0.5641 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1634, allocations: 3.938 kB / 0.5641 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1634, allocations: 3.984 kB / 0.5641 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.1634, allocations: 7.984 kB / 0.5641 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1635, allocations: 4.031 kB / 0.5641 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.1635, allocations: 4 kB / 0.5641 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.1635, allocations: 0 / 0.5641 GB, free: 13.96 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.000197/0.1637, allocations: 217.7 kB / 0.5643 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.1638, allocations: 39.72 kB / 0.5644 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.164, allocations: 104.6 kB / 0.5645 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.164, allocations: 0 / 0.5645 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.164, allocations: 4.031 kB / 0.5645 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.164, allocations: 0 / 0.5645 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.1643, allocations: 293.4 kB / 0.5648 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1643, allocations: 0 / 0.5648 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.1643, allocations: 7.984 kB / 0.5648 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1643, allocations: 0 / 0.5648 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1643, allocations: 0 / 0.5648 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1644, allocations: 4 kB / 0.5648 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1644, allocations: 0 / 0.5648 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.1646, allocations: 199.1 kB / 0.565 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.1646, allocations: 104.9 kB / 0.5651 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1647, allocations: 3.984 kB / 0.5651 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.1647, allocations: 4 kB / 0.5651 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.1648, allocations: 0 / 0.5651 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1648, allocations: 4 kB / 0.5651 GB, free: 12.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006495/0.1654, allocations: 0.655 MB / 0.5657 GB, free: 12.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1654, allocations: 0 / 0.5657 GB, free: 12.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1657, allocations: 19.98 kB / 0.5657 GB, free: 12.23 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.00128/0.167, allocations: 348.1 kB / 0.5661 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.1671, allocations: 23.97 kB / 0.5661 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1671, allocations: 0 / 0.5661 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/0.1672, allocations: 15.94 kB / 0.5661 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1675, allocations: 35.08 kB / 0.5661 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1688, allocations: 0.8234 MB / 0.5669 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.1692, allocations: 0.8104 MB / 0.5677 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.1693, allocations: 15.44 kB / 0.5677 GB, free: 10.22 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1693, allocations: 4 kB / 0.5677 GB, free: 10.22 MB / 430.1 MB Notification: Performance of Templates: time 0.007196/0.1765, allocations: 3.464 MB / 0.5711 GB, free: 6.746 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.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.6558419540087925]