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.001332/0.001332, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001497/0.001497, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.0166/0.0166, allocations: 2.796 MB / 316 MB, free: 376 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.002048/0.002048, allocations: 63.91 kB / 439.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.08762, allocations: 54.17 MB / 494.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.008977/0.0966, allocations: 7.446 MB / 0.4898 GB, free: 15.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 1.74e-05/0.09662, allocations: 7.984 kB / 0.4898 GB, free: 15.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.09663, allocations: 4 kB / 0.4898 GB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.09665, allocations: 0 / 0.4898 GB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.09696, allocations: 108.3 kB / 0.4899 GB, free: 15.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.945e-06/0.09696, allocations: 0 / 0.4899 GB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.419e-05/0.09699, allocations: 4 kB / 0.4899 GB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.09703, allocations: 0 / 0.4899 GB, free: 15.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01895/0.116, allocations: 43.08 kB / 0.49 GB, free: 15.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.391e-05/0.116, allocations: 0 / 0.49 GB, free: 15.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.182e-06/0.116, allocations: 0 / 0.49 GB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-06/0.116, allocations: 4 kB / 0.49 GB, free: 15.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.116, allocations: 0 / 0.49 GB, free: 15.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.116, allocations: 7.938 kB / 0.49 GB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 4.455e-05/0.1161, allocations: 0 / 0.49 GB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1161, allocations: 0 / 0.49 GB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1161, allocations: 0 / 0.49 GB, free: 15.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1161, allocations: 0 / 0.49 GB, free: 15.32 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.0002635/0.1164, allocations: 238.4 kB / 0.4902 GB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1164, allocations: 8.031 kB / 0.4902 GB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.1164, allocations: 4.938 kB / 0.4902 GB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/0.1165, allocations: 110.5 kB / 0.4903 GB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1165, allocations: 8.312 kB / 0.4903 GB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1165, allocations: 384 / 0.4903 GB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.515e-05/0.1166, allocations: 41.75 kB / 0.4904 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1166, allocations: 0 / 0.4904 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1166, allocations: 0 / 0.4904 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1166, allocations: 0 / 0.4904 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.469e-05/0.1166, allocations: 0 / 0.4904 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.1169, allocations: 354.5 kB / 0.4907 GB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.117, allocations: 169.1 kB / 0.4909 GB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.1171, allocations: 80.14 kB / 0.4909 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.1171, allocations: 79.27 kB / 0.491 GB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.1172, allocations: 113.9 kB / 0.4911 GB, free: 14.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1172, allocations: 0 / 0.4911 GB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.189e-05/0.1172, allocations: 25.7 kB / 0.4912 GB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.1173, allocations: 134.6 kB / 0.4913 GB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.1174, allocations: 93.86 kB / 0.4914 GB, free: 13.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1174, allocations: 25.7 kB / 0.4914 GB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.1174, allocations: 84.09 kB / 0.4915 GB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.1174, allocations: 0 / 0.4915 GB, free: 13.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.1175, allocations: 13.84 kB / 0.4915 GB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1176, allocations: 322.8 kB / 0.4918 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-06/0.1176, allocations: 3.938 kB / 0.4918 GB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-06/0.1176, allocations: 0 / 0.4918 GB, free: 13.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.1176, allocations: 12.86 kB / 0.4918 GB, free: 13.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1176, allocations: 4 kB / 0.4918 GB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.575e-05/0.1177, allocations: 29.7 kB / 0.4918 GB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1177, allocations: 8.031 kB / 0.4919 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1177, allocations: 4 kB / 0.4919 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1177, allocations: 3.984 kB / 0.4919 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.124e-05/0.1178, allocations: 4 kB / 0.4919 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1178, allocations: 0 / 0.4919 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.085e-05/0.1178, allocations: 0 / 0.4919 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.1178, allocations: 0 / 0.4919 GB, free: 13.19 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.0001053/0.1179, allocations: 189 kB / 0.492 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.118, allocations: 105 kB / 0.4921 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.118, allocations: 115.9 kB / 0.4923 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.119e-05/0.1181, allocations: 176.3 kB / 0.4924 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-05/0.1182, allocations: 180.3 kB / 0.4926 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.192e-05/0.1182, allocations: 184.2 kB / 0.4928 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.1185, allocations: 372.2 kB / 0.4931 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.804e-05/0.1185, allocations: 108.9 kB / 0.4932 GB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.1186, allocations: 109 kB / 0.4933 GB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.122e-05/0.1186, allocations: 176.3 kB / 0.4935 GB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/0.1187, allocations: 184.2 kB / 0.4937 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.109e-05/0.1188, allocations: 180.2 kB / 0.4938 GB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.256e-05/0.1189, allocations: 184.2 kB / 0.494 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.119, allocations: 311.8 kB / 0.4943 GB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1191, allocations: 104.9 kB / 0.4944 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.1191, allocations: 176.3 kB / 0.4946 GB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.1192, allocations: 112.9 kB / 0.4947 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.1193, allocations: 184.2 kB / 0.4949 GB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.1193, allocations: 101 kB / 0.495 GB, free: 9.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.73e-05/0.1194, allocations: 79.22 kB / 0.495 GB, free: 9.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1194, allocations: 0 / 0.495 GB, free: 9.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000216/0.1196, allocations: 4 kB / 0.495 GB, free: 9.73 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.0001025/0.1197, allocations: 166.5 kB / 0.4952 GB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.508e-05/0.1198, allocations: 8.094 kB / 0.4952 GB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1198, allocations: 3.938 kB / 0.4952 GB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.1198, allocations: 0 / 0.4952 GB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1202, allocations: 462.8 kB / 0.4957 GB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.1204, allocations: 190.5 kB / 0.4958 GB, free: 8.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.1207, allocations: 0.6729 MB / 0.4965 GB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.1207, allocations: 11.44 kB / 0.4965 GB, free: 8.164 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1207, allocations: 0 / 0.4965 GB, free: 8.164 MB / 366.1 MB Notification: Performance of Templates: time 0.00162/0.1223, allocations: 323.8 kB / 0.4968 GB, free: 7.848 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: 6.946037103887647] Failed to read output from testmodel.py, exit status != 0: 0.12953631416894495 0.29253232599999995 0.17363201199999995 Calling exit ...