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.001883/0.001883, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002512/0.002512, allocations: 157.7 kB / 22.76 MB, free: 1.676 MB / 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.471/1.471, allocations: 177.1 MB / 203.1 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.01521/0.01521, allocations: 1.996 MB / 261.5 MB, free: 11.06 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.943e-06/1.943e-06, allocations: 0 / 331.6 MB, free: 17.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.814e-05, allocations: 2.312 kB / 331.6 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.01057/0.0106, allocations: 6.814 MB / 338.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 1.649e-05/0.01062, allocations: 4 kB / 338.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.01063, allocations: 0 / 338.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.01066, allocations: 0 / 338.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.0111, allocations: 96.3 kB / 338.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.0111, allocations: 0 / 338.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.334e-05/0.01114, allocations: 4 kB / 338.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.01118, allocations: 3.938 kB / 338.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0218/0.03298, allocations: 56.11 kB / 338.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.162e-05/0.03301, allocations: 8 kB / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.03302, allocations: 0 / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-06/0.03303, allocations: 0 / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.03303, allocations: 0 / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.03306, allocations: 0 / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.555e-05/0.03313, allocations: 0 / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.03313, allocations: 4 kB / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.03313, allocations: 0 / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.03314, allocations: 0 / 338.6 MB, free: 10.29 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.0002699/0.03341, allocations: 230.5 kB / 338.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.03346, allocations: 11.97 kB / 338.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.03352, allocations: 4.938 kB / 338.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.254e-05/0.03359, allocations: 113.8 kB / 338.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.03361, allocations: 384 / 338.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.03362, allocations: 4.359 kB / 338.9 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.03372, allocations: 26.27 kB / 339 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.03373, allocations: 192 / 339 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.03375, allocations: 4.125 kB / 339 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.03375, allocations: 4 kB / 339 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.644e-05/0.03378, allocations: 3.938 kB / 339 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.03403, allocations: 327.2 kB / 339.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.569e-05/0.03409, allocations: 165.1 kB / 339.4 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.03411, allocations: 84.17 kB / 339.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.03414, allocations: 79.28 kB / 339.6 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.03417, allocations: 117.7 kB / 339.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/0.03417, allocations: 0 / 339.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 9.784e-05/0.03427, allocations: 29.69 kB / 339.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.0343, allocations: 130.7 kB / 339.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/0.03438, allocations: 93.86 kB / 340 MB, free: 8.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.03439, allocations: 25.7 kB / 340 MB, free: 8.715 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.03441, allocations: 84.09 kB / 340.1 MB, free: 8.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.03442, allocations: 4.125 kB / 340.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.03445, allocations: 13.72 kB / 340.1 MB, free: 8.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.0345, allocations: 314.8 kB / 340.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.03451, allocations: 0 / 340.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.03452, allocations: 4 kB / 340.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.03455, allocations: 12.8 kB / 340.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.03455, allocations: 0 / 340.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001238/0.03468, allocations: 37.64 kB / 340.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.03469, allocations: 4 kB / 340.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.0347, allocations: 96 / 340.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.03472, allocations: 4 kB / 340.5 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.03479, allocations: 4 kB / 340.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.03479, allocations: 0 / 340.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.03481, allocations: 0 / 340.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.03482, allocations: 0 / 340.5 MB, free: 8.215 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.315e-05/0.03487, allocations: 189 kB / 340.7 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.03493, allocations: 112.9 kB / 340.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.03496, allocations: 108 kB / 340.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.03498, allocations: 180.2 kB / 341 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.03501, allocations: 180.3 kB / 341.2 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.03503, allocations: 184.2 kB / 341.4 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.03519, allocations: 356.8 kB / 341.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.03521, allocations: 105 kB / 341.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.03523, allocations: 104.9 kB / 342 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.656e-05/0.03525, allocations: 184.2 kB / 342.1 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.03528, allocations: 180.2 kB / 342.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.497e-05/0.0353, allocations: 180.2 kB / 342.5 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-05/0.03533, allocations: 180.3 kB / 342.7 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.502e-05/0.0354, allocations: 307.8 kB / 343 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.03543, allocations: 108.9 kB / 343.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.03547, allocations: 184.2 kB / 343.2 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.03556, allocations: 105 kB / 343.3 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.03559, allocations: 180.2 kB / 343.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.0356, allocations: 113 kB / 343.6 MB, free: 4.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.012e-05/0.03562, allocations: 75.28 kB / 343.7 MB, free: 4.785 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.03562, allocations: 0 / 343.7 MB, free: 4.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004235/0.03605, allocations: 4 kB / 343.7 MB, free: 4.781 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.149e-05/0.03614, allocations: 162.5 kB / 343.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.94e-05/0.03621, allocations: 7.938 kB / 343.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03621, allocations: 4.156 kB / 343.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/0.03621, allocations: 0 / 343.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.03661, allocations: 455.7 kB / 344.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.03686, allocations: 166 kB / 344.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.0369, allocations: 55.36 kB / 344.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.152e-05/0.03692, allocations: 0 / 344.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.03695, allocations: 8.5 kB / 344.6 MB, free: 3.879 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03695, allocations: 0 / 344.6 MB, free: 3.879 MB / 266.7 MB Notification: Performance of Templates: time 0.003377/0.04033, allocations: 185.1 kB / 344.7 MB, free: 3.699 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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.179685699986294]