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.0009491/0.0009491, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001087/0.001087, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 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.067/1.067, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.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.01112/0.01112, allocations: 1.992 MB / 263 MB, free: 10.9 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 2.304e-06/2.304e-06, allocations: 0 / 333.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.586e-05, allocations: 5.125 kB / 333.5 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.007931/0.007966, allocations: 7.45 MB / 341 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 7.464e-06/0.007974, allocations: 7.969 kB / 341 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.007999, allocations: 0 / 341 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.008016, allocations: 0 / 341 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.008356, allocations: 96.31 kB / 341.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.917e-06/0.00836, allocations: 0 / 341.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.599e-05/0.008406, allocations: 7.938 kB / 341.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.008454, allocations: 0 / 341.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005155/0.01361, allocations: 45.05 kB / 341.2 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.237e-05/0.01363, allocations: 7.938 kB / 341.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.01364, allocations: 0 / 341.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.247e-06/0.01365, allocations: 0 / 341.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.01366, allocations: 3.938 kB / 341.2 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.01367, allocations: 0 / 341.2 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.623e-05/0.01372, allocations: 4 kB / 341.2 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.01373, allocations: 0 / 341.2 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.01373, allocations: 0 / 341.2 MB, free: 9.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.01373, allocations: 0 / 341.2 MB, free: 9.016 MB / 266.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.0002088/0.01394, allocations: 336.4 kB / 341.5 MB, free: 8.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.01399, allocations: 12.03 kB / 341.5 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.01402, allocations: 0.9375 kB / 341.5 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.38e-05/0.01407, allocations: 116.6 kB / 341.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.01408, allocations: 384 / 341.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.01409, allocations: 384 / 341.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.421e-05/0.01415, allocations: 26.27 kB / 341.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.01416, allocations: 192 / 341.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.01417, allocations: 4.125 kB / 341.7 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.01418, allocations: 4 kB / 341.7 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.058e-05/0.01419, allocations: 3.938 kB / 341.7 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.01438, allocations: 462.8 kB / 342.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/0.01444, allocations: 261.4 kB / 342.4 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.01446, allocations: 126.9 kB / 342.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.01447, allocations: 123.2 kB / 342.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.0145, allocations: 156.5 kB / 342.8 MB, free: 7.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.0145, allocations: 0 / 342.8 MB, free: 7.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.639e-05/0.01456, allocations: 29.64 kB / 342.8 MB, free: 7.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.0146, allocations: 174.6 kB / 343 MB, free: 7.074 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/0.01466, allocations: 149.9 kB / 343.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-06/0.01466, allocations: 25.83 kB / 343.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.0147, allocations: 139.2 kB / 343.3 MB, free: 6.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.0147, allocations: 0 / 343.3 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.01473, allocations: 27.34 kB / 343.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.01478, allocations: 492.1 kB / 343.8 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-06/0.01479, allocations: 0 / 343.8 MB, free: 6.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.01479, allocations: 4 kB / 343.8 MB, free: 6.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.01482, allocations: 15.56 kB / 343.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01482, allocations: 0 / 343.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.845e-05/0.0149, allocations: 29.7 kB / 343.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.01492, allocations: 16.03 kB / 343.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01492, allocations: 0 / 343.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.01493, allocations: 0 / 343.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.01498, allocations: 3.984 kB / 343.8 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.01499, allocations: 0 / 343.8 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.261e-05/0.015, allocations: 4 kB / 343.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.015, allocations: 0 / 343.9 MB, free: 6.129 MB / 266.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 5.839e-05/0.01506, allocations: 271.8 kB / 344.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.0151, allocations: 152.8 kB / 344.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.01513, allocations: 155.8 kB / 344.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.01516, allocations: 276 kB / 344.7 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-05/0.01519, allocations: 276.1 kB / 345 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.01522, allocations: 264.1 kB / 345.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.01536, allocations: 476.5 kB / 345.7 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/0.01538, allocations: 148.9 kB / 345.8 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.01539, allocations: 152.8 kB / 346 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.768e-05/0.01542, allocations: 264.1 kB / 346.2 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.01545, allocations: 272.1 kB / 346.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-05/0.01548, allocations: 268 kB / 346.8 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.954e-05/0.01551, allocations: 268 kB / 347 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.0156, allocations: 451.9 kB / 347.5 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.01562, allocations: 152.9 kB / 347.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.01566, allocations: 268 kB / 347.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/0.01571, allocations: 152.9 kB / 348 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.01575, allocations: 276.2 kB / 348.3 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.01576, allocations: 144.9 kB / 348.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.336e-05/0.01579, allocations: 123.2 kB / 348.6 MB, free: 1.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01579, allocations: 0 / 348.6 MB, free: 1.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.01601, allocations: 0 / 348.6 MB, free: 1.234 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 9.091e-05/0.0161, allocations: 210.4 kB / 348.8 MB, free: 1.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.256e-05/0.01617, allocations: 15.75 kB / 348.8 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01618, allocations: 0 / 348.8 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.01618, allocations: 4 kB / 348.8 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.01646, allocations: 0.71 MB / 349.5 MB, free: 288 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.01682, allocations: 223 kB / 349.7 MB, free: 32 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.959e-05/0.01688, allocations: 51.36 kB / 349.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.199e-05/0.0169, allocations: 0 / 349.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.01694, allocations: 66.2 kB / 349.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01694, allocations: 4.062 kB / 349.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of Templates: time 0.001789/0.01873, allocations: 201 kB / 350 MB, free: 15.7 MB / 282.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.72373792110011]