Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 115.1 kB / 18.46 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 215.2 kB / 21.42 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2565/0.2565, allocations: 46.92 MB / 357.8 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 72.12 kB / 0.4921 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1528, allocations: 65.99 MB / 0.5565 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003342/0.1561, allocations: 1.689 MB / 0.5582 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1574, allocations: 0.5845 MB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.1574, allocations: 8 kB / 0.5588 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006335/0.1581, allocations: 451.1 kB / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.1586, allocations: 287.3 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.1591, allocations: 187.2 kB / 0.5596 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.1593, allocations: 175.7 kB / 0.5598 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1595, allocations: 16.22 kB / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1596, allocations: 119.7 kB / 0.5599 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.1599, allocations: 255.5 kB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1599, allocations: 4 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.16, allocations: 47.98 kB / 0.5602 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1601, allocations: 83.69 kB / 0.5603 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1602, allocations: 114.9 kB / 0.5604 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.1606, allocations: 274.6 kB / 0.5607 GB, free: 1.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1606, allocations: 4 kB / 0.5607 GB, free: 1.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1606, allocations: 0 / 0.5607 GB, free: 1.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1606, allocations: 0 / 0.5607 GB, free: 1.027 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008423/0.1615, allocations: 0.6685 MB / 0.5613 GB, free: 316 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1615, allocations: 8.031 kB / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.1616, allocations: 48.61 kB / 0.5614 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1619, allocations: 305.9 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1619, allocations: 384 / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.1619, allocations: 4.375 kB / 0.5617 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1621, allocations: 64.67 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1621, allocations: 0 / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1621, allocations: 3.984 kB / 0.5618 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-06/0.1621, allocations: 4 kB / 0.5618 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1622, allocations: 39.86 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.1628, allocations: 412.6 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1629, allocations: 46.53 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.163, allocations: 20.94 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.163, allocations: 4 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1631, allocations: 34.56 kB / 0.5623 GB, free: 15.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1631, allocations: 0 / 0.5623 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.00108/0.1641, allocations: 328.5 kB / 0.5626 GB, free: 14.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.1642, allocations: 51.41 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000946/0.1651, allocations: 0.8699 MB / 0.5635 GB, free: 13.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1651, allocations: 25.7 kB / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.1653, allocations: 232 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1654, allocations: 31.73 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1654, allocations: 21.7 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.1656, allocations: 358.8 kB / 0.5641 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.1657, allocations: 35.97 kB / 0.5642 GB, free: 13.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1658, allocations: 28 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.166, allocations: 80.98 kB / 0.5643 GB, free: 13.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.166, allocations: 0 / 0.5643 GB, free: 13.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000276/0.1663, allocations: 149.3 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1663, allocations: 11.94 kB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1663, allocations: 4 kB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1663, allocations: 0 / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1664, allocations: 15.98 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1664, allocations: 4 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.1665, allocations: 4.406 kB / 0.5645 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1665, allocations: 4 kB / 0.5645 GB, free: 12.92 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 (8): * Single equations (assignments): 8 * 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.0002155/0.1667, allocations: 219.9 kB / 0.5647 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.1668, allocations: 51.66 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.1672, allocations: 177.5 kB / 0.5649 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1672, allocations: 3.984 kB / 0.5649 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1672, allocations: 0 / 0.5649 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1672, allocations: 0 / 0.5649 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007203/0.1679, allocations: 0.5148 MB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1679, allocations: 0 / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.961e-05/0.168, allocations: 27.92 kB / 0.5654 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.168, allocations: 0 / 0.5654 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.168, allocations: 7.938 kB / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.168, allocations: 0 / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.168, allocations: 0 / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.1683, allocations: 260 kB / 0.5657 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.1684, allocations: 108.8 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.1684, allocations: 7.938 kB / 0.5658 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.1685, allocations: 11.98 kB / 0.5658 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1686, allocations: 3.938 kB / 0.5658 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1686, allocations: 8 kB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006639/0.1692, allocations: 0.6589 MB / 0.5665 GB, free: 10.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1692, allocations: 0 / 0.5665 GB, free: 10.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.1695, allocations: 35.94 kB / 0.5665 GB, free: 10.72 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001715/0.1712, allocations: 447.1 kB / 0.5669 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.1715, allocations: 83.92 kB / 0.567 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1715, allocations: 3.938 kB / 0.567 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.875e-05/0.1716, allocations: 39.92 kB / 0.567 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.172, allocations: 26.3 kB / 0.5671 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.1733, allocations: 0.8793 MB / 0.5679 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.1739, allocations: 0.8338 MB / 0.5687 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.1739, allocations: 15.44 kB / 0.5688 GB, free: 8.523 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1739, allocations: 0 / 0.5688 GB, free: 8.523 MB / 430.1 MB Notification: Performance of Templates: time 0.008232/0.1822, allocations: 4.05 MB / 0.5727 GB, free: 4.469 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.976163599989377]