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.0006391/0.0006391, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008278/0.001467, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006515/0.0006515, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008671/0.001519, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9632/0.9632, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0828/1.046, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01471/0.01471, allocations: 1.989 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00216/0.01687, allocations: 1.219 MB / 247.4 MB, free: 11.55 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 248.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.736e-05, allocations: 9.906 kB / 248.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.008057/0.008075, allocations: 7.56 MB / 256.2 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 9.347e-06/0.008084, allocations: 3.984 kB / 256.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.008101, allocations: 0 / 256.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.704e-06/0.008109, allocations: 0 / 256.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.008394, allocations: 100.3 kB / 256.3 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.606e-06/0.008398, allocations: 4 kB / 256.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.799e-05/0.008446, allocations: 4 kB / 256.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.008492, allocations: 3.938 kB / 256.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01481/0.0233, allocations: 37.97 kB / 256.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.224e-05/0.02332, allocations: 0 / 256.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.02333, allocations: 0 / 256.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.138e-06/0.02334, allocations: 0 / 256.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.02335, allocations: 3.938 kB / 256.4 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.175e-05/0.02336, allocations: 0 / 256.4 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.743e-05/0.02342, allocations: 7.938 kB / 256.4 MB, free: 2.496 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.02343, allocations: 4 kB / 256.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.02343, allocations: 0 / 256.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.02344, allocations: 0 / 256.4 MB, free: 2.492 MB / 250.7 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.0002033/0.02364, allocations: 212.7 kB / 256.6 MB, free: 2.262 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.02368, allocations: 12.03 kB / 256.6 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.02371, allocations: 0.9375 kB / 256.6 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.404e-05/0.02377, allocations: 105.8 kB / 256.7 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.02378, allocations: 384 / 256.7 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.02379, allocations: 4.375 kB / 256.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.965e-05/0.02386, allocations: 26.27 kB / 256.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.02387, allocations: 192 / 256.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.02387, allocations: 8.125 kB / 256.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.02388, allocations: 0 / 256.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.016e-05/0.02389, allocations: 4 kB / 256.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.02412, allocations: 290.8 kB / 257 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.304e-05/0.02418, allocations: 169.1 kB / 257.2 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.02421, allocations: 80.14 kB / 257.3 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.02423, allocations: 79.28 kB / 257.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.02427, allocations: 109.8 kB / 257.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.02427, allocations: 0 / 257.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 5.856e-05/0.02433, allocations: 33.58 kB / 257.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.02437, allocations: 134.7 kB / 257.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.02449, allocations: 98.66 kB / 257.7 MB, free: 1.027 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.0245, allocations: 25.7 kB / 257.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.02453, allocations: 84.09 kB / 257.8 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.02453, allocations: 0 / 257.8 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.02456, allocations: 13.72 kB / 257.8 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.02464, allocations: 318.8 kB / 258.1 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.02464, allocations: 0 / 258.1 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-06/0.02464, allocations: 4 kB / 258.1 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.02467, allocations: 9.047 kB / 258.1 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.02467, allocations: 3.938 kB / 258.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.443e-05/0.02473, allocations: 37.7 kB / 258.2 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.02475, allocations: 4 kB / 258.2 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.02475, allocations: 7.922 kB / 258.2 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.02476, allocations: 3.984 kB / 258.2 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.02481, allocations: 4 kB / 258.2 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.02481, allocations: 0 / 258.2 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.02482, allocations: 0 / 258.2 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.02483, allocations: 3.984 kB / 258.2 MB, free: 496 kB / 250.7 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 6.476e-05/0.02489, allocations: 189.2 kB / 258.4 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.02494, allocations: 112.9 kB / 258.5 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.02498, allocations: 107.9 kB / 258.6 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.808e-05/0.02505, allocations: 176.3 kB / 258.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-05/0.0251, allocations: 188.2 kB / 259 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-05/0.02514, allocations: 176.3 kB / 259.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.02529, allocations: 325.4 kB / 259.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001434/0.02544, allocations: 101 kB / 259.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.02546, allocations: 101.1 kB / 259.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.0255, allocations: 116.9 kB / 259.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-05/0.02554, allocations: 180.3 kB / 259.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.02558, allocations: 184.2 kB / 260.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-05/0.02562, allocations: 180.2 kB / 260.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.005e-05/0.02567, allocations: 176.3 kB / 260.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.02578, allocations: 311.7 kB / 260.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.02583, allocations: 184.2 kB / 261 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.02589, allocations: 101 kB / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.02594, allocations: 192.1 kB / 261.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.02597, allocations: 108.9 kB / 261.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.084e-05/0.02598, allocations: 4.859 kB / 261.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02598, allocations: 4.094 kB / 261.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.02616, allocations: 4 kB / 261.4 MB, free: 13.15 MB / 266.7 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 8.906e-05/0.02625, allocations: 147.6 kB / 261.5 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.658e-05/0.0263, allocations: 12.86 kB / 261.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.0263, allocations: 0 / 261.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.02631, allocations: 0 / 261.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.02654, allocations: 467.6 kB / 262 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.02711, allocations: 153.7 kB / 262.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.02e-05/0.02714, allocations: 55.45 kB / 262.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.143e-05/0.02716, allocations: 7.984 kB / 262.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.02719, allocations: 51.36 kB / 262.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02719, allocations: 0 / 262.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Templates: time 0.001484/0.02868, allocations: 168.5 kB / 262.4 MB, free: 12.05 MB / 266.7 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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.365025700069964]