Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.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.001722/0.001722, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002133/0.002133, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.02717/0.02717, allocations: 2.81 MB / 316 MB, free: 120 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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(ExternalMedia.Test.TestMedium.TestConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants") translateModel(ExternalMedia.Test.TestMedium.TestConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 67.91 kB / 439.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1283, allocations: 54.17 MB / 494 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.01006/0.1384, allocations: 6.827 MB / 0.4891 GB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 9.257e-06/0.1384, allocations: 3.984 kB / 0.4891 GB, free: 15.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.1384, allocations: 0 / 0.4891 GB, free: 15.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.1384, allocations: 0 / 0.4891 GB, free: 15.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.1388, allocations: 88.44 kB / 0.4892 GB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.168e-06/0.1388, allocations: 0 / 0.4892 GB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.1389, allocations: 3.938 kB / 0.4892 GB, free: 15.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.1389, allocations: 4 kB / 0.4892 GB, free: 15.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0275/0.1664, allocations: 46.73 kB / 0.4893 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.849e-05/0.1664, allocations: 0 / 0.4893 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.1664, allocations: 0 / 0.4893 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-06/0.1664, allocations: 0 / 0.4893 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.1665, allocations: 0 / 0.4893 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.1665, allocations: 0 / 0.4893 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.215e-05/0.1665, allocations: 8 kB / 0.4893 GB, free: 15.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1665, allocations: 0 / 0.4893 GB, free: 15.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1665, allocations: 0 / 0.4893 GB, free: 15.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1665, allocations: 0 / 0.4893 GB, free: 15.58 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003142/0.1669, allocations: 238.4 kB / 0.4895 GB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1669, allocations: 12.02 kB / 0.4895 GB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.1669, allocations: 8.938 kB / 0.4895 GB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.1671, allocations: 106.5 kB / 0.4896 GB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1671, allocations: 384 / 0.4896 GB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-06/0.1671, allocations: 384 / 0.4896 GB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1672, allocations: 37.83 kB / 0.4897 GB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1672, allocations: 0 / 0.4897 GB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.1672, allocations: 0 / 0.4897 GB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1672, allocations: 0 / 0.4897 GB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.1672, allocations: 3.938 kB / 0.4897 GB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.1676, allocations: 331.2 kB / 0.49 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1677, allocations: 177 kB / 0.4901 GB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.1677, allocations: 80.14 kB / 0.4902 GB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.1678, allocations: 75.28 kB / 0.4903 GB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.878e-05/0.1679, allocations: 109.8 kB / 0.4904 GB, free: 14.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.1679, allocations: 0 / 0.4904 GB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.329e-05/0.1679, allocations: 37.7 kB / 0.4904 GB, free: 14.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.168, allocations: 130.6 kB / 0.4906 GB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1681, allocations: 89.86 kB / 0.4906 GB, free: 14.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1682, allocations: 25.7 kB / 0.4907 GB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.1682, allocations: 92.08 kB / 0.4908 GB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.1682, allocations: 0 / 0.4908 GB, free: 13.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.1682, allocations: 9.719 kB / 0.4908 GB, free: 13.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1684, allocations: 318.8 kB / 0.4911 GB, free: 13.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.1684, allocations: 0 / 0.4911 GB, free: 13.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-06/0.1684, allocations: 128 / 0.4911 GB, free: 13.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.1684, allocations: 16.86 kB / 0.4911 GB, free: 13.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1684, allocations: 3.938 kB / 0.4911 GB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.609e-05/0.1685, allocations: 29.7 kB / 0.4911 GB, free: 13.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1686, allocations: 4 kB / 0.4911 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1686, allocations: 0 / 0.4911 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1686, allocations: 3.984 kB / 0.4911 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.1686, allocations: 4 kB / 0.4911 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1686, allocations: 4 kB / 0.4911 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.1686, allocations: 0 / 0.4911 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1687, allocations: 4.031 kB / 0.4911 GB, free: 13.49 MB / 366.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 (1): * Single equations (assignments): 1 * 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.0001251/0.1688, allocations: 189.1 kB / 0.4913 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.1689, allocations: 108.9 kB / 0.4914 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.107e-05/0.1689, allocations: 104 kB / 0.4915 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-05/0.169, allocations: 188.2 kB / 0.4917 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.717e-05/0.1691, allocations: 176.3 kB / 0.4919 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.534e-05/0.1692, allocations: 176.3 kB / 0.492 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.1695, allocations: 364.7 kB / 0.4924 GB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.476e-05/0.1696, allocations: 105 kB / 0.4925 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.1696, allocations: 108.9 kB / 0.4926 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.1698, allocations: 180.3 kB / 0.4928 GB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.648e-05/0.1698, allocations: 180.3 kB / 0.4929 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.101e-05/0.1699, allocations: 188.1 kB / 0.4931 GB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-05/0.17, allocations: 180.3 kB / 0.4933 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.1703, allocations: 307.7 kB / 0.4936 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1703, allocations: 105 kB / 0.4937 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.922e-05/0.1704, allocations: 184.2 kB / 0.4939 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.1705, allocations: 105 kB / 0.494 GB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.1706, allocations: 184.2 kB / 0.4941 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.1707, allocations: 101 kB / 0.4942 GB, free: 10.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.1707, allocations: 79.28 kB / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1707, allocations: 0 / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1709, allocations: 4 kB / 0.4943 GB, free: 10.06 MB / 366.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 (0): * Single equations (assignments): 0 * 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.0001408/0.1711, allocations: 170.4 kB / 0.4945 GB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.379e-05/0.1712, allocations: 7.938 kB / 0.4945 GB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1712, allocations: 0 / 0.4945 GB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.928e-06/0.1712, allocations: 4 kB / 0.4945 GB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1716, allocations: 467.5 kB / 0.4949 GB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.1719, allocations: 182.6 kB / 0.4951 GB, free: 9.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.9e-05/0.172, allocations: 55.52 kB / 0.4952 GB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.172, allocations: 11.44 kB / 0.4952 GB, free: 9.113 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.172, allocations: 0 / 0.4952 GB, free: 9.113 MB / 366.1 MB Notification: Performance of Templates: time 0.001783/0.1738, allocations: 323.9 kB / 0.4955 GB, free: 8.797 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.181309918873012] Failed to read output from testmodel.py, exit status != 0: 0.18224135041236877 0.41686222599999995 0.24713395499999996 Calling exit ...