Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.00186/0.00186, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.002213/0.002213, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.709/1.709, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2891/0.2891, allocations: 46.92 MB / 357.1 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 59.91 kB / 0.4914 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1498, allocations: 66 MB / 0.5559 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003227/0.153, allocations: 1.624 MB / 0.5575 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1549, allocations: 1.183 MB / 0.5586 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.155, allocations: 0 / 0.5586 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.1552, allocations: 27.84 kB / 0.5586 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.1555, allocations: 79.62 kB / 0.5587 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1559, allocations: 119.7 kB / 0.5588 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.156, allocations: 83.75 kB / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1561, allocations: 15.98 kB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.1562, allocations: 31.86 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.1564, allocations: 43.77 kB / 0.559 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1564, allocations: 8 kB / 0.559 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.1565, allocations: 91.94 kB / 0.5591 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.1566, allocations: 23.92 kB / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.1567, allocations: 31.8 kB / 0.5591 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.1569, allocations: 155.4 kB / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1569, allocations: 0 / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1569, allocations: 4 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1569, allocations: 0 / 0.5593 GB, free: 1.773 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.0005964/0.1575, allocations: 418.7 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1576, allocations: 8.031 kB / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.1576, allocations: 8.891 kB / 0.5597 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1579, allocations: 204.1 kB / 0.5599 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1579, allocations: 384 / 0.5599 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.1579, allocations: 12.38 kB / 0.5599 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1581, allocations: 79.5 kB / 0.56 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1581, allocations: 3.953 kB / 0.56 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1581, allocations: 4 kB / 0.56 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.1582, allocations: 4 kB / 0.56 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1583, allocations: 35.91 kB / 0.56 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.1587, allocations: 308.8 kB / 0.5603 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1589, allocations: 58.58 kB / 0.5604 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1589, allocations: 28.91 kB / 0.5604 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.159, allocations: 0 / 0.5604 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.159, allocations: 34.56 kB / 0.5604 GB, free: 432 kB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.159, allocations: 0 / 0.5604 GB, free: 432 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007533/0.1597, allocations: 205.2 kB / 0.5606 GB, free: 220 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.1598, allocations: 81.11 kB / 0.5607 GB, free: 120 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.1601, allocations: 159.4 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.1601, allocations: 25.7 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.1602, allocations: 100.1 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.1602, allocations: 31.73 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.1603, allocations: 17.72 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1605, allocations: 322.8 kB / 0.5613 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.1606, allocations: 23.98 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1607, allocations: 45.69 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.1609, allocations: 80.78 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1609, allocations: 0 / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003178/0.1612, allocations: 105.6 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1612, allocations: 8 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1612, allocations: 0 / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1612, allocations: 0 / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1613, allocations: 19.98 kB / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1614, allocations: 3.938 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.1614, allocations: 12 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1614, allocations: 0 / 0.5616 GB, free: 15.13 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.0002586/0.1617, allocations: 128 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.1617, allocations: 15.84 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.1621, allocations: 126.6 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1621, allocations: 0 / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.1621, allocations: 3.938 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1621, allocations: 4 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/0.1627, allocations: 406.4 kB / 0.5623 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1627, allocations: 0 / 0.5623 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.1628, allocations: 16.36 kB / 0.5623 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.1628, allocations: 7.938 kB / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1628, allocations: 4 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1628, allocations: 0 / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1628, allocations: 0 / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.1631, allocations: 211.4 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1632, allocations: 89 kB / 0.5626 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1632, allocations: 0 / 0.5626 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.1633, allocations: 8 kB / 0.5626 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.1634, allocations: 7.984 kB / 0.5626 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.1634, allocations: 3.938 kB / 0.5626 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1635, allocations: 125.4 kB / 0.5627 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1635, allocations: 0 / 0.5627 GB, free: 13.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.1638, allocations: 39.88 kB / 0.5628 GB, free: 13.86 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 (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.001855/0.1656, allocations: 499.3 kB / 0.5633 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.1659, allocations: 67.89 kB / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1659, allocations: 0 / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.166, allocations: 39.97 kB / 0.5634 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.1664, allocations: 19.98 kB / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.1671, allocations: 201.9 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.1675, allocations: 0.7002 MB / 0.5643 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.183e-05/0.1676, allocations: 24.89 kB / 0.5643 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.1677, allocations: 27.42 kB / 0.5643 GB, free: 12.42 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1677, allocations: 0 / 0.5643 GB, free: 12.42 MB / 430.1 MB Notification: Performance of Templates: time 0.006303/0.174, allocations: 1.873 MB / 0.5661 GB, free: 10.56 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 5.59432166069746]